Adaptec 1737100 Programmer Manual - Page 50

Power Management

Page 50 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual Power Management The PCI bus power management defined four power states. D0 indicates the "On" state, D3 indicates the "Off" state, and D1 and D2 represent power managed states. In the AIC-6915, three states are supported. D0 and D3 are required states and D2 is an optional state. Table 4-1 shows the states supported by the AIC-6915. Device States D0 D2 D3 Table 4-1. Power Management States Function Context Power Supported Action to Function Supported Actions from Function Implementation in PCI Module All context is retained Full power Any PCI transaction Any PCI Regular power and transaction or clocks interrupt All PCI configuration registers and Receive module are retained Lower power than D0 PCI Configuration Access Wakeup event All clocks stop other than target module and Receive module. Target abort if not config cycle All PCI configuration registers are retained Lower power PCI than any other Configuration state Access No action All clocks stop other than target module. target abort if not config cycle The assertion of RST_ on the PCI bus always returns the PCI function to the D0 uninitialized power-on default state. Removing Vcc always transitions the function to the D3 state. All other function power state changes are made by software through the PMCSR register. When a function is not in the D0 state, the value of the Bus Master, Memory Space and I/O Space bits in the PCI Command register are ignored, along with all Memory and I/O accesses on the PCI bus. In the D1, D2, and D3 states, only PCI configuration space can be accessed. All the other functional blocks are stopped, including the PCI master submodule and the BAC module. For the device to start another transaction other than a configuration access, software must return that device to the D0 state. This is accomplished by setting the Powerstate bits in the PMCSR register to the D0 state, or by a wakeup event that is initiated by the Receive module. When the PCI module receives any transfer request from the Receive module, it generates a PME_ (Power Management Event) interrupt. Software then checks the power management status registers and sets the PowerState to D0 and activates the full power PCI bus access. PME_ can be enabled by setting PME_Support field in the PMC (Power Management Capabilities) register. When the POWERSTATE bits in PMCSR are being changed, the PCI module sends a state change request to all other modules to make sure there are no current of pending transfers. The power state can be changed only after acknowledgment is received from all modules. 4-8

  • 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

4-8
AIC-6915 Ethernet LAN Controller Programmer’s Manual
Power Management
The PCI bus power management defined four power states. D0 indicates the “On” state,
D3 indicates the “Off” state, and D1 and D2 represent power managed states. In the
AIC-6915, three states are supported. D0 and D3 are required states and D2 is an optional
state. Table 4-1 shows the states supported by the AIC-6915.
The assertion of
RST_
on the PCI bus always returns the PCI function to the D0
uninitialized power-on default state. Removing Vcc always transitions the function to the
D3 state. All other function power state changes are made by software through the
PMCSR
register.
When a function is not in the D0 state, the value of the Bus Master, Memory Space and
I/O Space bits in the PCI Command register are ignored, along with all Memory and I/O
accesses on the PCI bus. In the D1, D2, and D3 states, only PCI configuration space can be
accessed. All the other functional blocks are stopped, including the PCI master sub-
module and the BAC module.
For the device to start another transaction other than a configuration access, software
must return that device to the D0 state. This is accomplished by setting the
Powerstate
bits
in the PMCSR register to the D0 state, or by a wakeup event that is initiated by the Receive
module. When the PCI module receives any transfer request from the Receive module, it
generates a PME_ (Power Management Event) interrupt. Software then checks the power
management status registers and sets the PowerState to D0 and activates the full power
PCI bus access. PME_ can be enabled by setting PME_Support field in the PMC (Power
Management Capabilities) register.
When the
P
OWER
S
TATE
bits in
PMCSR
are being changed, the PCI module sends a state
change request to all other modules to make sure there are no current of pending
transfers. The power state can be changed only after acknowledgment is received from all
modules.
Table 4-1. Power Management States
Device
States
Function Context
Power
Supported
Action to
Function
Supported
Actions from
Function
Implementation in
PCI Module
D0
All context is
retained
Full power
Any PCI
transaction
Any PCI
transaction or
interrupt
Regular power and
clocks
D2
All PCI
configuration
registers and
Receive module
are retained
Lower power
than D0
PCI
Configuration
Access
Wakeup
event
All clocks stop
other than target
module and
Receive module.
Target abort if not
config cycle
D3
All PCI
configuration
registers are
retained
Lower power
than any other
state
PCI
Configuration
Access
No action
All clocks stop
other than target
module. target
abort if not config
cycle