if_wi attachment for mac-io

Justin Hibbits jrh29 at alumni.cwru.edu
Sat Sep 24 15:14:08 UTC 2011


In my quest to get some form of wireless on my TiBook, I decided to  
write the necessary mac-io attachment for if_wi (putting the if_bwi  
off to the side for now).  However, it appears that there's an endian  
issue with it:

pci0: driver added
pci1: driver added
pci2: driver added
found-> vendor=0x11c1, dev=0x5811, revid=0x00
     domain=2, bus=0, slot=14, func=0
     class=0c-00-10, hdrtype=0x00, mfdev=0
     cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords)
     lattimer=0x10 (480 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000  
ns)
     intpin=a, irq=40
     powerspec 2  supports D0 D1 D2 D3  current D0
pci2:0:14:0: reprobing on driver added
wi0: <Apple Airport> mem 0x30000-0x300ff,0x1a000-0x1a0ff,0-0xff irq 57  
on macio0
wi0: record read mismatch, rid=fd0b, got=bfd
wi0: using Unknown Lucent chip
wi0: record read mismatch, rid=fd20, got=20fd
wi0: Hermes Firmware: Station (0.0.0)
wi0: Sorry, this card is not supported (type 1, firmware ver 0)
device_attach: wi0 attach returned 45


Is there a way to add a shim underneath the driver, or something else  
so as not to be too intrusive to the if_wi driver?

- Justin


More information about the freebsd-ppc mailing list