Notice: We have migrated to GitLab launching 2024-05-01 see here:

#608 closed defect (fixed)

Preliminary fix for BusCountPCI()

Reported by: gregory.menke Owned by: Eric Norum
Priority: lowest Milestone: 2
Component: bsps Version: 4.6
Severity: normal Keywords:
Cc: bugs@…, joel.sherrill@… Blocked By:


pcibios.c did not include the BusCountPCI() function required by BSP_pciFindDevice. Patch implements a simplistic bus scanning routine with a sane fallback value in the event it doesn't work right. Needs testing! It compiles OK for me, but I don't have equipment at hand to test it.


shared/i386 bsp's

Attachments (1)

joel-diffs-pr608 (4.0 KB) - added by gregory.menke on 12/03/06 at 13:31:12.

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 05/23/04 at 02:00:05 by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on 05/26/04 at 13:10:02 by Joel Sherrill

Owner: changed from joel to eric

comment:3 Changed on 09/27/04 at 16:25:08 by Joel Sherrill

Status: waitingclosed

State-Changed-From-To: feedback->closed
State-Changed-Why: I tried this at home and the PCI code still managed to find
my NIC. Unfortunately, my NIC turned out to be a DEC21143
clone and did not work but it was found. That is enough to
prove this patch worked.

Changed on 12/03/06 at 13:31:12 by gregory.menke

Attachment: joel-diffs-pr608 added


Note: See TracTickets for help on using tickets.