Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 09:23:08 GMT
From:      Dheeraj Reddy <dheeraj@ece.gatech.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/100155: Incorrect enumeration in pccbb_pci.c: cbb_pci_attach(device_t brdev)
Message-ID:  <200607120923.k6C9N8G5081954@www.freebsd.org>
Resent-Message-ID: <200607120930.k6C9UCwh057823@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607120923.k6C9N8G5081954>