資源簡介
虛擬機跑vxworks用到的文件,如何使用,見文章《在虛擬機上跑vxworks的總結》

代碼片段和文件信息
/*?ln97xEnd.c?-?END?style?AMD?Am79C97X?PCnet-PCI?Ethernet?driver?*/
/*?Copyright?1984-1998?Wind?River?Systems?Inc.?and?Cetia?Inc.?*/
#include?“copyright_wrs.h“
/*
modification?history
--------------------
01c08dec98snk??made?architecture?independant?by?teamF1?Inc.
?tested?with?x86?&?power?Pc?architectures.
01b21sep98dat??modified?to?stand?alone
01a01aug98dmb??written?from?if_lnPci.c?ver?01e
*/
/*
DEscriptION??
This?module?implements?the?Advanced?Micro?Devices?Am79C971
Am79C972?and?Am79C973?PCnet-PCI?Ethernet?32?bit?network?interface?driver.
The?PCnet-PCI?ethernet?controller?is?inherently?little?endian?because
the?chip?is?designed?to?operate?on?a?PCI?bus?which?is?a?little?endian
bus.?The?software?interface?to?the?driver?is?divided?into?three?parts.
The?first?part?is?the?PCI?configuration?registers?and?their?set?up.?
This?part?is?done?at?the?BSP?level?in?the?various?BSPs?which?use?this
driver.?The?second?and?third?part?are?dealt?in?the?driver.?The?second
part?of?the?interface?comprises?of?the?I/O?control?registers?and?their
programming.?The?third?part?of?the?interface?comprises?of?the?descriptors
and?the?buffers.?
This?driver?is?designed?to?be?moderately?generic?operating?unmodified
across?the?range?of?architectures?and?targets?supported?by?VxWorks.??To
achieve?this?the?driver?must?be?given?several?target-specific?parameters
and?some?external?support?routines?must?be?provided.?These?target-specific
values?and?the?external?support?routines?are?described?below.
This?driver?supports?multiple?units?per?CPU.??The?driver?can?be
configured?to?support?big-endian?or?little-endian?architectures.??It
contains?error?recovery?code?to?handle?known?device?errata?related?to?DMA
activity.?
Big?endian?processors?can?be?connected?to?the?PCI?bus?through?some?controllers
which?take?care?of?hardware?byte?swapping.?In?such?cases?all?the?registers?
which?the?chip?DMA?s?to?have?to?be?swapped?and?written?to?so?that?when?the
hardware?swaps?the?accesses?the?chip?would?see?them?correctly.?The?chip?still
has?to?be?programmed?to?operated?in?little?endian?mode?as?it?is?on?the?PCI?bus.
If?the?cpu?board?hardware?automatically?swaps?all?the?accesses?to?and?from?the
PCI?bus?then?input?and?output?byte?stream?need?not?be?swapped.?
BOARD?LAYOUT
This?device?is?on-board.??No?jumpering?diagram?is?necessary.
EXTERNAL?INTERFACE
The?only?external?interface?is?the?ln97xEndLoad()?routine?which?expects
the??parameter?as?input.??This?parameter?passes?in?a?
colon-delimited?string?of?the?format:
:::se::::
::::
The?ln97xEndLoad()?function?uses?strtok()?to?parse?the?string.
TARGET-SPECIFIC?PARAMETERS
.IP?
A?convenient?holdover?from?the?former?model.??This?parameter?is?used?only
in?the?string?name?for?the?driver.
.IP?
This?parameter?in?the?memory?base?address?of?the?device?registers?in?the
memory?map?of?the?CPU.?It?indicates?to?the?drive
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-06-16?23:51??AMD\
?????文件????????6498??2003-01-30?08:54??AMD\00bsp.cdf
?????文件?????????285??1999-08-15?03:41??AMD\00html.cdf
?????文件???????31324??2012-06-16?22:34??AMD\bootConfig.o
?????文件????????1236??2012-06-16?22:33??AMD\bootInit.o
?????文件??????285606??2012-06-16?22:35??AMD\bootrom
?????文件??????269184??2003-05-04?01:41??AMD\bootrom.bin
?????文件??????282080??2012-06-16?22:36??AMD\bootrom.sys
?????文件??????266187??2012-06-16?22:35??AMD\bootrom.Z.o
?????文件?????1959197??2012-06-16?22:35??AMD\bootrom.Z.s
?????文件??????541760??2003-05-04?01:41??AMD\bootrom_uncmp.bin
?????文件???????34028??2012-06-16?22:29??AMD\config.h
?????文件????????1278??2002-04-26?02:12??AMD\configHtml.h
?????文件????????8566??2002-06-21?05:13??AMD\configInum.h
?????文件????????5213??2002-04-26?04:02??AMD\configNet.h
?????文件???????58513??2012-06-16?22:33??AMD\depend.pcPentium
?????文件?????????226??2012-06-16?22:36??AMD\make.bat
?????文件????????3753??2002-07-16?08:58??AMD\Makefile
?????文件???????25394??2002-07-19?03:42??AMD\mkboot.c
?????文件???????13865??2002-07-12?13:35??AMD\pc.h
?????文件???????21773??2002-12-10?01:57??AMD\pciCfgIntStub.c
?????文件????????4150??2002-12-10?01:57??AMD\pciCfgStub.c
?????文件????????2365??2003-05-02?10:16??AMD\README
?????文件????????1658??1999-08-15?03:42??AMD\romcard.s
?????文件????????1892??2012-06-16?22:33??AMD\romInit.o
?????文件???????11555??2003-01-30?08:52??AMD\romInit.s
?????文件????????3184??2012-06-16?22:34??AMD\sysALib.o
?????文件???????20803??2003-01-30?08:52??AMD\sysALib.s
?????文件???????19181??2002-12-10?01:57??AMD\sysDec21x40End.c
?????文件???????20601??2002-03-12?03:11??AMD\sysEl3c90xEnd.c
?????文件????????6694??2002-06-20?13:08??AMD\sysElt3c509End.c
............此處省略111個文件信息
- 上一篇:光電檢測技術2
- 下一篇:FM1182回音消除IC資料大全
評論
共有 條評論