电子发烧友App

硬声App

0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示
电子发烧友网>电子资料下载>嵌入式开发>dm9000/dm9000a linux驱动程序 (Ethe

dm9000/dm9000a linux驱动程序 (Ethe

2008-12-26 | rar | 222 | 次下载 | 10积分

资料介绍

dm9000/dm9000a以太网卡芯片linux驱动程序 :dm9000/dm9000a Ethernet chips linux driver

A 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

下载该资料的人也在下载 下载该资料的人还在阅读
更多 >

评论

查看更多

下载排行

本周

  1. 1TC358743XBG评估板参考手册
  2. 1.36 MB  |  330次下载  |  免费
  3. 2开关电源基础知识
  4. 5.73 MB  |  6次下载  |  免费
  5. 3100W短波放大电路图
  6. 0.05 MB  |  4次下载  |  3 积分
  7. 4嵌入式linux-聊天程序设计
  8. 0.60 MB  |  3次下载  |  免费
  9. 5基于FPGA的光纤通信系统的设计与实现
  10. 0.61 MB  |  2次下载  |  免费
  11. 6基于FPGA的C8051F单片机开发板设计
  12. 0.70 MB  |  2次下载  |  免费
  13. 751单片机窗帘控制器仿真程序
  14. 1.93 MB  |  2次下载  |  免费
  15. 8基于51单片机的RGB调色灯程序仿真
  16. 0.86 MB  |  2次下载  |  免费

本月

  1. 1OrCAD10.5下载OrCAD10.5中文版软件
  2. 0.00 MB  |  234315次下载  |  免费
  3. 2555集成电路应用800例(新编版)
  4. 0.00 MB  |  33564次下载  |  免费
  5. 3接口电路图大全
  6. 未知  |  30323次下载  |  免费
  7. 4开关电源设计实例指南
  8. 未知  |  21548次下载  |  免费
  9. 5电气工程师手册免费下载(新编第二版pdf电子书)
  10. 0.00 MB  |  15349次下载  |  免费
  11. 6数字电路基础pdf(下载)
  12. 未知  |  13750次下载  |  免费
  13. 7电子制作实例集锦 下载
  14. 未知  |  8113次下载  |  免费
  15. 8《LED驱动电路设计》 温德尔著
  16. 0.00 MB  |  6653次下载  |  免费

总榜

  1. 1matlab软件下载入口
  2. 未知  |  935054次下载  |  免费
  3. 2protel99se软件下载(可英文版转中文版)
  4. 78.1 MB  |  537796次下载  |  免费
  5. 3MATLAB 7.1 下载 (含软件介绍)
  6. 未知  |  420026次下载  |  免费
  7. 4OrCAD10.5下载OrCAD10.5中文版软件
  8. 0.00 MB  |  234315次下载  |  免费
  9. 5Altium DXP2002下载入口
  10. 未知  |  233046次下载  |  免费
  11. 6电路仿真软件multisim 10.0免费下载
  12. 340992  |  191185次下载  |  免费
  13. 7十天学会AVR单片机与C语言视频教程 下载
  14. 158M  |  183278次下载  |  免费
  15. 8proe5.0野火版下载(中文版免费下载)
  16. 未知  |  138040次下载  |  免费