mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
Kernel/Storage: Move ATA device signature definitions to a general file
This commit is contained in:
parent
2c987367e6
commit
7719ef3a61
Notes:
sideshowbarker
2024-07-17 08:47:08 +09:00
Author: https://github.com/supercomputer7
Commit: 7719ef3a61
Pull-request: https://github.com/SerenityOS/serenity/pull/11081
Reviewed-by: https://github.com/Panky-codes
Reviewed-by: https://github.com/linusg ✅
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