Fix a couple of bogus enums.
This commit is contained in:
parent
21550f28f8
commit
4ce44e2302
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89056
@ -226,7 +226,7 @@ typedef void *physaddr;
|
||||
* Beware of this enumeration. Not all commands are in sequence!
|
||||
*/
|
||||
|
||||
enum {
|
||||
enum dpt_immediate_cmd {
|
||||
EATA_GENERIC_ABORT,
|
||||
EATA_SPECIFIC_RESET,
|
||||
EATA_BUS_RESET,
|
||||
@ -238,7 +238,7 @@ enum {
|
||||
EATA_SCSI_BUS_OFFLINE,
|
||||
EATA_RESET_MASKED_BUS,
|
||||
EATA_POWER_OFF_WARN
|
||||
} dpt_immediate_cmd;
|
||||
};
|
||||
|
||||
#define HA_CTRLREG 0x206 /* control register for HBA */
|
||||
#define HA_CTRL_DISINT 0x02 /* CTRLREG: disable interrupts */
|
||||
@ -276,7 +276,7 @@ enum {
|
||||
* Message definitions
|
||||
*/
|
||||
|
||||
enum {
|
||||
enum dpt_message {
|
||||
HA_NO_ERROR, /* No Error */
|
||||
HA_ERR_SEL_TO, /* Selection Timeout */
|
||||
HA_ERR_CMD_TO, /* Command Timeout */
|
||||
@ -299,7 +299,7 @@ enum {
|
||||
HA_PCI_MABORT, /* PCI Master Abort */
|
||||
HA_PCI_TABORT, /* PCI Target Abort */
|
||||
HA_PCI_STABORT /* PCI Signaled Target Abort */
|
||||
} dpt_message;
|
||||
};
|
||||
|
||||
#define HA_STATUS_MASK 0x7F
|
||||
#define HA_IDENTIFY_MSG 0x80
|
||||
|
Loading…
Reference in New Issue
Block a user