linux - 如何设置micrel交换芯片的寄存器 及驱动修改方法
天蓬老师
天蓬老师 2017-04-17 15:21:38
0
1
596

公司要使用micrel的交换芯片ksz8795,第一次接触芯片方面的知识,通过官网下载了芯片驱动,目前不知道设计芯片功能设计的寄存器设置位置和方法,及芯片驱动要如何加入到内核中。谢谢

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
左手右手慢动作

Download the user manual/chip manual of the chip, which contains the address and function introduction of each register. Write the corresponding driver according to the required functions, obtain the .ko kernel module file, modify the kernel makefile and other files, reconfigure the kernel, and compile the driver. Before compiling into the kernel, you can use the insmod command to load the driver for debugging. It is possible not to add it to the kernel. Adding insmod xxx.ko to /etc/init.d/rcS can also be loaded at startup

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template