Index: /trunk/src/VBox/Devices/PC/BIOS-new/pcibio32.asm
===================================================================
--- /trunk/src/VBox/Devices/PC/BIOS-new/pcibio32.asm	(revision 40693)
+++ /trunk/src/VBox/Devices/PC/BIOS-new/pcibio32.asm	(revision 40694)
@@ -134,5 +134,5 @@
 pci_pro_nextdev:
 		inc	ebx
-		cmp	ebx, 10000h
+		cmp	ebx, MAX_BUSDEVFN 
 		jne	pci_pro_devloop
 
@@ -160,5 +160,5 @@
 pci_pro_nextdev2:
 		inc	ebx
-		cmp	ebx, 10000h
+		cmp	ebx, MAX_BUSDEVFN 
 		jne	pci_pro_devloop2
 
Index: /trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc
===================================================================
--- /trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc	(revision 40693)
+++ /trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc	(revision 40694)
@@ -152,5 +152,5 @@
 pci_real_nextdev:
 		inc	ebx
-		cmp	ebx, 10000h
+		cmp	ebx, MAX_BUSDEVFN
 		jne	pci_real_devloop
 
@@ -178,5 +178,5 @@
 pci_real_nextdev2:
 		inc	ebx
-		cmp	ebx, 10000h
+		cmp	ebx, MAX_BUSDEVFN
 		jne	pci_real_devloop2
 
Index: /trunk/src/VBox/Devices/PC/BIOS-new/pcicfg.inc
===================================================================
--- /trunk/src/VBox/Devices/PC/BIOS-new/pcicfg.inc	(revision 40693)
+++ /trunk/src/VBox/Devices/PC/BIOS-new/pcicfg.inc	(revision 40694)
@@ -8,2 +8,3 @@
 PCI_FIXED_HOST_BRIDGE_2 equ	244e8086h	;; ICH9 PCI bridge
 
+MAX_BUSDEVFN		equ	10000h		; Max bus/dev/fn to search
