[PATCH] Convert scsi_low from timeout(9) to callout(9)

John Baldwin jhb at freebsd.org
Fri Aug 31 18:30:37 UTC 2012


I have a patch to convert the scsi_low code from using the deprecated 
timeout(9) API to using callout(9) instead.  Is anyone able to review or test 
this patch?  I have not attempted to add locking to scsi_low as I don't know 
it well enough to know the various entry/exit points, etc.  Also, it still has 
a lot of compat shims to work on NetBSD.  I can't seem to find a scsi_low.c on 
NetBSD at all anymore.  Do we still need NetBSD compat shims?  If not, 
trimming those would make this code far more readable.

http://www.FreeBSD.org/~jhb/patches/scsi_low_callout.patch

-- 
John Baldwin


More information about the freebsd-scsi mailing list