diff --git a/headers/private/drivers/ide_types.h b/headers/private/drivers/ide_types.h index 2bf9d7ee17..3177b5d652 100644 --- a/headers/private/drivers/ide_types.h +++ b/headers/private/drivers/ide_types.h @@ -1,20 +1,15 @@ /* -** Copyright 2002/03, Thomas Kurschel. All rights reserved. -** Distributed under the terms of the OpenBeOS License. -*/ - -/* - Part of Open IDE bus manager - - IDE bus manager interface -*/ - + * Copyright 2002/03, Thomas Kurschel. All rights reserved. + * Distributed under the terms of the MIT License. + */ #ifndef __IDE_TYPES_H__ #define __IDE_TYPES_H__ + #include #include + // IDE task file. // contains the command block interpreted under different conditions with // first byte being first command register, second byte second command register @@ -239,14 +234,12 @@ enum { // for 48 bits, the following flags tell which registers to load twice ide_mask_features_48 = 0x80 | ide_mask_features, - ide_mask_sector_count_48 = 0x80 | ide_mask_sector_count, - ide_mask_LBA_low_48 = 0x100 | ide_mask_LBA_low, - ide_mask_LBA_mid_48 = 0x200 | ide_mask_LBA_mid, - ide_mask_LBA_high_48 = 0x400 | ide_mask_LBA_high, + ide_mask_sector_count_48 = 0x100 | ide_mask_sector_count, + ide_mask_LBA_low_48 = 0x200 | ide_mask_LBA_low, + ide_mask_LBA_mid_48 = 0x400 | ide_mask_LBA_mid, + ide_mask_LBA_high_48 = 0x800 | ide_mask_LBA_high, - ide_mask_HOB = 0x780 - - //ide_mask_all = 0x7f + ide_mask_HOB = 0xf80 }; // ide_reg_mask // status register