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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? readme.txt

?? 這是一個在VxWorks系統(tǒng)實現(xiàn)CS網(wǎng)卡END驅(qū)動的原代碼
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
IF_USR_ARG7    Configuration Flags
               If any configuration flags are to be defined here, define as a
	       miminum 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.


IF_USR_ARG8    Unused
               Define as NULL



Parameters in "sysEnet.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, by using the
OS's "build_cluster" routine, 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).
Typically, this value is set to the maximum number of mbufs specified for the
system (MAX_MBUFS -- defined in mbuf.h).



STRESS_TESTING 		

This boolean value controls the output of debug messages for RX frames that
are not processed by the CS8900 when on-chip buffer space is not available.  
If driver debug messages are enabled, a message is output to the display device
for each RX frame that is missed.  During extremely heavy traffic, such as 
during stress testing, these messages can become numerous, adding to the 
systems processing overhead and therby adding to the number of RX frames 
missed.  Setting this value to TRUE suppresses output of messages for missed
RX frames. However, statistics for RX misses are still updated and can be 
output using the csShow() routine.  



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 specifes which TX start command to use initially before
the driver makes any required automtic 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 comand 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

To reset the statistics to zero, type at the shell prompt:

        -> csshow 0, 1

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.



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

Starting with the version 2.01 driver, the driver has been divided into two
moduels: a BSP-independent module "if_cs.c" and a BSP-specific module
"sysenet.c".  In order to port the driver to a new BSP, only the "sysenet.c"
file should need to be modifed.  You should not modify the "if_cs.c" file.
This will ensure your port is compatible with any future releases of the driver from Crystal Semiconductor.

A "sysenet.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 "if_cs.c" and must be replaced with routines appropriate for your
hardware configuration.

* sysEnetGetConfig( )
This routine takes configuration parameters not specifed to csAttach() through
the IF_USR definitions from non-volatile storage (e.g. an attached EEPROM) and 
puts them in the cs_softc 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 
arpcom structure.

* sysEnetHWInit( )
This routine uses global variables in the cs_softc 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 CRYSTAL'S TECHNICAL SUPPORT
==========================================

Crystal's 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久久无码国产精品| 中文字幕一区二区三| 91小视频免费观看| 成人综合婷婷国产精品久久 | 午夜不卡av免费| 午夜久久久影院| 国内不卡的二区三区中文字幕| 粉嫩嫩av羞羞动漫久久久| 欧美一区二区私人影院日本| 免费三级欧美电影| 色综合久久久久久久久| 欧美日本高清视频在线观看| 色婷婷精品大视频在线蜜桃视频| 成人ar影院免费观看视频| 99国产精品99久久久久久| 一本色道久久综合亚洲aⅴ蜜桃| 色国产综合视频| 91精品国产综合久久小美女| 亚洲精品一区二区三区精华液 | 欧美男人的天堂一二区| 日韩一区二区中文字幕| 日韩视频一区二区| 国产精品国产三级国产专播品爱网| 亚洲美女在线一区| 国产99久久久国产精品潘金网站| 亚洲午夜久久久久久久久电影院| 青椒成人免费视频| 成人午夜免费电影| 欧美日韩卡一卡二| 在线播放国产精品二区一二区四区| 欧洲一区二区三区在线| 2021中文字幕一区亚洲| 亚洲精品高清在线观看| 精品一二线国产| 91蝌蚪porny九色| 欧美成人伊人久久综合网| 1024亚洲合集| 韩日欧美一区二区三区| 色美美综合视频| 久久久久9999亚洲精品| 亚洲丰满少妇videoshd| 成人小视频在线观看| 337p亚洲精品色噜噜| 国产精品国产三级国产普通话蜜臀| 日韩成人免费在线| 91在线观看高清| 2017欧美狠狠色| 午夜精品久久久久久| 成人99免费视频| 久久综合99re88久久爱| 天天色天天爱天天射综合| 波多野结衣视频一区| 亚洲精品一区在线观看| 偷偷要91色婷婷| 在线观看国产91| 亚洲日本欧美天堂| 高清日韩电视剧大全免费| 精品伦理精品一区| 奇米精品一区二区三区四区 | 91精品国产一区二区三区蜜臀| 国产精品久久午夜| 国产成都精品91一区二区三| 精品99一区二区三区| 蜜桃视频一区二区三区| 欧美精品在线视频| 午夜精品成人在线视频| 欧美日韩精品一区二区三区蜜桃| 亚洲女子a中天字幕| gogo大胆日本视频一区| 国产精品久久午夜| 99精品视频在线观看| 亚洲日本在线a| 日本精品一级二级| 亚洲国产一二三| 欧美男男青年gay1069videost| 亚洲成a人v欧美综合天堂下载| 欧美亚洲高清一区二区三区不卡| 亚洲最大成人网4388xx| 欧美色涩在线第一页| 天堂一区二区在线免费观看| 欧美日韩午夜影院| 热久久一区二区| 3d成人h动漫网站入口| 蜜桃91丨九色丨蝌蚪91桃色| 日韩精品一区二区三区四区 | 国产一区二区导航在线播放| www精品美女久久久tv| 国产成人av福利| 综合电影一区二区三区 | 免费成人美女在线观看.| 日韩免费电影一区| 国产精品影视在线| 国产精品热久久久久夜色精品三区| 99国产精品久久久久| 午夜视黄欧洲亚洲| 久久精品男人的天堂| 91视频免费看| 美女视频一区二区三区| 中文字幕 久热精品 视频在线| 色先锋aa成人| 久久成人av少妇免费| 亚洲视频一区二区免费在线观看| 色诱亚洲精品久久久久久| 免费人成在线不卡| 国产精品网站导航| 3d动漫精品啪啪一区二区竹菊| 国产精品白丝jk白祙喷水网站| 亚洲欧美日韩在线| 久久久美女毛片| 欧美视频在线观看一区| 国产在线精品国自产拍免费| 亚洲精品成人在线| 国产三级精品三级在线专区| 日本道精品一区二区三区 | 亚洲美女免费视频| 日韩一级免费观看| 色综合久久88色综合天天6| 欧美aaa在线| 亚洲永久精品大片| 中文字幕国产一区| 欧美成人官网二区| 欧美性色综合网| 成人视屏免费看| 久久se精品一区二区| 一级精品视频在线观看宜春院| 精品sm捆绑视频| 日韩一区二区三区免费观看| 99久久久久久| 成人一区二区三区视频在线观看| 日一区二区三区| 亚洲一区二区三区四区在线免费观看 | 欧美美女一区二区三区| 99国产精品久久久久| 高清国产午夜精品久久久久久| 男女性色大片免费观看一区二区| 亚洲卡通动漫在线| 中文字幕一区二区三| 久久美女高清视频| 精品国产一区a| 欧美一区二区三区性视频| 欧美日韩精品三区| 欧美日韩视频第一区| 欧洲国内综合视频| 日本高清不卡aⅴ免费网站| 色婷婷久久久久swag精品 | 91精品国产麻豆| 4438亚洲最大| 日韩免费看的电影| 欧美xxxxxxxx| 久久影视一区二区| 国产欧美精品一区| 国产精品嫩草久久久久| 亚洲欧洲在线观看av| 国产精品久久久久aaaa樱花| 中文字幕在线免费不卡| 亚洲图片激情小说| 亚洲国产精品久久一线不卡| 亚洲mv在线观看| 日韩黄色免费网站| 久久99在线观看| 精品伊人久久久久7777人| 国内外成人在线| 成人免费毛片高清视频| 91丨九色丨蝌蚪富婆spa| 在线观看精品一区| 欧美一卡二卡在线| 2023国产精品| 亚洲色图.com| 午夜天堂影视香蕉久久| 精品一区二区精品| 成人午夜精品在线| 欧美色中文字幕| 亚洲精品一区二区三区福利| 中文字幕欧美三区| 亚洲第一激情av| 久草热8精品视频在线观看| www..com久久爱| 91.com在线观看| 国产日本亚洲高清| 亚洲成人午夜影院| 岛国精品在线观看| 欧美日韩亚州综合| 国产精品色在线观看| 亚洲超碰精品一区二区| 国产精品99久久久久久久女警| av福利精品导航| 日韩欧美电影一二三| 综合激情成人伊人| 韩国午夜理伦三级不卡影院| 91免费看片在线观看| 精品久久久久99| 一区二区国产视频| 国产99精品在线观看| 精品视频一区二区不卡| 国产欧美日韩综合| 五月婷婷综合激情| 91免费视频大全| 久久久国产一区二区三区四区小说| 亚洲午夜精品在线| 91小宝寻花一区二区三区|