Re: Atheros 5212 in 6.1-REL

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 23 May 2006 11:15:19 -0600 (MDT)
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
Received on Tue May 23 2006 - 15:16:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC