mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
Kernel/Storage: Move ATA device signature definitions to a general file
This commit is contained in:
parent
2c987367e6
commit
7719ef3a61
4 changed files with 14 additions and 10 deletions
|
@ -6,6 +6,17 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
namespace Kernel::ATA {
|
||||
|
||||
enum DeviceSignature : u32 {
|
||||
ATA = 0x00000101,
|
||||
ATAPI = 0xEB140101,
|
||||
EnclosureManagementBridge = 0xC33C0101,
|
||||
PortMultiplier = 0x96690101,
|
||||
Unconnected = 0xFFFFFFFF
|
||||
};
|
||||
}
|
||||
|
||||
#define ATA_SR_BSY 0x80
|
||||
#define ATA_SR_DRDY 0x40
|
||||
#define ATA_SR_DF 0x20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue