summaryrefslogtreecommitdiffstats
path: root/common/cmd_pci.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-19 11:04:11 +0000
committerwdenk <wdenk>2002-11-19 11:04:11 +0000
commitc7de829c796978e519984df2f1c8cfcf921a39a4 (patch)
tree43e42aa9a09f5265783c1622a5cea080471ef50e /common/cmd_pci.c
parent2262cfeef91458b01a1bfe3812ccbbfdf8b82807 (diff)
downloadtalos-obmc-uboot-c7de829c796978e519984df2f1c8cfcf921a39a4.tar.gz
talos-obmc-uboot-c7de829c796978e519984df2f1c8cfcf921a39a4.zip
* Patch by Thomas Frieden, 13 Nov 2002:
Add code for AmigaOne board (preliminary merge to U-Boot, still WIP) * Patch by Jon Diekema, 12 Nov 2002: - Adding URL for IEEE OUI lookup - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED being defined. - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and root-on-nfs macros are designed to switch how the default boot method gets defined.
Diffstat (limited to 'common/cmd_pci.c')
-rw-r--r--common/cmd_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 22e4b9a86f..300ac02004 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -96,7 +96,7 @@ void pciinfo(int BusNum, int ShortPCIListing)
if ((VendorID == 0xFFFF) || (VendorID == 0x0000))
continue;
- pci_read_config_byte(dev, PCI_HEADER_TYPE, &HeaderType);
+ if (!Function) pci_read_config_byte(dev, PCI_HEADER_TYPE, &HeaderType);
if (ShortPCIListing)
{
OpenPOWER on IntegriCloud