Changeset 2045 for Whitix/trunk
- Timestamp:
- 04/03/09 19:05:52 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/devices/pci/pci_core.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/devices/pci/pci_core.c
r2021 r2045 108 108 } 109 109 110 static char* classes[]=111 {112 "Unclassified device",113 "Mass storage controller",114 "Network controller",115 "Display controller",116 "Multimedia controller",117 "Memory controller",118 "Bridge",119 "Communication controller",120 "Generic system peripheral",121 "Input device controller",122 "Docking station",123 "Processor",124 "Serial bus controller",125 "Wireless controller",126 "Intelligent controller",127 "Satellite communications controller",128 "Encryption controller",129 "Signal processing controller",130 };131 132 110 static int PciConvertResFlags(int flags) 133 111 { … … 319 297 if (device->headerType == 1) 320 298 { 321 DWORD bus; 322 323 PciReadConfigDword(device, PCI_PRIMARY_BUS, &bus); 324 325 //PciScanBus(busNumber); 299 DWORD busInfo, busNum; 300 301 PciReadConfigDword(device, PCI_PRIMARY_BUS, &busInfo); 302 303 busNum = (busInfo >> 8) & 0xFF; 304 305 PciScanBus(busNum); 326 306 } 327 307 } … … 438 418 int PciInit() 439 419 { 440 struct Thread* thread;441 420 int type=PciCheckConfig(); 442 421
