mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:37:47 +00:00
Kernel: Fix wrong I/O ports for the ATA alternate status registers
The alternate status register is not part of the same set of registers as all the other stuff. Also rename wait_400ns() to io_delay() since we had no guarantee that it was waiting for 400ns..
This commit is contained in:
parent
8cbb38a237
commit
e5500e2a22
2 changed files with 15 additions and 17 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
// Data members
|
||||
u8 m_channel_number { 0 }; // Channel number. 0 = master, 1 = slave
|
||||
u16 m_io_base { 0x1F0 };
|
||||
u16 m_control_base { 0 };
|
||||
volatile u8 m_device_error { 0 };
|
||||
volatile bool m_interrupted { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue