diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-25 13:15:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-25 13:15:01 +0000 |
commit | d9aad58dcb4f86c7ad5218004362214e6fda8437 (patch) | |
tree | eeab9f63518c09cae042603f4c6e8664f0089844 /perl-install | |
parent | 3b160986804d25f9a4ca32b4693a7e0472545bac (diff) | |
download | drakx-d9aad58dcb4f86c7ad5218004362214e6fda8437.tar drakx-d9aad58dcb4f86c7ad5218004362214e6fda8437.tar.gz drakx-d9aad58dcb4f86c7ad5218004362214e6fda8437.tar.bz2 drakx-d9aad58dcb4f86c7ad5218004362214e6fda8437.tar.xz drakx-d9aad58dcb4f86c7ad5218004362214e6fda8437.zip |
(pci_probe) wrap for readability
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/c/stuff.xs.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index 7b94d7b70..5137153e0 100644 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -264,7 +264,8 @@ pci_probe() 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%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, + 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))); } |