• Jean Tourrilhes's avatar
    irda update 1/6, big vlsi_ir driver update: · 644f894a
    Jean Tourrilhes authored
                    <Following patch from Martin Diehl>
            * merge+sync with changes from recent kernels: pci_[sg]et_drvdata,
              __devexit_p, netdev->last_rx, irda header cleanup
            * add netdev tx_timeout which re-initializes the whole thing
            * add power management support consistent with pci driver api
            * major rework of the ring descriptor operations
            * make correct usage of consistent and streaming pci dma api
            * nuke last virt_to_bus() and friends
            * support MIR/FIR highspeed interaction pulse (SIP)
            * review all paths for packet-size issues (rx and tx)
            * fix an old issue requiring hw powercycle caused by a race
              between IrLAP and hardware when switching _back_ to default
              speed at LAP disconnect. This was opened by the complete async
              behaviour of netdev->xmit but didn't happen before your latency
              improvements went into the stack.
            * add driver status readout under /proc/driver/vlsi_ir/irda%
              For 2.5, this will probably go into driverfs once things have
              stabilized.
            * fix potential deadlock in speed changing code
            * make identical driver working for both 2.4 and 2.5
            * add __attribute__((packed)) to hardware-exposed struct
            * add suggested pci_dma_prep_single() to flush cpu cache before
              streaming dma buffer gets reused for busmastering
    644f894a
vlsi_ir.c 53.5 KB