热搜关键词: 数字信号处理RTOSC语言Linux射频电路

zip

dm9000/dm9000a linux驱动程序 (Ethernet chips linux driver)

  • 1星
  • 2013-09-22
  • 11.86KB
  • 需要2积分
  • 0次下载
标签: dm9000

dm9000

dm9000a

dm9000

linux驱动程序

linux驱动程序

Ethernet

linux驱动程序

chips

linux驱动程序

linux

linux驱动程序

driver

linux驱动程序

dm9000/dm9000a以太网芯片linux驱动程序  :dm9000/dm9000a  Ethernet  chips  linux  driverA  Davicom  DM9000  fast  ethernet  driver  for  Linux.                  Copyright  (C)  1997    Sten  Wang                This  program  is  free  software;  you  can  redistribute  it  and/or                modify  it  under  the  terms  of  the  GNU  General  Public  License                as  published  by  the  Free  Software  Foundation;  either  version  2                of  the  License,  or  (at  your  option)  any  later  version.                This  program  is  distributed  in  the  hope  that  it  will  be  useful,                but  WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of                MERCHANTABILITY  or  FITNESS  FOR  A  PARTICULAR  PURPOSE.    See  the                GNU  General  Public  License  for  more  details.  Now  dm9000x.c  is  for  kernel  2.4.x.          dm9000.c    is  for  kernel  2.2.x.            A.  Compiler  command:          A-1:  For  normal  single  processor  kernel                    "gcc  -DMODULE  -D__KERNEL__  -I/usr/src/linux/include  -Wall                          -Wstrict-prototypes  -O6  -c  dm9000x.c"          A-2:  For  single  processor  and  set  version  info  on  all  module  symbol                    "gcc  -DMODULE  -DMODVERSIONS  -D__KERNEL__  -I/usr/src/linux/include                        -Wall  -Wstrict-prototypes  -O6  -c  dm9000x.c"          A-3:  For  multiple  processors(SMP)  and  set  ver.  info.  on  all  module  symbol                    "gcc  -D__SMP__  -DMODULE  -DMODVERSIONS  -D__KERNEL__  -I/usr/src/linux                      /include  -Wall  -Wstrict-prototypes  -O6  -c  dm9000x.c"            Note:  O  of  -O6  is  a  capital  "o",  not  a  "0".    B.  How  to  compile  driver                B-1:  Login  by  supervisor          B-2:  Copy  dm9000x.c  and  Makefile  into  your  HD.  You  can  make  a  new  directoty                    to  put.          B-3:  Keep  driver  source  file  name  as  "dm9000x.c"  and  makefile  name  as        "Makefile"          B-4:  You  can  type  the  following  command  to  compile  driver.  Please  according                to  your  system  to  pick  one.              make  org  ;;Without  SMP  support                make  mod  ;;Set  version  info  on  all  module  symbol              make  smp  ;;symmetric  multi-processing(SMP)  support              make  smp_mod  ;;SMP  &  Set  version  info  on  module                Or  you  can  type  above  compiler  command  to  compile  driver.                              Note:  Please  check  you  must  have  the  right  kernel  source  on                          "/usr/src/linux".    C.  The  following  steps  teach  you  how  to  activate  NIC:          C-1:  A  simple  and  temporary  method                1.  Used  the  upper  compiler  command  to  compile  dm9000.c                2.  Insert  DM9000  module  into  kernel                      "insmod  dm9000x.o"                      ;;Auto  Detection  Mode  (Suggest)                      "insmod  dm9000x.o  mode=0"        ;;Force  10M  Half  Duplex                      "insmod  dm9000x.o  mode=1"        ;;Force  100M  Half  Duplex                      "insmod  dm9000x.o  mode=4"        ;;Force  10M  Full  Duplex                      "insmod  dm9000x.o  mode=5"        ;;Force  100M  Full  Duplex                      "insmod  dm9000x.o  mode=0x10"  ;;Force  1M  HomePNA                      "insmod  dm9000x.o  SF_mode=1"  ;;VLAN  Enable                      "insmod  dm9000x.o  SF_mode=2"  ;;Flow  Control  Enable                      "insmod  dm9000x.o  SF_mode=4"  ;;TX  Pause  Packet  Enable

展开预览

猜您喜欢

评论

登录/注册

积分规则

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版 版权声明

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved
×