Move detach operations around a little to simplify (and perhaps get it
right?).  Prompted by Jason, itojun and myself.
Make sure to untimeout() things on detach.
Revoke bpf device on detach.
Add detach support.
implement if_detach code for ne/pcmcia.
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
Cosmetic changes.
- No need to wait in pcic_chip_socket_disable.  It was intended to keep
some period between disable and enable in spec, but is done in
pcic_chip_socket_disable.  And we also disable socket in pcic_deactivate_card,
we should do it in another way if it is really necessary.
- Shorten the wait message so that ps(1) and ps in ddb be happy.
- Replace newly added long delay with sleep.
Unhook the entropy source on detach.
- Check also DVF_ACTIVE bit in dp8390_intr.
- Delete ifmedia instances on detach.
Detach rnd source in ep_detach().  Check for DVF_ACTIVE in epintr();
enami's fix to dp8390 did the trick, it does not hang up any more.
enable detach routine by default.
use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
Support detach.
First cut at a shell script to convert a distrib-style list into a
pkgsrc-style PLIST.
implement cnw_detach.
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach().  otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
handle attach failure in more detail.  make sure to
pcmcia_function_disable() on failure.
handle attach failure in ne/pcmcia more carefully.  (otherwise we'll
have trouble on detach)
Generate usb events on attach and detach.
Generate usb events on attach and detach.
Handle rnd stuff correctly.
Generate usb events on attach and detach.