diff options
Diffstat (limited to 'src/kernel/pci.c')
-rw-r--r-- | src/kernel/pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/kernel/pci.c b/src/kernel/pci.c index fe96c4c..5d8170d 100644 --- a/src/kernel/pci.c +++ b/src/kernel/pci.c @@ -1,8 +1,8 @@ +#include "panic.h" #include "boot.h" -#include "mem.h" #include "util.h" +#include "mem.h" #include "pci.h" -#include "panic.h" enum { PCP_SELECT = 0x0cf8, @@ -59,11 +59,6 @@ void pci_device_check(uint16_t number) { next_device->class = class >> 24; next_device->subclass = class >> 16; next_device->iface = class >> 8; - - next_device->bar0 = pci_read_config(number, 4); - next_device->bar1 = pci_read_config(number, 5); - next_device->bar2 = pci_read_config(number, 6); - next_device->bar3 = pci_read_config(number, 7); } void pci_init() { |