Kernel: ATABuses are but to compatibility mode if possible

I don't support native mode ata bus (irq sharing) so ata buses are
but to compatibility mode if possible.
This commit is contained in:
2023-10-16 16:56:12 +03:00
parent c4a640bcb6
commit 0c88c74b76
2 changed files with 18 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
#pragma once
#define ATA_PROGIF_PRIMARY_NATIVE (1 << 0)
#define ATA_PROGIF_SECONDARY_NATIVE (1 << 2)
#define ATA_PROGIF_PRIMARY_NATIVE (1 << 0)
#define ATA_PROGIF_CAN_MODIFY_PRIMARY_NATIVE (1 << 1)
#define ATA_PROGIF_SECONDARY_NATIVE (1 << 2)
#define ATA_PROGIF_CAN_MODIFY_SECONDARY_NATIVE (1 << 3)
#define ATA_PORT_DATA 0x00
#define ATA_PORT_ERROR 0x00