Kernel: Rework whole ATA driver structure
Make ATA driver more compatible when we are adding SATA support
This commit is contained in:
@@ -202,7 +202,7 @@ namespace Kernel
|
||||
}
|
||||
|
||||
auto ref_ptr = BAN::RefPtr<SerialTTY>::adopt(tty);
|
||||
DevFileSystem::get().add_device(ref_ptr->name(), ref_ptr);
|
||||
DevFileSystem::get().add_device(ref_ptr);
|
||||
if (serial.port() == COM1_PORT)
|
||||
s_com1 = ref_ptr;
|
||||
if (serial.port() == COM2_PORT)
|
||||
|
||||
Reference in New Issue
Block a user