1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ssb: Fix the horrible crash of innocent cardbus cards.

No Animals were harmed in the production of this patch.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10497 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb
2008-02-19 16:50:12 +00:00
parent 84296b55ed
commit cb3d8ef339
2 changed files with 119 additions and 0 deletions

View File

@@ -158,6 +158,9 @@ static int bcm47xx_get_invariants(struct ssb_bus *bus, struct ssb_init_invariant
bcm47xx_fill_sprom(&iv->sprom);
if ((s = nvram_get("cardbus")))
iv->has_cardbus_slot = !!simple_strtoul(s, NULL, 10);
return 0;
}