aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/ata_pio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/ata_pio.h')
-rw-r--r--src/kernel/fs/ata_pio.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/fs/ata_pio.h b/src/kernel/fs/ata_pio.h
index fa08a0c..bb62805 100644
--- a/src/kernel/fs/ata_pio.h
+++ b/src/kernel/fs/ata_pio.h
@@ -6,16 +6,16 @@
#define BYTES_PER_SECTOR 512
struct ata_interface {
- uint8_t master;
- uint16_t data_port;
- uint16_t error_port;
- uint16_t sector_count_port;
- uint16_t lba_low_port;
- uint16_t lba_mid_port;
- uint16_t lba_high_port;
- uint16_t device_port;
- uint16_t command_port;
- uint16_t control_port;
+ uint8_t master;
+ uint16_t data_port;
+ uint16_t error_port;
+ uint16_t sector_count_port;
+ uint16_t lba_low_port;
+ uint16_t lba_mid_port;
+ uint16_t lba_high_port;
+ uint16_t device_port;
+ uint16_t command_port;
+ uint16_t control_port;
};
struct ata_interface *new_ata(uint8_t master, uint16_t port_base);