* commands/lspci.c (grub_lspci_iter): Print the bus number correctly.
* commands/lspci.c (grub_pci_classes): Fix typos. (grub_lspci_iter): Don't print func twice. Print vendor ID before device ID, as it's normally done.
* bus/pci.c: New file. * include/grub/pci.h: Likewise. * include/grub/i386/pc/pci.h: Likewise. * commands/lspci.c: Likewise. * conf/i386-pc.rmk (pkglib_MODULES): Add `pci.mod' and `lspci.mod'. (pci_mod_SOURCES): New variable. (pci_mod_CFLAGS): Likewise. (pci_mod_LDFLAGS): Likewise. (lspci_mod_SOURCES): Likewise. (lspci_mod_CFLAGS): Likewise. (lspci_mod_LDFLAGS): Likewise.