kern/100155: Incorrect enumeration in pccbb_pci.c:
cbb_pci_attach(device_t brdev)
Dheeraj Reddy
dheeraj at ece.gatech.edu
Wed Jul 12 09:30:13 UTC 2006
>Number: 100155
>Category: kern
>Synopsis: Incorrect enumeration in pccbb_pci.c: cbb_pci_attach(device_t brdev)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 12 09:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dheeraj Reddy
>Release: 7-Current (11 July 2006)
>Organization:
Gatech/ECE
>Environment:
FreeBSD maniacs2 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Wed Jul 12 04:22:41 EDT 2006 root at maniacs2:/usr/src/sys/i386/compile/MANIACS i386
>Description:
Between the revisions 1.17 and 1.18 of the file pccbb_pci.c
in function cbb_pci_attach
the reassignment
pribus = pcib_get_bus(parent);
was lost
This resulted in wrong bus enumeration and none of my cardbus cards would work.
>How-To-Repeat:
Build a recent kernel on a Dell I5100 and cardbus cards are not recognized.
>Fix:
Adding
sc->pribus=pcib_get_bus(parent);
at line 362 of the file fixes the behavior.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list