Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 64092 2000-08-01 06:29:55Z mjacob $ */
---
> /* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 65140 2000-08-27 23:38:44Z mjacob $ */
4,8c4
< *---------------------------------------
< * Copyright (c) 1997, 1998, 1999 by Matthew Jacob
< * NASA/Ames Research Center
< * All rights reserved.
< *---------------------------------------
---
> * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
19,20d14
< * 3. The name of the author may not be used to endorse or promote products
< * derived from this software without specific prior written permission.
102,104d95
< volatile u_int16_t : 14,
< islocked : 1,
< intsok : 1;
106a98,104
> u_int8_t drain;
> #ifdef SERVICING_INTERRUPT
> u_int8_t intsok;
> #else
> u_int8_t padding;
> #endif
> volatile u_int32_t islocked;
317,318c315
< if (isp->isp_osinfo.islocked == 0) {
< isp->isp_osinfo.islocked = 1;
---
> if (isp->isp_osinfo.islocked++ == 0) {
329,330c326
< if (isp->isp_osinfo.islocked) {
< isp->isp_osinfo.islocked = 0;
---
> if (--isp->isp_osinfo.islocked == 0) {