Some enum definitions were also defining variables.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37197 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-06-21 16:13:47 +00:00
parent 0a35130cc6
commit e7a5527b53
+3 -3
View File
@@ -256,7 +256,7 @@ enum {
ide_status_df = 0x20, // packet: disk failure ide_status_df = 0x20, // packet: disk failure
ide_status_drdy = 0x40, // device ready ide_status_drdy = 0x40, // device ready
ide_status_bsy = 0x80 // busy ide_status_bsy = 0x80 // busy
} ide_status_mask; }; // ide_status_mask
// device control register // device control register
enum { enum {
@@ -266,7 +266,7 @@ enum {
ide_devctrl_bit3 = 0x08, // don't know, but must be set ide_devctrl_bit3 = 0x08, // don't know, but must be set
// bits inbetween are reserved // bits inbetween are reserved
ide_devctrl_hob = 0x80 // read high order byte (for 48-bit lba) ide_devctrl_hob = 0x80 // read high order byte (for 48-bit lba)
} ide_devcntrl_mask; }; // ide_devcntrl_mask
// error register - most bits are command specific // error register - most bits are command specific
enum { enum {
@@ -286,7 +286,7 @@ enum {
ide_error_idnf = 0x10, // CHS translation not init./ invalid CHS address ide_error_idnf = 0x10, // CHS translation not init./ invalid CHS address
ide_error_mcr = 0x08, // media change requested ide_error_mcr = 0x08, // media change requested
ide_error_nm = 0x02, // no media (for removable media devices) ide_error_nm = 0x02, // no media (for removable media devices)
} ide_error_mask; }; // ide_error_mask
typedef struct ide_channel_info *ide_channel_cookie; typedef struct ide_channel_info *ide_channel_cookie;