Fix i82801dx_power_options() so CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL works...
[coreboot.git] / src / southbridge / intel / i82801dx / chip.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2004 Eric Biederman
5  *
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
9  * the License.
10  *
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.
15  *
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, MA  02110-1301 USA
19  */
20
21 #ifndef I82801DX_CHIP_H
22 #define I82801DX_CHIP_H
23
24 struct southbridge_intel_i82801dx_config {
25         int enable_usb;
26         int enable_native_ide;
27         /**
28          * Interrupt Routing configuration
29          * If bit7 is 1, the interrupt is disabled.
30          */
31         uint8_t pirqa_routing;
32         uint8_t pirqb_routing;
33         uint8_t pirqc_routing;
34         uint8_t pirqd_routing;
35         uint8_t pirqe_routing;
36         uint8_t pirqf_routing;
37         uint8_t pirqg_routing;
38         uint8_t pirqh_routing;
39
40         uint8_t ide0_enable;
41         uint8_t ide1_enable;
42 };
43
44 extern struct chip_operations southbridge_intel_i82801dx_ops;
45
46 #endif                          /* I82801DBM_CHIP_H */