[eepro100] 82559 to 82559ER

Afzal, Naeem M naeem.m.afzal@intel.com
Fri, 4 May 2001 17:26:03 -0700


I have this embeded networking card that uses strongarm as CPU and has a NIC
82559. I am running linux 2.3.99pre3 on it.
I wanted to use 82559ER NIC instead and changed the following line in the
eepro100.c code to make it see the card:

from this:
/*
static struct pci_device_id eepro100_pci_tbl[] __devinitdata = {
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82557,
                PCI_ANY_ID, PCI_ANY_ID, },
        { 0,},
};
*/
to this:
static struct pci_device_id eepro100_pci_tbl[] __devinitdata = {
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82559ER,
                PCI_ANY_ID, PCI_ANY_ID, },
        { 0,},
};     

Probelm is now I get 
 # ifconfig eth0 10.3.19.183                              
 SIOCSIFFLAGS: Device or resource busy       

and after troubleshooting, this is where the error is coming from the driver
in speedo_open()

 /* .. we can safely take handler calls during init. */
        if (request_irq(dev->irq, &speedo_interrupt, SA_SHIRQ, dev->name,
dev)) {
                MOD_DEC_USE_COUNT;
                return -EBUSY;
        }      

Any idea on what could be wrong.

thanks and regards

Naeem