From 56013d44db2a52f7f7a18e5df97ef2a738bfbe04 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 7 Sep 2005 00:00:16 +0000 Subject: Fix DL100xx based cards. Don't drop resources. It was approrpiate in the probe code that this used to be part of, but as part of the attach, we shouldn't be dropping the resources here. Also, allocate the proper rid in the ax88x90 setup. --- sys/dev/ed/if_ed_pccard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 6a162a518c5a..378e9a01c55b 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -293,7 +293,6 @@ ed_pccard_attach(device_t dev) error = ed_probe_Novell(dev, sc->port_rid, 0); if (error == 0) error = ed_pccard_Linksys(dev); - ed_release_resources(dev); if (error == 0) goto end2; } @@ -581,7 +580,7 @@ ed_pccard_ax88x90(device_t dev) } ax88x90_geteprom(sc); ed_release_resources(dev); - error = ed_probe_Novell(dev, 0, flags); + error = ed_probe_Novell(dev, sc->port_rid, flags); if (error == 0) { sc->vendor = ED_VENDOR_NOVELL; sc->type = ED_TYPE_NE2000; -- cgit v1.3