[PATCH] tty_io.c balance tty_ldisc_ref()
[linux/fpc-iii.git] / include / asm-arm / arch-iop33x / hardware.h
blob0659cf94d040dd9ff6fdbad9658aa076df4f1172
1 /*
2 * include/asm-arm/arch-iop33x/hardware.h
3 */
5 #ifndef __HARDWARE_H
6 #define __HARDWARE_H
8 #include <asm/types.h>
11 * Note about PCI IO space mappings
13 * To make IO space accesses efficient, we store virtual addresses in
14 * the IO resources.
16 * The PCI IO space is located at virtual 0xfe000000 from physical
17 * 0x90000000. The PCI BARs must be programmed with physical addresses,
18 * but when we read them, we convert them to virtual addresses. See
19 * arch/arm/mach-iop3xx/iop3xx-pci.c
21 #define pcibios_assign_all_busses() 1
22 #define PCIBIOS_MIN_IO 0x00000000
23 #define PCIBIOS_MIN_MEM 0x00000000
25 #ifndef __ASSEMBLY__
26 void iop33x_init_irq(void);
28 extern struct platform_device iop33x_uart0_device;
29 extern struct platform_device iop33x_uart1_device;
30 #endif
34 * Generic chipset bits
37 #include "iop33x.h"
40 * Board specific bits
42 #include "iq80331.h"
43 #include "iq80332.h"
46 #endif