I want to make the driver module with the configured driver into kernel.
The driver is L2 Switch driver of MX287, <LTIB>/rpm/BUILD/linux/drivers/net/fec_switch.c.
First of all, I made the L2 Switch driver.
With this module, I'll test (insert + remove) * X times.
1) insert l2_switch.ko
2) rmmod l2_switch.ko
3) insert l2_switch.ko
4) rmmod l2_switch.ko
When I re-insert the module, the Error was occurred like the attached log file.
Could you tell me what's the problem?
For your more understanding, I'll attached the below files.
. arch/arm/mach-mx28/device.c (device.c_mach-mx28)
. arch/arm/plat-mxs/device.c (device.c_plat-mxs)
Original Attachment has been moved to: device.c_plat-mxs.zip
Original Attachment has been moved to: device.h.zip
Original Attachment has been moved to: mx287_fec_switch.c.zip
Original Attachment has been moved to: device.c_mach-mx28.zip
Original Attachment has been moved to: mx28evk_pins.c.zip