Patch to fix locking nits in hme

John Baldwin jhb at
Thu Aug 4 16:54:37 GMT 2005

I have a patch to fix several nits in the hme(4) driver's locking including:

- Using the driver lock instead of Giant in a busdma callback.
- Using callout_drain() in detach.
- Locking access to the mii registers with the driver lock.
- Clearing the RUNNING and OACTIVE flags in stop.
- Re-enabling updating the media from hme_init_locked().
- Making the mutex non-recursive.
- Fixing locking in ioctl.

Patch is at

John Baldwin <jhb at>  <><
"Power Users Use the Power to Serve"  =

More information about the freebsd-sparc64 mailing list