replacing default ethernet interrupt handler

our board has 4 etherports. i would like to replace the existing driver for port two

with my driver or at least i would like to replace the default interrrupt handler for

port two with my own interrupt handler.

sample code in LDD book uses alloc_netdev and register_netdev to create and register the

driver. but i am not sure how this code can be modified so that the driver can be associated with ethernet port two and other ports continue to use the default driver.

thank you in advance.

Reply to
mcharon
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.