wi(4)/mini-PCI senao / not always initialized on boot.

M. Warner Losh imp at bsdimp.com
Mon May 12 21:43:42 PDT 2003


In message: <20030512005003.I14032-100000 at foem>
            Dirk-Willem van Gulik <dirkx at webweaving.org> writes:
: 
: With a mini-PCI formfactor wi(4) card (Senao) I am seeing
: 
: 	wi0: <Intersil Prism2.5> mem 0xa0000000-0xa0000fff irq 10 at device 16.0 on pci0
: 	wi0: CSR_READ_2(WI_HFA384X_SWSUPPORT0_OFF) wanted 18989, got 65535
: 	device_probe_and_attach: wi0 attach returned 6
: 
: on roughly 4 out of very 5 reboots. A few extra reboot/powercycles seems
: to get me past it. Long/short/cold/warm resets or reboots seem not to
: clearly affect when one gets through successfully.
: 
: I already tried adding some of the COR reset code (bit 7) to the native
: PCI branch in wi_pci_attach() but to no avail sofar.
: 
: Any suggestion as to what this might be - and/or where I should look ?

Are you sure you are resetting the COR at the right place in the pci
space?  It is at a different location on native pci than on the PLX.

Warner


More information about the freebsd-hackers mailing list