i386/5048: pciprobe in the second-stage bootstrap does not work correctly
>Synopsis: pciprobe in the second-stage bootstrap does not work correctly
>Arrival-Date: Sat Mar 11 07:30:02 GMT 2006
>Originator: Yuichiro Goto
System : OpenBSD 3.8
Machine : i386
pciprobe in the second-stage bootstrap does not work correctly, because
it does not deal with carry flag correctly after BIOS call INT 0x1A.
Boot i386 systems.
In the inline assembly code found in the src/sys/arch/i386/stand/libsa/pciprobe.c, carry flag
is set to the least-significant byte of the variable rc and number of last PCI bus in system,
content of the CL register, is set to the next least-significant byte of rc after BIOS call INT
0x1A, so "rc & 0xff00" is non-zero in systems that PCI BIOS is installed.