Hi All,

 

I am using Linux kernel 2.6.26.3 on ARM. 

I have two Ethernet modules. Based on the hardware (run time) I have to
run specific driver. Checking hardware is easy, On run time I can read
the registers and will know which Ethernet Chip is present.

 

Individually both Ethernet driver works fine on their respective
hardware.

 

Now problem, I have put both the drivers code in same (one) kernel and
dynamically shift between drivers depending of the hardware.

 how to run the driver dynamically. Both Ethernet drivers I have used
are statically compiled into the kernel.

 

Is there any Kernel API by which I can put the right driver in place?

 

 

 

 

Regards

Vivek

 

Reply via email to