Fix ATA read.
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
/// @brief Initializes the ATA drivers.
|
||||
/// @return 0 on success, 1 on error.
|
||||
int ata_initialize();
|
||||
|
||||
+372
-320
File diff suppressed because it is too large
Load Diff
+6
-6
@@ -260,12 +260,12 @@ int kmain(boot_info_t *boot_informations)
|
||||
print_ok();
|
||||
|
||||
//==========================================================================
|
||||
#if 0
|
||||
// For debugging, show the list of PCI devices.
|
||||
pci_debug_scan();
|
||||
// Scan for ata devices.
|
||||
ata_initialize();
|
||||
#endif
|
||||
// Scan for ata devices.
|
||||
if (!ata_initialize()) {
|
||||
print_fail();
|
||||
return 1;
|
||||
}
|
||||
print_ok();
|
||||
|
||||
//==========================================================================
|
||||
pr_notice("Setting up keyboard driver...\n");
|
||||
|
||||
Reference in New Issue
Block a user