driver: init device driver from PCI layer
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
6340e5d450
commit
2340c41a37
6 changed files with 57 additions and 11 deletions
|
|
@ -395,7 +395,7 @@ void ahci_init()
|
|||
list_t dev_list;
|
||||
list_create(&dev_list);
|
||||
|
||||
driver_register("ahci", DRIVER_PCI, ahci_init_device, NULL, 1, 6);
|
||||
driver_register("ahci", DRIVER_PCI, ahci_init_device, NULL, pci_driver_class(1, 6, 1));
|
||||
|
||||
krdy("AHCI ready\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue