diff options
Diffstat (limited to 'sys/dev/ida/idavar.h')
-rw-r--r-- | sys/dev/ida/idavar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ida/idavar.h b/sys/dev/ida/idavar.h index 0e3db00..ff5202f 100644 --- a/sys/dev/ida/idavar.h +++ b/sys/dev/ida/idavar.h @@ -119,7 +119,8 @@ struct ida_access { /* * flags for the controller */ -#define IDA_ATTACHED 0x01 /* attached, interrupts okay */ +#define IDA_ATTACHED 0x01 /* attached, interrupts okay */ +#define IDA_FIRMWARE 0x02 /* firmware must be started */ struct ida_softc { device_t dev; @@ -169,7 +170,8 @@ struct idad_softc { struct ida_softc *controller; struct disk disk; struct devstat stats; - int unit; + int drive; /* per controller */ + int unit; /* global */ int cylinders; int heads; int sectors; |