数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AM79C970 数据表(PDF) 46 Page - Advanced Micro Devices

部件名 AM79C970
功能描述  PCnetTM-PCI Single-Chip Ethernet Controller for PCI Local Bus
PDF  168 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AMD [Advanced Micro Devices]
网页  http://www.amd.com
标志 AMD - Advanced Micro Devices

AM79C970 数据表(HTML) 46 Page - Advanced Micro Devices

Back Button AM79C970 Datasheet HTML 42Page - Advanced Micro Devices AM79C970 Datasheet HTML 43Page - Advanced Micro Devices AM79C970 Datasheet HTML 44Page - Advanced Micro Devices AM79C970 Datasheet HTML 45Page - Advanced Micro Devices AM79C970 Datasheet HTML 46Page - Advanced Micro Devices AM79C970 Datasheet HTML 47Page - Advanced Micro Devices AM79C970 Datasheet HTML 48Page - Advanced Micro Devices AM79C970 Datasheet HTML 49Page - Advanced Micro Devices AM79C970 Datasheet HTML 50Page - Advanced Micro Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 168 page
background image
P R E L I M I N A R Y
AMD
1-913
Am79C970
Buffer Management Unit (BMU)
The buffer management unit is a micro-coded state ma-
chine which implements the initialization procedure and
manages the descriptors and buffers. The buffer man-
agement unit operates at half the speed of the
CLK input.
Initialization
PCnet-PCI initialization includes the reading of the in-
itialization block in memory to obtain the operating pa-
rameters. The initialization block is read when the INIT
bit in CSR0 is set. The INIT bit should be set before or
concurrent with the STRT bit to insure correct operation.
Two DWORDs are read during each period of bus ma-
stership. When SSIZE32 = 1 (BCR20, bit 8), this results
in a total of 4 arbitration cycles (3 arbitration cycles if
SSIZE32 = 0). Once the initialization block has been
completely read in and internal registers have been up-
dated, IDON will be set in CSR0, and an interrupt gener-
ated (if IENA is set). At this point, the BMU knows where
the receive and transmit descriptor rings and hence,
normal network operations will begin.
The PCnet-PCI controller obtains the start address of
the Initialization Block from the contents of CSR1 (least
significant 16 bits of address) and CSR2 (most signifi-
cant 16 bits of address). The host must write CSR1 and
CSR2 before setting the INIT bit. The block contains the
user defined conditions for PCnet-PCI operation, to-
gether with the base addresses and length information
of the transmit and receive descriptor rings.
There is an alternative method to initialize the PCnet-
PCI controller. Instead of initialization via the initializa-
tion block in memory, data can be written directly into the
appropriate registers. Either method may be used at the
discretion of the programmer. If the registers are written
to directly, the INIT bit must not be set, or the initializa-
tion block will be read in, thus overwriting the previously
written information. Please refer to Appendix C for de-
tails on this alternative method.
If initialization is done by writing directly to registers, the
Polling Interval register (CSR47) must be initialized in
addition to those registers that can be loaded automati-
cally from the initialization block.
Re-Initialization
The transmitter and receiver sections of the PCnet-PCI
controller can be turned on via the initialization block
(MODE Register DTX, DRX bits; CSR15[1:0]). The
states of the transmitter and receiver are monitored by
the host through CSR0 (RXON, TXON bits). The PCnet-
PCI controller should be reinitialized if the transmitter
and/or the receiver were not turned on during the origi-
nal initialization, and it was subsequently required to ac-
tivate them or if either section was shut off due to the
detection of an error condition (MERR, UFLO, TX
BUFF error).
Reinitialization may be done via the initialization block or
by setting the STOP bit in CSR0, followed by writing to
CSR15, and then setting the START bit in CSR0. Note
that this form of restart will not perform the same in the
PCnet-PCI controller as in the LANCE. In particular,
upon restart, the PCnet-PCI controller reloads the trans-
mit and receive descriptor pointers with their respective
base addresses. This means that the software must
clear the descriptor own bits and reset its descriptor ring
pointers before the restart of the PCnet-PCI controller.
The reload of descriptor base addresses is performed in
the LANCE only after initialization, so a restart of the
LANCE without initialization leaves the LANCE pointing
at the same descriptor locations as before the restart.
Buffer Management
Buffer management is accomplished through message
descriptor entries organized as ring structures in mem-
ory. There are two rings, a receive ring and a transmit
ring. The size of a message descriptor entry is 4
DWORDs, or 16 bytes, when SSIZE32 = 1. The size of a
message descriptor entry is 4 words, or 8 bytes, when
SSIZE32 = 0.
Descriptor Rings
Each descriptor ring must be organized in a contiguous
area of memory. At initialization time (setting the INIT bit
in CSR0), the PCnet-PCI controller reads the user-de-
fined base address for the transmit and receive descrip-
tor rings, as well as the number of entries contained in
the descriptor rings. Descriptor ring base addresses
must be on a 16-byte boundary when SSIZE32=1, and
8-byte boundary when SSIZE=0. A maximum of 128 (or
512, depending upon the value of SSIZE32) ring entries
is allowed when the ring length is set through the TLEN
and RLEN fields of the initialization block. However, the
ring lengths can be set beyond this range (up to 65535)
by writing the transmit and receive ring length registers
(CSR76, CSR78) directly.
Each ring entry contains the following information:
1. The address of the actual message data buffer in
user or host memory
2. The length of the message buffer
3. Status information indicating the condition of the
buffer
To permit the queuing and de-queuing of message buff-
ers, ownership of each buffer is allocated to either the
PCnet-PCI controller or the host. The OWN bit within the
descriptor status information, either TMD or RMD (see
section on TMD or RMD), is used for this purpose.
OWN = “1” signifies that the PCnet-PCI controller cur-
rently has ownership of this ring descriptor and its asso-
ciated buffer. Only the owner is permitted to relinquish
ownership or to write to any field in the descriptor entry.
A device that is not the current owner of a descriptor en-
try cannot assume ownership or change any field in the



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com