diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-09-23 18:08:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-09-23 18:08:57 +0000 |
commit | 89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535 (patch) | |
tree | fd0a3442b5fbd8ad34680201625cd19dd7999306 /perl-install/c/stuff.xs.pl | |
parent | 20bcae655bd8d303b499aa0c6eb7990b1277ff5e (diff) | |
download | drakx-89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535.tar drakx-89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535.tar.gz drakx-89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535.tar.bz2 drakx-89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535.tar.xz drakx-89c3767a3a6ec7317a0d2d91bbafe5dcafe2d535.zip |
(pci_probe__real,c::pci_probe) retrieve PCI revision (#42576)
(needs ldetect >= 0.9)
Diffstat (limited to 'perl-install/c/stuff.xs.pl')
-rw-r--r-- | perl-install/c/stuff.xs.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index 66971600d..16fdaef80 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%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, + 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, pci_class2text(e->class_id), e->class, e->module ? e->module : "unknown", e->text); PUSHs(sv_2mortal(newSVpv(buf, 0))); } |