From b7e9d50ba785ba45ed74c363d1a791fa875cc8e8 Mon Sep 17 00:00:00 2001 From: Ian McFarlane Date: Sun, 20 Apr 2025 16:02:30 -0400 Subject: add ata_init to main and fix some compilation problems --- kernel/drivers/ata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/drivers/ata.c') diff --git a/kernel/drivers/ata.c b/kernel/drivers/ata.c index 2e9fe28..727d738 100644 --- a/kernel/drivers/ata.c +++ b/kernel/drivers/ata.c @@ -163,8 +163,8 @@ static void ide_channel_write(struct ide_channel *channel, const uint8_t reg, outb(channel->io_base + reg - 0x06, data); } else if (reg < 0x0E) { outb(channel->control_base + reg - 0x0A, data); - // someone on OSdev said this was the correct thing - // https://wiki.osdev.org/Talk:PCI_IDE_Controller + // someone on OSdev said this was the correct thing + // https://wiki.osdev.org/Talk:PCI_IDE_Controller // outb(channel->control_base + reg - 0x0C, data); } else if (reg < 0x16) { outb(channel->bus_master_ide_base + reg - 0x0E, data); -- cgit v1.2.3-freya