cvs commit: src/sys/dev/an if_an.c
Pawel Jakub Dawidek
nick at garage.freebsd.pl
Wed Aug 20 03:49:52 PDT 2003
On Tue, Aug 19, 2003 at 10:52:48PM -0700, Doug Ambrisko wrote:
+> -#define FLASH_DELAY(x) tsleep(ifp, PZERO, "flash", ((x) / hz) + 1);
+> +#define FLASH_DELAY(_sc, x) AN_UNLOCK(_sc) ; \
+> + tsleep(ifp, PZERO, "flash", ((x) / hz) + 1); \
+> + AN_LOCK(_sc) ;
Proper solution is to use msleep(9), right?
--
Pawel Jakub Dawidek pawel at dawidek.net
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030820/1cc54b6b/attachment-0001.bin
More information about the cvs-src
mailing list