Specifications

©
2008 Advanced Micro Devices Inc.
Sample Programs
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 75
// For SATA at Bus 0, Device 12h, Function 0, channel 1 device
// Check if change in the status of the Serial ATA PHY
if(\_SB_.PCI0.SATA.STA1) { // BAR5, offset 18Ah, bit 0
Notify(\_SB.PCI0.SATA.SECD.S_D0, 0x00)
sleep(2000)
Notify(\_SB.PCI0.SATA.SECD, 0x01)
sleep(2000)
store(\_SB_.PCI0.SATA.STA1,\_SB_.PCI0.SATA.STA1) //clear Status
// of slave SAT
}
// For SATA at Bus 0, Device 11h, Function 0 , channel 0 device
// Check if change in the status of the Serial ATA PHY
if(\_SB_.PCI0.SAT2.STA0){ //BAR5, offset 10ah, bit0
Notify(\_SB.PCI0.SAT2.PRID.P_D0, 0x00)
sleep(2000)
Notify(\_SB.PCI0.SAT2.PRID, 0x01)
sleep(2000)
store(\_SB_.PCI0.SAT2.STA0,\_SB_.PCI0.SAT2.STA0) //clear Status
// of master SATA
}
// For SATA at Bus 0, Device 11h, Function 0, channel 1 device
// Check if change in the status of the Serial ATA PHY
if(\_SB_.PCI0.SAT2.STA1) { //BAR4, offset 18Ah, bit 0
Notify(\_SB.PCI0.SAT2.SECD.S_D0, 0x00)
sleep(2000)
Notify(\_SB.PCI0.SAT2.SECD, 0x01)
sleep(2000)
store(\_SB_.PCI0.SAT2.STA1,\_SB_.PCI0.SAT2.STA1) //clear
// Status of slave SAT
}
} // End of Method(_L1F)
} // End of Scope(\_GPE)