diff options
author | scottl <scottl@FreeBSD.org> | 2003-06-26 00:03:59 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-06-26 00:03:59 +0000 |
commit | 2c94c4118c28e42becd45242eccfb3dbc15e199c (patch) | |
tree | a44cbcf05050fb0e7ea38906671beb724d169bf6 /sys/dev/ips/ips.h | |
parent | 3a0952afbd82dda0c03d4f658194fd1503720a44 (diff) | |
download | FreeBSD-src-2c94c4118c28e42becd45242eccfb3dbc15e199c.zip FreeBSD-src-2c94c4118c28e42becd45242eccfb3dbc15e199c.tar.gz |
- Zero the buffers used to hold configuration data from the card. Not doing
so can leave stale data in the buffer and confuse the driver.
- enable the ability to set the 'disable' hint for the driver to keep it
from attaching. i.e. 'hw.ips.0.disable=1' will prevent the driver from
attaching.
- Only detach if attach suceeded.
Submitted by: mjacob
Diffstat (limited to 'sys/dev/ips/ips.h')
-rw-r--r-- | sys/dev/ips/ips.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ips/ips.h b/sys/dev/ips/ips.h index 888cc40..68b41e5 100644 --- a/sys/dev/ips/ips.h +++ b/sys/dev/ips/ips.h @@ -343,7 +343,8 @@ typedef struct ips_wait_list{ typedef struct ips_softc{ struct resource * iores; struct resource * irqres; - int state; + int configured; + int state; int iotype; int rid; int irqrid; |