aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r6040.c
Commit message (Collapse)AuthorAge
* r6040: cleanupsFlorian Fainelli2008-02-05
| | | | | | | | | | - use netdev_alloc_skb - remove an useless variable in the IRQ handler - remove an unused private structure member - fix a spelling mistake Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: recover from transmit timeoutFlorian Fainelli2008-02-05
| | | | | Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: add helpers to allocate and free the Tx/Rx buffersFlorian Fainelli2008-02-05
| | | | | | | r6040_init_ring_desc moves around but it is kept unchanged. Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: do not use a private stats structure to store statisticsFlorian Fainelli2008-02-05
| | | | | Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: cleanupsFrancois Romieu2008-01-28
| | | | | | | | | | | - whitespaces vs tabs - use 80 cols - use if_mii - use netdev_priv - remove useless cast to void * - PCI device id does not need to be globally available Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: erroneous dev->privFrancois Romieu2008-01-28
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: remove virt_to_busFrancois Romieu2008-01-28
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* r6040: compile errorFrancois Romieu2008-01-28
| | | | | | | drivers/net/r6040.c: In function 'rx_buf_alloc': drivers/net/r6040.c:262: warning: passing argument 2 of 'pci_map_single' makes pointer from integer without a cast Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* drivers/net/r6040: fix obvious problems (but more remain)Jeff Garzik2008-01-28
| | | | | | | | | | | | | | - checkpatch fixes - fix bogus and uninitialized return codes in r6040_start_xmit() - netdev_get_settings() fix obvious locking bug flagged by compiler warning - set DMA consistent mask - remove unnecessary setting of dev->base_addr Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
* [NET]: Add support for the RDC R6040 Fast Ethernet controllerSten Wang2008-01-28
This patch adds support for the RDC R6040 MAC we can find in the RDC R-321x System-on-chips. Signed-off-by: Sten Wang <sten.wang@rdc.com.tw> Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>