summaryrefslogtreecommitdiff
path: root/drivers/net/r6040.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-17r6040 endianness fixesAl Viro1-4/+6
pci_unmap_single() on little-endian address Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-02-06r6040: cleanupsFlorian Fainelli1-5/+3
- 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>
2008-02-06r6040: recover from transmit timeoutFlorian Fainelli1-24/+33
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2008-02-06r6040: add helpers to allocate and free the Tx/Rx buffersFlorian Fainelli1-60/+84
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>
2008-02-06r6040: do not use a private stats structure to store statisticsFlorian Fainelli1-14/+20
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2008-01-29r6040: cleanupsFrancois Romieu1-20/+13
- 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>
2008-01-29r6040: erroneous dev->privFrancois Romieu1-1/+1
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2008-01-29r6040: remove virt_to_busFrancois Romieu1-53/+50
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2008-01-29r6040: compile errorFrancois Romieu1-1/+1
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>
2008-01-29drivers/net/r6040: fix obvious problems (but more remain)Jeff Garzik1-17/+14
- 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>
2008-01-29[NET]: Add support for the RDC R6040 Fast Ethernet controllerSten Wang1-0/+1109
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>