18.12.2012 Views

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Scope(\_SB.PCI0) {<br />

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

Device(DOCK1) { // Pass through dock – DOCK1<br />

Name(_ADR, …)<br />

Method(_EJ0, 0) {…}<br />

Method(_DCK, 1) {…}<br />

Name(_BDN, …)<br />

Method(_STA, 0) {0xF}<br />

Name(_EDL, Package( ) { // DOCK1 has two dependent devices – IDE2 <strong>and</strong> CB2<br />

\_SB.PCI0.IDE2,<br />

\_SB.PCI0.CB2})<br />

}<br />

Device(DOCK2) { // Pass through dock – DOCK2<br />

Name(_ADR, …)<br />

Method(_EJ0, 0) {…}<br />

Method(_DCK, 1) {…}<br />

Name(_BDN, …)<br />

Method(_STA, 0) {0x0}<br />

Name(_EDL, Package( ) { // DOCK2 has one dependent device – IDE2<br />

\_SB.PCI0.IDE2})<br />

}<br />

Device(IDE1) { // IDE Drive1 not dependent on the dock<br />

Name(_ADR, …)<br />

}<br />

Device(IDE2) { // IDE Drive2<br />

Name(_ADR, …)<br />

Name(_EJD,”\\_SB.PCI0.DOCK1”) // Dependent on DOCK1<br />

}<br />

Device(CB2) { // CardBus Controller<br />

Name(_ADR, …)<br />

Name(_EJD,”\\_SB.PCI0.DOCK1”) // Dependent on DOCK1<br />

}<br />

} // end \_SB.PCIO<br />

6.3.3 _EJx (Eject)<br />

These control methods are optional <strong>and</strong> are supplied for devices that support a software-controlled<br />

VCR-style ejection mechanism or that require an action be performed such as isolation of power/<br />

data lines before the device can be removed from the system. To support warm (system is in a sleep<br />

state) <strong>and</strong> hot (system is in S0) removal, an _EJx control method is listed for each sleep state from<br />

which the device supports removal, where x is the sleeping state supported. For example, _EJ0<br />

indicates the device supports hot removal; _EJ1–EJ4 indicate the device supports warm removal.<br />

Arguments: (1)<br />

Arg0 – An Integer containing a device ejection control<br />

0 – Cancel a mark for ejection request (EJ0 will never be called with this value)<br />

1 – Hot eject or mark for ejection<br />

Return Value:<br />

None<br />

For hot removal, the device must be immediately ejected when OSPM calls the _EJ0 control<br />

method. The _EJ0 control method does not return until ejection is complete. After calling _EJ0,<br />

Hewlett-Packard/Intel/Microsoft/Phoenix/Toshiba 301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!