> 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
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] USB project
http://www.etla.net/~n_hibma/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message