1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Intel PATA Controller 0:1f.1
7 Name (_ADR, 0x001f0001)
14 Method (_GTM, 0, Serialized)
16 Name(PBUF, Buffer(20) {
17 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
18 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
19 0x00,0x00,0x00,0x00 })
21 CreateDwordField (PBUF, 0, PIO0)
22 CreateDwordField (PBUF, 4, DMA0)
23 CreateDwordField (PBUF, 8, PIO1)
24 CreateDwordField (PBUF, 12, DMA1)
25 CreateDwordField (PBUF, 16, FLAG)
27 // TODO fill return structure
35 CreateDwordField (Arg0, 0, PIO0)
36 CreateDwordField (Arg0, 4, DMA0)
37 CreateDwordField (Arg0, 8, PIO1)
38 CreateDwordField (Arg0, 12, DMA1)
39 CreateDwordField (Arg0, 16, FLAG)