replacing default ethernet interrupt handler

May 14, 2006 0 Replies

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.



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required