Date: Tue, 23 May 2006 11:15:19 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: michal.vanco@satro.sk Cc: freebsd-current@FreeBSD.ORG Subject: Re: Atheros 5212 in 6.1-REL Message-ID: <20060523.111519.59744682.imp@bsdimp.com> In-Reply-To: <200605231904.52081.michal.vanco@satro.sk> References: <200605231552.08317.michal.vanco@satro.sk> <20060523.084445.74659709.imp@bsdimp.com> <200605231904.52081.michal.vanco@satro.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
Try the following hack:
Index: pccbb_pci.c
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/pccbb/pccbb_pci.c,v
retrieving revision 1.15
diff -c -r1.15 pccbb_pci.c
*** pccbb_pci.c 8 Oct 2005 06:58:51 -0000 1.15
--- pccbb_pci.c 23 May 2006 17:13:31 -0000
***************
*** 300,306 ****
static int
cbb_pci_attach(device_t brdev)
{
- static int curr_bus_number = 2; /* XXX EVILE BAD (see below) */
+ static int curr_bus_number = 3; /* XXX EVILE BAD (see below) */
struct cbb_softc *sc = (struct cbb_softc *)device_get_softc(brdev);
int rid, bus, pribus;
device_t parent;
and let me know if that helps. Looks like two bridges are claiming to
have a bus 2 on them.
The other problem may be related to where we map the CIS of the card
to read it in. However, IIRC, 6.1 doesn't consider mapping failure to
be a problem at all... If the above doesn't help, that's the next
line of attack.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060523.111519.59744682.imp>
