2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 // Intel SATA Controller 0:1f.2
24 // Note: Some BIOSes put the S-ATA code into an SSDT to make it easily
29 Name (_ADR, 0x001f0002)
38 Name(PBUF, Buffer(20) {
39 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
40 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
41 0x00,0x00,0x00,0x00 })
43 CreateDwordField (PBUF, 0, PIO0)
44 CreateDwordField (PBUF, 4, DMA0)
45 CreateDwordField (PBUF, 8, PIO1)
46 CreateDwordField (PBUF, 12, DMA1)
47 CreateDwordField (PBUF, 16, FLAG)
49 // TODO fill return structure
57 CreateDwordField (Arg0, 0, PIO0)
58 CreateDwordField (Arg0, 4, DMA0)
59 CreateDwordField (Arg0, 8, PIO1)
60 CreateDwordField (Arg0, 12, DMA1)
61 CreateDwordField (Arg0, 16, FLAG)