Re: [PATCH][RFC take 2] Add support for the RDC R6040 Fast Ethernet controller

2007-11-13 Thread Stephen Hemminger
On Sat, 10 Nov 2007 19:22:18 +0100 Florian Fainelli <[EMAIL PROTECTED]> wrote: > This patch adds support for the RDC R6040 MAC we can find in the RDC R-321x > System-on-chips and some other devices. > You will need the RDC PCI identifiers if you want to test this driver : > > RDC_PCI_VENDOR_ID =

Re: [PATCH][RFC take 2] Add support for the RDC R6040 Fast Ethernet controller

2007-11-10 Thread Stephen Hemminger
> +static int __devinit r6040_init_one(struct pci_dev *pdev, > + const struct pci_device_id *ent) > +{ > + struct net_device *dev; > + struct r6040_private *lp; > + void __iomem *ioaddr; > + int err, io_size = R6040_IO_SIZE; > + static int c

[PATCH][RFC take 2] Add support for the RDC R6040 Fast Ethernet controller

2007-11-10 Thread Florian Fainelli
This patch adds support for the RDC R6040 MAC we can find in the RDC R-321x System-on-chips and some other devices. You will need the RDC PCI identifiers if you want to test this driver : RDC_PCI_VENDOR_ID = 0x17f3 RDC_PCI_DEVICE_ID_RDC_R6040 = 0x6040 Changes from first patch : - use ioread/iowr