自学内容网 自学内容网

PCIe 以太网芯片 RTL8125B 的 spec 和 Linux driver 分析备忘

1,下载 RTL8125B driver

下载页:

https://www.realtek.com/Download/List?cate_id=584

2,RTL8125B datasheet下载

下载页:

https://file.elecfans.com/web2/M00/44/D8/poYBAGKHVriAHnfWADAT6T6hjVk715.pdf

 

 

3, 编译driver

解压:

$ tar xjf r8125-9.013.02.tar.bz2

如果只编译不安装,需要将Makefile中

all: clean modules install

修改成

all: clean modules

#install

然后执行make:

看到生成了 r8125.ko

尝试 insmod :

看来有问题了,明天再看看吧,sleep。。。

4, 测试 网卡

5,driver和spec 分析

未完待续。。。


原文地址:https://blog.csdn.net/eloudy/article/details/140649581

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!