Skip to content

Commit

Permalink
Working PCI scanning.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie authored and The XOmB Overlord committed Feb 27, 2010
1 parent 7cf44f8 commit 6a5c818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/dev/pci.d
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ static:
void scanBus(ushort bus) {
// There are a maximum of 32 slots due to the address field layout
PCIDevice current;
kprintfln!("Scanning PCI Bus {}")(bus);

void printDevice() {
kprintfln!("PCI Device ID: {} Vendor ID: {}")(current.deviceID, current.vendorID);
Expand Down

0 comments on commit 6a5c818

Please sign in to comment.