亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme.txt

?? Vxworks下CIRRUS LAN(tm) CS8900 網卡驅動源代碼
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
			   LOAD_STRING is:

               "0xIOAddr:IntLevel:0xMemAddr:MediaType:0xConfigFlags"


  IOAddr     IO Base Address
             This value is the base address of the CS8900 in IO space.
             Defined in hexadecimal.


  IntLevel   CS8900 Interrupt Request Channel
             Define as CS8900_INT_LVL.  Valid values for CS8900_INT_LVL are:
             5, 0xa (10), 0xb (11), or 0xc (12). 


  MemAddr    Base address of CS8900 in Memory space.
             Defined in hexadecimal.
			 If it is set to zero, then the CS8900 chip operates in the mode
			 specified by the EEPROM or the configFlags parameter.


  MediaType  Media type used by CS8900
             Defined as:
	         1   for AUI connector
	         2   for 10Base-2 (BNC)
	         3   for 10Base-T (RJ45)

 configFlags Configuration Flags
             If any configuration flags are to be defined here, define as a
	         minimum the CFGFLG_NOT_EEPROM flag.  Set multiple configuration
	         flags by ORing (adding) them inside of parenthesis. Example:
	       
	         (CFCFLG_NOT_EEPROM + CFGFLG_MEM_MODE)

	         This example specifies operation in memory mode and to ignore 
	         configuration data in EEPROM.

	         Valid configuration flag values:
	       
	         CFGFLG_NOT_EEPROM    
	         Override configuration flags in EEPROM (if present)
	       
	         CFGFLG_MEM_MODE      
	         Use memory mode to access the chip

	         CFGFLG_USE_SA        
	         Use System Address lines to qualify MEMCS16 signal (ISA only)

	         CFGFLG_IOCHRDY       
	         Extend time for IO access to CS8900 (ISA only) 

	         CFGFLG_DCDC_POL      
	         Specifies the signal level of the DC/DC converter's enable pin
	         is active high (DC/DC converter used by 10Base-2 transceiver)
	       
	         CFGFLG_FDX           
	         Configures the CS8900 to use full duplex for the 10Base-T 
	         transmission mode.

             CFGFLG_PROMISC_MODE 
             Configures the CS8900 to the Promiscuous Mode.  The CS8900 will
			 accepts all good network frames in the mode.


Parameters in "csEnd.c"
------------------------

ALIGMENT_32BIT

This definition needs to be defined for the processors that perform 32-bit
read/write, such as ARM, Strong ARM, SH3, SH4, and MIPS.

If the data buffer for transmission starts on an odd address boundary, copy it
to a temporary buffer that starts on an even address boundary, and write the
temporary buffer to the CS8900 Chip. 



Parameters in "csSysEnd.c"
------------------------

CS_MAX_NUM_UNITS  

This definition represents the number of CS8900s in the same system supported
by this driver.  This value is always one (i.e. the current driver supports
only one CS8900).



CS_NUM_RX_BUFFERS       

This value specifies the number of 1500-byte receive buffers allocated by the 
driver for local storage of received frames.  Receive frames are copied 
from the chip into these local receive buffers at the ISR level and passed to
the protocol stack for processing at the task level.  Also, these receive buffers
can be loaned to the protocol stack during processing, thus preventing an extra
copy of the receive data (from the local receive buffer into a protocol mbuf 
chain).  For best Ethernet throughput, set this value to largest number feasible
based on your system's memory constraints.



CS_MAX_QUEUE   

This value is the maximum number of elements in the local TX and RX queue.
The RX queue holds pointers to local RX buffers to be passed to the protocol
stack for processing at task level.  The TX queue holds pointers to mbuf
chains to be freed at the task level (frames that have been transmitted).



CS_INITIAL_START_CMD	

The CS8900 is capable of starting the TX operation before the full frame is
copied to the on-chip TX buffer.  However, this operation mode creates the
possibility of a "TX underrun", i.e. the transmitter may run out of data
before the full frame is buffered if the TX frame copy to chip is delayed or
slower than one byte per 0.8ms (wire data rate).  

Part of the TX command to the CS8900 specifies the number of bytes to be 
buffered before the transmission on the wire begins.  If excessive TX 
underruns occur, the driver automatically adjusts the TX command to start 
the next TX after additional bytes are buffered.  The possible values for 
the number of bytes buffered before the TX starts are: 5, 381, 1021, or a
full frame.

CS_INIITIAL_START_CMD specifies which TX start command to use initially before
the driver makes any required automatic adjustments.  Valid definitions for 
CS_INITIAL_START_CMD are:

   TX_CMD_START_5    (start after 5 bytes buffered) 
   TX_CMD_START_381  (start after 381 bytes buffered)
   TX_CMD_START_1021 (start after 1021 bytes buffered)
   TX_CMD_START_ALL  (start after the full frame is buffered)

Refer to the CS8900 Datasheet for more information on transmit operation.



#define CS_TX_UNDRUN_TRHSHOLD   3 

This value specifies the number of TX underruns allowed while using the 
current TX start command before the driver automatically adjusts the command 
to start the next transmission after additional bytes are buffered.




4.0 DISPLAYING DRIVER STATISTICS AND CONFIGURATION
==================================================

The network interface driver includes a display routine, called csShow(), which
displays driver configuration and statistics information.  To invoke the
display routine, at the shell prompt, type:

-> csShow

Another routine that you may find useful is:

-> ifshow "cs0"


Message Logging
---------------

If the network interface debug flag is set, then the network interface driver
logs significant events and error messages to the logging task.  The default
behavior of the logging task is to display logging messages on the console.
To set the debug flag, issue the following command at the shell prompt:

        -> ifflagchange "cs0", 4, 1

To clear the debug flag, issue the following command at the shell prompt:

        -> ifflagchange "cs0", 4, 0

You can use the csShow() routine to view the current state of the debug flag.


If you don't need the debug message any more, remove the debug message logging
by  undefining CS_DEBUG_ENABLE in the csEnd.c file.

/*********************** debug macro *******************************/

/* this flag is used to turn DEBUG on or off */
/*#define CS_DEBUG_ENABLE*/



5.0 PORTING TO A NEW BSP
========================

Starting with the version 2.01 driver, the driver has been divided into two
modules: a BSP-independent module "csEnd.c" and a BSP-specific module
"csSysEnd.c".  In order to port the driver to a new BSP, only the "csSysEnd.c"
file should need to be modified.  You should not modify the "csEnd.c" file.
This will ensure your port is compatible with any future releases of the driver
from Cirrus Logic.

A "csSysEnd.c" module written for a 386 BSP is provided with this driver as an
example.


Big Endian and Little Endian Architectures
------------------------------------------

A macro for byte-swapping is defined based on the _byte_order definition in the
VxWorks header file "arch.h".  For "big endian" CPUs, the macro is defined to
swap the order of bytes for access to CS8900 registers.  For "little endian"
CPUs, the macro does nothing.

Note: The use of this macro assumes that the hardware data lines to the CS8900
have been "byte swapped" in big endian systems.  That is, CPU D0 connected to
CS8900 D8, CPU D1 connected to CS8900 D9, etc.  Using this technique, only
counter-register values must be byte swapped in real time.  All other values
are byte swapped at compile time using definitions in the header file.  Network
data is never byte swapped in software.  This is handled by the CS8900 hardware.


Macros
------

Three macros are used to communicate with the CS8900 in IO mode.  For the
pc386/pc486 BSPs, they call system routines provided by VxWorks/PCX86 for
IO space access.  For non x86-based BSPs, they need to be redefined as
appropriate for your BSP's architecture (e.g. a memory dereference if IO
space is not supported).

/* X86 BSP macro definitions used to provide IO mode accesses */
#define SYS_ENET_OUT_WORD(port, value)	      sysOutWord((port), (value))
#define SYS_ENET_IN_WORD(port)			sysInWord(port)
#define SYS_ENET_IN_BYTE(port)			sysInByte(port)

/* Example macros used to "emulate" io space access for non-Intel CPUs */
#define SYS_ENET_OUT_WORD(port, value)    (*(volatile USHORT*)(port)) = (value)
#define SYS_ENET_IN_WORD(port)            (*(volatile USHORT*)(port))
#define SYS_ENET_IN_BYTE(port)            (*(volatile UCHAR*)(port))



BSP-specific Routines
---------------------

The following five BSP-specific routines are called from the main driver
module "csEnd.c" and must be replaced with routines appropriate for your
hardware configuration.

* sysEnetGetConfig( )
This routine takes configuration parameters not specified to csEndLoad() through the InitString from non-volatile storage (e.g. an attached EEPROM)
and puts them in the CS_END_DEVICE structure. 

* sysEnetAddrGet( )
This routine obtains the Ethernet MAC address from non-volatile storage or from 
the "csEnetAddr" array defined in sysEnet.c and saves it in the interface's 
MIB2 structure.

* sysEnetHWInit( )
This routine uses global variables in the CS_END_DEVICE structure to configure the adapter for the board-specific IO circuitry and supported media types.

* sysEnetIntEnable( )
This routine enables the interrupt used by the CS8900 at the system level.  It 
may not be required by your BSP.  If not, implement as a stub (empty routine).
 
* sysEnetIntDisable( )
This routine disables the interrupt used by the CS8900 at the system level.  It 
may not be required by your BSP.  If not, implement as a stub (empty routine).


You may add any support routines to be called by the above required routines
as you wish.



6.0 CONTACTING CIRRUS' TECHNICAL SUPPORT
==========================================

Cirrus' CS8900 Technical Support can be reached at:

Telephone  :(800) 888-5016 (from inside U.S. and Canada)
           :(512) 442-7555 (from outside the U.S. and Canada)
Fax	       :(512) 912-3871
Email	   :ethernet@crystal.cirrus.com
Web        :www.crystal.com

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品视频网| 视频一区二区三区在线| 亚洲欧洲国产日本综合| 欧美不卡一区二区三区四区| 91麻豆精品国产91久久久久| 91精品国产综合久久香蕉的特点| 欧美手机在线视频| 在线不卡免费av| 日韩精品一区二区三区四区| 亚洲精品在线观看视频| 中文字幕+乱码+中文字幕一区| 国产精品久久久久aaaa樱花| 亚洲图片另类小说| 亚洲宅男天堂在线观看无病毒| 亚洲综合在线免费观看| 日本视频在线一区| 国产麻豆精品久久一二三| 国产寡妇亲子伦一区二区| 91视视频在线观看入口直接观看www | 国产不卡在线播放| 91小视频免费看| 欧美男男青年gay1069videost| 91精品国产91久久久久久一区二区 | 国产精品66部| 99精品偷自拍| 9191久久久久久久久久久| 2020国产精品久久精品美国| 亚洲欧美怡红院| 亚洲成人1区2区| 国产精品一级在线| 色天使色偷偷av一区二区| 5月丁香婷婷综合| 久久午夜国产精品| 一区二区三区四区在线| 国产另类ts人妖一区二区| 色丁香久综合在线久综合在线观看| 欧美精品在线一区二区三区| 国产精品区一区二区三| 日本在线不卡视频| 99久久婷婷国产精品综合| 欧美一区二区在线不卡| 国产精品麻豆一区二区| 美国毛片一区二区| 91在线免费看| 久久久99精品免费观看不卡| 亚洲一级二级在线| 国产999精品久久久久久绿帽| 欧美日本一区二区| 亚洲视频你懂的| 国产乱淫av一区二区三区| 欧美另类一区二区三区| 日韩伦理av电影| 国产99精品国产| 久久毛片高清国产| 麻豆精品一区二区三区| 欧美精品在线观看播放| 一区二区三区在线视频观看| 风间由美一区二区三区在线观看| 正在播放一区二区| 亚洲在线视频网站| 日本高清免费不卡视频| 国产精品的网站| 国产成人精品免费在线| 精品久久久久久久一区二区蜜臀| 午夜精品福利在线| 欧美日韩在线不卡| 午夜精品久久久久久不卡8050| 91久久精品一区二区| 一区二区三区成人| 91久久精品日日躁夜夜躁欧美| 国产精品久久免费看| 成人亚洲一区二区一| 国产日韩欧美精品一区| 福利电影一区二区三区| 国产精品国产三级国产有无不卡| 国产成人自拍网| 精品久久久久久亚洲综合网| 激情综合网天天干| 久久精品夜色噜噜亚洲a∨| 国产盗摄一区二区三区| 国产精品久久久久影视| 99久精品国产| 亚洲已满18点击进入久久| 欧美三级电影网站| 蜜桃久久av一区| 久久久久久久久久久黄色| 国产aⅴ综合色| 国产色爱av资源综合区| 不卡av在线免费观看| 国产精品色哟哟| 欧洲精品视频在线观看| 免费不卡在线视频| 精品国产区一区| 成人高清视频在线| 亚洲成a人片综合在线| 日韩一区二区三区免费看 | 专区另类欧美日韩| 欧美日韩国产欧美日美国产精品| 五月天网站亚洲| 久久精品人人做| 色av成人天堂桃色av| 麻豆91在线播放免费| 国产精品欧美极品| 欧美日韩你懂得| 国产成人精品影视| 午夜精品久久久久久久| 国产欧美一区二区精品性色超碰| 99久久99久久精品免费看蜜桃| 午夜激情综合网| 中文字幕av一区二区三区高| 欧美午夜精品一区二区三区| 久久99热这里只有精品| 中文字幕在线不卡视频| 91精品国产综合久久精品app| 高清beeg欧美| 久久精品久久精品| 亚洲欧美激情视频在线观看一区二区三区| 欧美日韩国产免费一区二区| 懂色av一区二区三区蜜臀| 丝袜美腿亚洲一区二区图片| 国产欧美日韩视频一区二区| 欧美日韩亚洲综合在线| 成人美女视频在线看| 全国精品久久少妇| 亚洲国产日韩在线一区模特| 国产亚洲精品aa| 精品欧美黑人一区二区三区| 欧美日韩国产中文| 一本色道久久综合亚洲aⅴ蜜桃| 美女久久久精品| 午夜精品爽啪视频| 亚洲视频一二三区| 国产精品色哟哟| 26uuu国产日韩综合| 欧美一区二区福利在线| 欧美伦理视频网站| 欧美午夜一区二区| 在线日韩av片| 91久久久免费一区二区| 99精品偷自拍| 91看片淫黄大片一级在线观看| 国产呦萝稀缺另类资源| 免费看日韩精品| 亚洲第一成年网| 午夜久久久久久电影| 午夜视频在线观看一区| 亚洲夂夂婷婷色拍ww47| 一区二区三区日韩在线观看| 亚洲男人的天堂av| 一区二区三区四区乱视频| 一个色综合网站| 亚洲精品视频观看| 亚洲国产一区二区视频| 五月婷婷激情综合网| 日韩av中文字幕一区二区三区| 天堂一区二区在线免费观看| 日韩高清不卡一区二区三区| 午夜精品一区二区三区电影天堂 | 国产欧美一区二区精品婷婷| 日韩欧美一级二级三级久久久| 91精品国产综合久久小美女| 日韩视频免费观看高清完整版 | 日本韩国精品在线| 色偷偷成人一区二区三区91| 欧美影院精品一区| 在线不卡a资源高清| 精品1区2区在线观看| 中文字幕+乱码+中文字幕一区| 中文字幕一区免费在线观看 | 日韩精品专区在线| 久久影视一区二区| 1区2区3区国产精品| 亚洲永久精品国产| 久久精品国产亚洲5555| 国产成人鲁色资源国产91色综 | 精品在线播放免费| 国产大陆亚洲精品国产| 欧美日韩专区在线| 久久久三级国产网站| 亚洲色图一区二区| 久久综合综合久久综合| 成人高清在线视频| 欧美精品一卡二卡| 国产精品乱码人人做人人爱 | 欧美色大人视频| 精品99999| 亚洲宅男天堂在线观看无病毒| 精品一区二区免费| 91国产丝袜在线播放| 2024国产精品视频| 亚洲h精品动漫在线观看| 国产高清不卡一区| 欧美日韩一级片在线观看| 国产精品美女久久久久久| 日韩精品五月天| 在线观看不卡一区| 国产精品网曝门| 蓝色福利精品导航| 欧美精品在线观看播放| 专区另类欧美日韩|