d6624b3062a451f4b865a41389cd1c16826327f2
[coreboot.git] / src / southbridge / sis / sis966 / sis966.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)
5  * Written by Morgan Tsai <my_tsai@sis.com> for SiS.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
20  */
21
22 #ifndef SIS966_H
23 #define SIS966_H
24
25 #if CONFIG_HT_CHAIN_END_UNITID_BASE < CONFIG_HT_CHAIN_UNITID_BASE
26 #define SIS966_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
27 #else
28 #define SIS966_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
29 #endif
30
31 #define DEBUG_AZA 0
32 #define DEBUG_NIC 0
33 #define DEBUG_IDE 0
34 #define DEBUG_SATA 0
35 #define DEBUG_USB 0
36 #define DEBUG_USB2 0
37
38 #if !defined(__ROMCC__)
39 void sis966_enable(device_t dev);
40 #endif
41
42 #if defined(__PRE_RAM__) && !defined(__ROMCC__)
43 void enable_usbdebug(unsigned int port);
44 #endif
45
46 #endif /* SIS966_H */