Date: Tue, 7 Dec 1999 14:20:16 +0100 (CET) From: Nick Hibma <hibma@skylink.it> To: Warner Losh <imp@village.org> Cc: FreeBSD CURRENT Mailing List <current@FreeBSD.ORG> Subject: ed driver, resources not released (was: Re: PCCARD eject freeze) Message-ID: <Pine.BSF.4.20.9912032245510.268-100000@henny.jrc.it> In-Reply-To: <199912010755.AAA00462@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> I've cleaned this up, worked it around, and managed to insert and > eject my ep card 5 times in a row on my desktop kludge environment. > It even appeared to be working. Don't know if this will work on a Hm, The machine is not crashing at the moment when unplugging the device. But plugging it back in gives me a 'No free configuration for card Ethernet' ('Ethernet' being the quite splendid name of the card in the CIS). A quick browse reveals the following difference between ep and ed. It doesn't have any effect however. Let me know if I can test anything. I'd like to get that working, but don't have the time to dig into this (utun driver is more important :) Nick Index: if_ed_pccard.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ed/if_ed_pccard.c,v retrieving revision 1.6 diff -u -w -r1.6 if_ed_pccard.c --- if_ed_pccard.c 1999/11/20 05:16:13 1.6 +++ if_ed_pccard.c 1999/12/03 22:04:06 @@ -91,6 +91,7 @@ ifp->if_flags &= ~IFF_RUNNING; if_down(ifp); bus_teardown_intr(dev, sc->irq_res, &sc->irq_handle); + ed_release_resources(dev); sc->gone = 1; device_printf(dev, "unload\n"); } Nick -- hibma@skylink.it n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9912032245510.268-100000>