电路设计论坛
直播中

龙极梁

6年用户 39经验值
私信 关注
[资料]

DM9621 USB转RJ45网络模块请参考下列步骤添加驱动

`
DM9621 USBRJ45网络模块请参考下列步骤添加驱动:
附件是DM9621的驱动移植文件,仅供参考,具体驱动移植要根据平台做相应修改即可。
(“drivers/u***/net” is for old kernel version,“drivers/net/u***” is for the new kernel version )
DM9621 Driver
l Copy DM9621 driver into the kernel source
v Copy “dm9620.c” to “drivers/u***/net”

l Modify “drivers/u***/net/Kconfig”
   Find the “config USB_NET_CDCETHER”configuration item, add below configuration item
to follow it:
config USB_NET_DM9620
        tristate"Davicom DM9620 based ethernet devices"
        depends onUSB_USBNET
        selectCRC32
        select MII
        help
          Thisoption adds support for Davicom DM9620 based
          u***-ethernet adapters.

l Modify “drivers/u***/net/Makefile”
Add “dm9620.o” into the object file list:
Obj-$(CONFIG_USB_NET_DM9620)    +=dm9620.o

l enable the Multi-purpose USB NetworkingFramework and then DM9620/21, and save your new
kernel configuration.

   Change to BSP directory:
SHELL> cd ~/pxa270/microtime/linux
Start by execute the command:
SHELL> make menuconfig

Track the configure structure as belowhierarchy, select “Multi-purpose USB Networking
Framework” & “Davicom DM9620 based ethernetdevices”:

Device Drivers --->
USB support --->
USB Network Adapters --->
Multi-purpose USB Networking Framework
             :
         <*>Davicom DM9620 based ethernet devices


`
dm9620.rar (20.63 KB)
(下载次数: 32, 2019-3-10 13:54 上传)
USB模块

更多回帖

发帖
×
20
完善资料,
赚取积分