Adaptec 1737100 Programmer Manual - Page 132

Internal Registers Subgroup: PCI Extra Registers

Page 132 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual PCIMasterStatus1 Register Type: R Internal Registers Subgroup: PCI Extra Registers Byte Address: 0104h - 0107h This register is used for diagnostic purposes to read the internal status of a DMA operation. Table 7-74. PCIMasterStatus1 Register Reset Bit(s) rw Value Description/Function 31:25 r 24:18 r 17 r 1 PCIRequestState: Provides the current state of the PCI master request state machine. The total number of states is 7 each state is represented by 1 bit. 1 PCIFrameState: Provides the current state of the PCI master frame state machine. The total number of states is 7 each state is represented by 1 bit. 0 GlobalDmaEn: Provides the status of the PCI Master's Global DMA Enable bit. The bit is a logical 'and' of the following: PCIMstDmaEn, RMA, RTA, (MEMSPACEN + IOSPACEN) 16 r 0 PCIDualAddrCycle: When set, this bit indicates that the last DMA operation was to 64-bit address space. 15 r 0 DmaRead: When set, this bit indicates that the DMA operation is DMA read, otherwise it is a DMA write. 14 r 13 r 12:0 r 1 PCIMstDmaDone: When set, this bit indicates that the PCI master has no pending DMA request. The transfer was completed normally, HCNT has expired (count=0), or abnormally, an unrecoverable error was encountered and the PCI master waits for software intervention. The bit is cleared when the PCI Master receives a request for a new DMA transfer. 0 PCIMstDmaReq: Provides the status of an internal signal that triggers the PCI master to start a new DMA transfer when changing to a '1'. When the signal changes to '0' while PCI Master is active, it terminates the DMA operation when the FIFO is full/empty (PCIFIFOSPACE=0) rather then when HOSTCOUNT=0. The Receive DMA uses this mode of operation since it does not know how long the transfer is when it issues a DMA request. x PCIFifoSpace: The FIFO current status. This bit provides the number of data bytes stored in the FIFO during a DMA write operation and the number of empty bytes in DMA read operation. 7-60

  • 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
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

7-60
AIC-6915 Ethernet LAN Controller Programmer’s Manual
PCIMasterStatus1 Register
Type: R
Internal Registers Subgroup: PCI Extra Registers
Byte Address: 0104h - 0107h
This register is used for diagnostic purposes to read the internal status of a DMA
operation.
Table 7-74. PCIMasterStatus1 Register
Bit(s)
rw
Reset
Value
Description/Function
31:25
r
1
PCIRequestState:
Provides the current state of the PCI master
request state machine. The total number of states is 7 each state is
represented by 1 bit.
24:18
r
1
PCIFrameState:
Provides the current state of the PCI master frame
state machine. The total number of states is 7 each state is
represented by 1 bit.
17
r
0
GlobalDmaEn
:
Provides the status of the PCI Master’s Global
DMA Enable bit. The bit is a logical ‘and’ of the following:
PCIMstDmaEn,
RMA,
RTA,
(
MEMSPACEN
+
IOSPACEN
)
16
r
0
PCIDualAddrCycle
:
When set, this bit indicates that the last DMA
operation was to 64-bit address space.
15
r
0
DmaRead
: When set, this bit indicates that the DMA operation is
DMA read, otherwise it is a DMA write.
14
r
1
PCIMstDmaDone:
When set, this bit indicates that the PCI master
has no pending DMA request. The transfer was completed normally,
HCNT
has expired (count=0), or abnormally, an unrecoverable error
was encountered and the PCI master waits for software
intervention. The bit is cleared when the PCI Master receives a
request for a new DMA transfer.
13
r
0
PCIMstDmaReq
: Provides the status of an internal signal that
triggers the PCI master to start a new DMA transfer when changing
to a ‘1’. When the signal changes to ‘0’ while PCI Master is active, it
terminates the DMA operation when the FIFO is full/empty
(
PCIF
IFO
S
PACE
=0
) rather then when
H
OST
C
OUNT
=0
. The Receive
DMA uses this mode of operation since it does not know how long
the transfer is when it issues a DMA request.
12:0
r
x
PCIFifoSpace:
The FIFO current status. This bit provides the
number of data bytes stored in the FIFO during a DMA write
operation and the number of empty bytes in DMA read operation.