Dear All,
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.
For example,
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.
mx287_kmw_l2.switch_test_02.2_re-insmod.log
Could you tell me what's the problem?
For your more understanding, I'll attached the below files.
- Kernel
. arch/arm/mach-mx28/mx28evk_pins.c
. arch/arm/mach-mx28/device.c (device.c_mach-mx28)
. arch/arm/plat-mxs/include/mach/device.h
. arch/arm/plat-mxs/device.c (device.c_plat-mxs)
- Driver
. mx287_fec_switch.c
Best Regards,
Eric.
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