Message ID | 20090810205605.GB31442@parisc-linux.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/lib/sysfs.c b/lib/sysfs.c index 4c2c846..1ec4afb 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -238,7 +238,6 @@ sysfs_fill_slots(struct pci_access *a) { d->phy_slot = pci_malloc(a, strlen(entry->d_name) + 1); strcpy(d->phy_slot, entry->d_name); - break; } } fclose(file);
I have some multifunction cards in a machine which supports physical slots. Currently, lspci only displays the Physical Slot for the last function in the slot. I believe it should display it for all of them. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>