diff options
author | msmith <msmith@FreeBSD.org> | 2002-01-08 06:47:55 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2002-01-08 06:47:55 +0000 |
commit | e6a5f9545c3ba8dabd44eb6e96e5a1c2f827db6b (patch) | |
tree | 332f945b892432914fcce8780aa02b808bc4b730 /sys/dev/dpt | |
parent | e868bf2df8918addff6d6a00b20bdaf6d6fcf306 (diff) | |
download | FreeBSD-src-e6a5f9545c3ba8dabd44eb6e96e5a1c2f827db6b.zip FreeBSD-src-e6a5f9545c3ba8dabd44eb6e96e5a1c2f827db6b.tar.gz |
Fix a couple of bogus enums.
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r-- | sys/dev/dpt/dpt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h index 8798f76..3fb3a1d 100644 --- a/sys/dev/dpt/dpt.h +++ b/sys/dev/dpt/dpt.h @@ -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 |