• Simon Kelley's avatar
    [netdrvr] add atmel[_cs], new wireless driver · bd75dd8c
    Simon Kelley authored
    Attached is a driver for Atmel at76c50x WiFi cards. This code started
    out as a GPL release from Atmel of pretty horrible quality and I've
    extensively re-worked it with the aim of making it acceptable in the
    kernel. Please could you take a look and either pass it into the patch
    stream or let me know what's wrong with it?
    
    The code has been tested on at least three different brand cards by
    different people. Jean Tourrilhes took a look at an earlier version an
    was positive. He's put incorporating this into 2.6 as a priority 1.
    The patch works fine on 2.5.70.
    
    The firmware issue has been addressed now. The only firmware in the
    driver is a small stub which reads the MAC address from NVRAM on the
    card. The source for that is included so there are no GPL issues. The
    main firmware is loaded from userspace using Manuel Estrada Sainz's
    sysfs firmware class. I know that the  patch for that has been
    accepted but it hasn't turned up anywhere I can see yet. The 
    driver compiles fine even without the firmware class. I've made a
    package of the firmware images which is available from my website.
    
    The remaining issues with the driver are migrating PCMCIA to the new
    driver model and PCI support. I'm happy to produce followup patches as
    the PCMCIA system gets evolved to the new driver model: the timing on
    that is controlled by others. This set of chips includes a PCI version
    and the driver should support that, but AFAIK there is no PCI hardware
    available anywhere. If Atmel can provide me with some it will be
    simple to add PCI support.
    
    The driver uses the CRC32 library module and the firmware loader. I've
    not put in dependencies on those, but when the lastest set of patches
    go into Kconfig I'll set it up so that selecting the Atmel driver
    selects CRC32 and FW_LOADER too.
    bd75dd8c
atmel.c 116 KB