ahci: load AHCI as module
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
e8effb194e
commit
cb2c3e1053
6 changed files with 74 additions and 13 deletions
|
|
@ -392,11 +392,8 @@ static int ahci_init_device(struct pci_device *device)
|
|||
|
||||
void ahci_init()
|
||||
{
|
||||
list_t dev_list;
|
||||
list_create(&dev_list);
|
||||
|
||||
driver_register("ahci", DRIVER_PCI, ahci_init_device, NULL, pci_driver_class(1, 6, 1));
|
||||
|
||||
krdy("AHCI ready\n");
|
||||
}
|
||||
DRIVER_ENTRY_PRIORITY(ahci_init, 2);
|
||||
DRIVER_ALIAS("pci:010601");
|
||||
|
|
|
|||
Loading…
Reference in a new issue