* 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.
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 22e4b9a..300ac02 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -96,7 +96,7 @@
 			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)
 			{