2008-04-04 Pavel Roskin <proski@gnu.org>
* commands/lspci.c (grub_lspci_iter): Print the bus number correctly.
This commit is contained in:
parent
4f657021a9
commit
8b088a4c48
2 changed files with 5 additions and 1 deletions
|
@ -120,7 +120,8 @@ grub_lspci_iter (int bus, int dev, int func, grub_pci_id_t pciid)
|
|||
const char *sclass;
|
||||
grub_pci_address_t addr;
|
||||
|
||||
grub_printf ("%02x:%02x.%x %04x:%04x", 0, dev, func, pciid & 0xFFFF, pciid >> 16);
|
||||
grub_printf ("%02x:%02x.%x %04x:%04x", bus, dev, func, pciid & 0xFFFF,
|
||||
pciid >> 16);
|
||||
addr = grub_pci_make_address (bus, dev, func, 2);
|
||||
class = grub_pci_read (addr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue