Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
dp83840.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /*
- * linux/dp83840.h: definitions for DP83840 MII-compatible transceivers
- *
- * Copyright (C) 1996, 1999 David S. Miller (davem@redhat.com)
- */
- #ifndef __LINUX_DP83840_H
- #define __LINUX_DP83840_H
- #include <linux/mii.h>
- /*
- * Data sheets and programming docs for the DP83840 are available at
- * from http://www.national.com/
- *
- * The DP83840 is capable of both 10 and 100Mbps ethernet, in both
- * half and full duplex mode. It also supports auto negotiation.
- *
- * But.... THIS THING IS A PAIN IN THE ASS TO PROGRAM!
- * Debugging eeprom burnt code is more fun than programming this chip!
- */
- /* First, the MII register numbers (actually DP83840 register numbers). */
- #define MII_CSCONFIG 0x17 /* CS configuration */
- /* The Carrier Sense config register. */
- #define CSCONFIG_RESV1 0x0001 /* Unused... */
- #define CSCONFIG_LED4 0x0002 /* Pin for full-dplx LED4 */
- #define CSCONFIG_LED1 0x0004 /* Pin for conn-status LED1 */
- #define CSCONFIG_RESV2 0x0008 /* Unused... */
- #define CSCONFIG_TCVDISAB 0x0010 /* Turns off the transceiver */
- #define CSCONFIG_DFBYPASS 0x0020 /* Bypass disconnect function */
- #define CSCONFIG_GLFORCE 0x0040 /* Good link force for 100mbps */
- #define CSCONFIG_CLKTRISTATE 0x0080 /* Tristate 25m clock */
- #define CSCONFIG_RESV3 0x0700 /* Unused... */
- #define CSCONFIG_ENCODE 0x0800 /* 1=MLT-3, 0=binary */
- #define CSCONFIG_RENABLE 0x1000 /* Repeater mode enable */
- #define CSCONFIG_TCDISABLE 0x2000 /* Disable timeout counter */
- #define CSCONFIG_RESV4 0x4000 /* Unused... */
- #define CSCONFIG_NDISABLE 0x8000 /* Disable NRZI */
- #endif /* __LINUX_DP83840_H */