1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* simple name description */
16 Name(STTM, Buffer(20) {
17 0x78, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00,
18 0x78, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00,
19 0x1f, 0x00, 0x00, 0x00
22 /* Start by clearing the PhyRdyChg bits */
30 Method(_GTM, 0x0, NotSerialized) {
33 Method(_STM, 0x3, NotSerialized) {}
39 return (0x0F) /* sata is visible */
42 return (0x00) /* sata is missing */
52 return (0x0F) /* sata is visible */
55 return (0x00) /* sata is missing */
64 Name(_ADR, 1) /* IDE Scondary Channel */
65 Method(_GTM, 0x0, NotSerialized) {
68 Method(_STM, 0x3, NotSerialized) {}
75 return (0x0F) /* sata is visible */
78 return (0x00) /* sata is missing */
88 return (0x0F) /* sata is visible */
91 return (0x00) /* sata is missing */
97 /* SATA Hot Plug Support */
99 Method(_L1F,0x0,NotSerialized) {
104 Notify(\_SB.PCI0.STCR.PMRY.PMST, 0x01) /* NOTIFY_DEVICE_CHECK */
112 Notify(\_SB.PCI0.STCR.PMRY.PSLA, 0x01) /* NOTIFY_DEVICE_CHECK */
120 Notify(\_SB.PCI0.STCR.SEDY.SMST, 0x01) /* NOTIFY_DEVICE_CHECK */
128 Notify(\_SB.PCI0.STCR.SEDY.SSLA, 0x01) /* NOTIFY_DEVICE_CHECK */