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 PATA Controller 0:1f.1
26 Name (_ADR, 0x001f0001)
35 Name(PBUF, Buffer(20) {
36 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
37 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
38 0x00,0x00,0x00,0x00 })
40 CreateDwordField (PBUF, 0, PIO0)
41 CreateDwordField (PBUF, 4, DMA0)
42 CreateDwordField (PBUF, 8, PIO1)
43 CreateDwordField (PBUF, 12, DMA1)
44 CreateDwordField (PBUF, 16, FLAG)
46 // TODO fill return structure
54 CreateDwordField (Arg0, 0, PIO0)
55 CreateDwordField (Arg0, 4, DMA0)
56 CreateDwordField (Arg0, 8, PIO1)
57 CreateDwordField (Arg0, 12, DMA1)
58 CreateDwordField (Arg0, 16, FLAG)