Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Author: Armin Kuster <akuster@mvista.com> |
| 3 | * |
| 4 | * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under |
| 5 | * the terms of the GNU General Public License version 2. This program |
| 6 | * is licensed "as is" without any warranty of any kind, whether express |
| 7 | * or implied. |
| 8 | */ |
| 9 | |
| 10 | #ifdef __KERNEL__ |
| 11 | #ifndef __ASM_IBM_OCP_PCI_H__ |
| 12 | #define __ASM_IBM_OCP_PCI_H__ |
| 13 | |
| 14 | /* PCI 32 */ |
| 15 | |
| 16 | struct pmm_regs { |
| 17 | u32 la; |
| 18 | u32 ma; |
| 19 | u32 pcila; |
| 20 | u32 pciha; |
| 21 | }; |
| 22 | |
| 23 | typedef struct pcil0_regs { |
| 24 | struct pmm_regs pmm[3]; |
| 25 | u32 ptm1ms; |
| 26 | u32 ptm1la; |
| 27 | u32 ptm2ms; |
| 28 | u32 ptm2la; |
| 29 | } pci0_t; |
| 30 | |
| 31 | #endif /* __ASM_IBM_OCP_PCI_H__ */ |
| 32 | #endif /* __KERNEL__ */ |