void hd_scan_sysfs_pci(hd_data_t *hd_data) { if(!hd_probe_feature(hd_data, pr_pci)) return; hd_data->module = mod_pci; /* some clean-up */ remove_hd_entries(hd_data); hd_data->pci = NULL; PROGRESS(1, 0, "sysfs drivers"); hd_sysfs_driver_list(hd_data); PROGRESS(2, 0, "get sysfs pci data"); hd_pci_read_data(hd_data); if(hd_data->debug) dump_pci_data(hd_data); add_pci_data(hd_data); PROGRESS(3, 0, "macio"); hd_read_macio(hd_data); PROGRESS(3, 0, "vio"); hd_read_vio(hd_data); }
void hd_scan_sysfs_pci(hd_data_t *hd_data) { if(!hd_probe_feature(hd_data, pr_pci)) return; hd_data->module = mod_pci; /* some clean-up */ remove_hd_entries(hd_data); hd_data->pci = NULL; PROGRESS(1, 0, "sysfs drivers"); hd_sysfs_driver_list(hd_data); PROGRESS(2, 0, "get sysfs pci data"); hd_pci_read_data(hd_data); if(hd_data->debug) dump_pci_data(hd_data); add_pci_data(hd_data); PROGRESS(3, 0, "macio"); hd_read_macio(hd_data); PROGRESS(4, 0, "vio"); hd_read_vio(hd_data); PROGRESS(5, 0, "xen"); hd_read_xen(hd_data); PROGRESS(6, 0, "ps3"); hd_read_ps3_system_bus(hd_data); PROGRESS(7, 0, "platform"); hd_read_platform(hd_data); PROGRESS(8, 0, "of_platform"); hd_read_of_platform(hd_data); PROGRESS(9, 0, "vm"); hd_read_vm(hd_data); PROGRESS(10, 0, "virtio"); hd_read_virtio(hd_data); PROGRESS(11, 0, "ibmebus"); hd_read_ibmebus(hd_data); PROGRESS(12, 0, "uisvirtpci"); hd_read_uisvirtpci(hd_data); }