freebsd-skq/sys/dev/my
John Baldwin ca5fc32d02 Fixup locking in if_my(4) and mark it MPSAFE:
- Add locked variants of my_start() and my_init().
- Assert that the lock is held in several places rather than recursing.
- Overhaul failure case handling in my_attach() so that it will actually
  clean up completely in each of the failure cases.
- Setup the interrupt after ether_ifattach() in my_attach().
- Remove unused callout handle from softc.
- Free the metadata for the descriptors my_in detach() (we leaked it
  before).
- Fix locking in my_ioctl().
- Remove spls.

Tested by:	brueffer
MFC after:	3 days
2005-08-16 20:39:30 +00:00
..
if_my.c Fixup locking in if_my(4) and mark it MPSAFE: 2005-08-16 20:39:30 +00:00
if_myreg.h Fixup locking in if_my(4) and mark it MPSAFE: 2005-08-16 20:39:30 +00:00