fix to allow usb modules to compile
[linux-2.4.21-pre4.git] / arch / ppc / platforms / ibmstb4.c
1 /*
2  *
3  *    Copyright 2000-2001 MontaVista Software Inc.
4  *      Completed implementation.
5  *      Current maintainer
6  *      Armin Kuster akuster@mvista.com
7  *
8  *    Module name: ibmstb4.c
9  *
10  *
11  * This program is free software; you can redistribute  it and/or modify it
12  *  under  the terms of  the GNU General Public License as published by the
13  *  Free Software Foundation;  either version 2 of the  License, or (at your
14  *  option) any later version.
15  *
16  *  THIS  SOFTWARE  IS PROVIDED   ``AS  IS'' AND   ANY  EXPRESS OR   IMPLIED
17  *  WARRANTIES,   INCLUDING, BUT NOT  LIMITED  TO, THE IMPLIED WARRANTIES OF
18  *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
19  *  NO  EVENT  SHALL   THE AUTHOR  BE    LIABLE FOR ANY   DIRECT,  INDIRECT,
20  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21  *  NOT LIMITED   TO, PROCUREMENT OF  SUBSTITUTE GOODS  OR SERVICES; LOSS OF
22  *  USE, DATA,  OR PROFITS; OR  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
23  *  ANY THEORY OF LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT
24  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25  *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  *  You should have received a copy of the  GNU General Public License along
28  *  with this program; if not, write  to the Free Software Foundation, Inc.,
29  *  675 Mass Ave, Cambridge, MA 02139, USA.
30  *
31  *      History: 12/26/2001 - armin
32  *              initial release
33  *
34  *              : 05/05/02 - Armin
35  *                replaced all const strcuts with new core_ocp
36  *
37  *              : 07/07/02 - Armin
38  *              added OCP_IRQ_MUL to define EMAC
39  *              and added PM register
40  *
41  */
42
43 #include <linux/config.h>
44 #include <linux/module.h>
45 #include <platforms/ibmstb4.h>
46 #include <asm/ocp.h>
47
48 struct ocp_def core_ocp[] = {
49         {UART, UART0_IO_BASE, UART0_INT,IBM_CPM_UART0},
50         {UART, UART1_IO_BASE, UART1_INT, IBM_CPM_UART1},
51         {UART, UART2_IO_BASE, UART2_INT, IBM_CPM_UART2},
52         {IIC, IIC0_BASE, IIC0_IRQ, IBM_CPM_IIC0},
53         {IIC, IIC1_BASE, IIC1_IRQ, IBM_CPM_IIC1},
54         {GPIO, GPIO0_BASE, OCP_IRQ_NA, IBM_CPM_GPIO0},
55         {IDE, IDE0_BASE, IDE0_IRQ, OCP_CPM_NA},
56         {USB, USB0_BASE, USB0_IRQ, IBM_CPM_USB0},
57         {OCP_NULL_TYPE, 0x0, OCP_IRQ_NA, OCP_CPM_NA},
58
59 };