summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-30 15:33:07 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-30 15:33:07 +0000
commit96356fb9e2880ee1e5436ef87e9ddd1ced323b06 (patch)
treed9915283b4f87dd6068a68d47c147c3dd347f62d /perl-install/c
parentab0343e9b91320bc20ccfde0196b6e60012ba64d (diff)
downloaddrakx-96356fb9e2880ee1e5436ef87e9ddd1ced323b06.tar
drakx-96356fb9e2880ee1e5436ef87e9ddd1ced323b06.tar.gz
drakx-96356fb9e2880ee1e5436ef87e9ddd1ced323b06.tar.bz2
drakx-96356fb9e2880ee1e5436ef87e9ddd1ced323b06.tar.xz
drakx-96356fb9e2880ee1e5436ef87e9ddd1ced323b06.zip
(pci_probe) better check for PCI Express capability
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 16fdaef80..0f4908d9b 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -263,8 +263,8 @@ pci_probe()
EXTEND(SP, entries.nb);
for (i = 0; i < entries.nb; i++) {
struct pciusb_entry *e = &entries.entries[i];
- snprintf(buf, sizeof(buf), "%04x\t%04x\t%04x\t%04x\t%d\t%d\t%d\t%d\t%d\t%s\t%s\t%s\t%s",
- e->vendor, e->device, e->subvendor, e->subdevice, e->pci_domain, e->pci_bus, e->pci_device, e->pci_function, e->pci_revision,
+ snprintf(buf, sizeof(buf), "%04x\t%04x\t%04x\t%04x\t%d\t%d\t%d\t%d\t%d\t%d\t%s\t%s\t%s\t%s",
+ e->vendor, e->device, e->subvendor, e->subdevice, e->pci_domain, e->pci_bus, e->pci_device, e->pci_function, e->pci_revision, e->is_pciexpress,
pci_class2text(e->class_id), e->class, e->module ? e->module : "unknown", e->text);
PUSHs(sv_2mortal(newSVpv(buf, 0)));
}