L2 Switch driver module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

L2 Switch driver module

1,422 次查看
erickang
Contributor II

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

标签 (2)
0 项奖励
回复
1 回复

908 次查看
erickang
Contributor II

I missed the log file for this issue.

So I attached the log file in this page.

mx287_kmw_l2.switch_test_02.2_re-insmod.log

0 项奖励
回复