qd guide for porting freebsd5 drivers? (porting atheros driver).

Andrew Atrens atrens at nortelnetworks.com
Mon Nov 15 11:33:50 PST 2004


Joerg Sonnenberger wrote:

> On Mon, Nov 15, 2004 at 10:48:14AM +0000, Stu wrote:
>> dlink g650 revision b. i think its a 5211 or 5212.
>> 
>> im running turbo-g 108mbp to my dlink router.
>> (i know the ath hal doesnt yet support 108mb...)
> 
> I guess the 5212, I have a G650 for myself. The problem is that for
> my card, the Atheros HAL from FreeBSD segfaulted. I'll commit the
> driver from FreeBSD 5 + Reyk's HAL for the 5210, if anyone has
> such a card and can use it.
> 

I think I have one of these cards, although I need to break out the
soldering iron in order to remove the shielding box in order to 
verify. Okay I did, it has two chips - an AR5212A-80 and a 
AR52111A-?0


It is usable under NDIS -


/*
 * Generated from net5211.inf and ar5211.sys (307904 bytes)
 */

#define NDIS_PCI_DEV_TABLE      \
        { 0x168C, 0x0012, 0x2022168C,   \
        "Dual-Band Wireless A+G PCI Adapter" }, \
        { 0x168C, 0x0013, 0x2026168C,   \
        "Dual-Band Wireless A+G PCI Adapter" }, \
        { 0x168C, 0x0013, 0x00181737,   \
        "Dual-Band Wireless A+G PCI Adapter" },


but is _very_ fragile - changing the IP address or netmask for 
instance once the interface is 'up' causes traps from inside the
ndis driver image.

I wouldn't mind having a look at what you've got so far. It might
keep me entertained for a few evenings.

The other fun bit that I'm looking a at the moment  pertains to amd64
support as I just recently got one of those systems and it seems as though
there are no performance gains over a straight athlon-xp when it's running
32 bit OS. :( :( ...

Andrew.






More information about the Kernel mailing list