···138138 unsigned long (*bank_setup)(unsigned long);139139};140140141141-/*142142- * GPIO helper functions143143- */144144-#define GPIO_IN 0145145-#define GPIO_OUT 1146146-147147-extern void gpio_line_config(int line, int style);148148-149149-static inline int gpio_line_get(int line)150150-{151151- return (((*IXP2000_GPIO_PLR) >> line) & 1);152152-}153153-154154-static inline void gpio_line_set(int line, int value)155155-{156156- if (value) 157157- ixp2000_reg_write(IXP2000_GPIO_POSR, (1 << line));158158- else 159159- ixp2000_reg_write(IXP2000_GPIO_POCR, (1 << line));160160-}161161-162141struct ixp2000_i2c_pins {163142 unsigned long sda_pin;164143 unsigned long scl_pin;165144};145145+166146167147#endif /* !__ASSEMBLY__ */
+1
include/asm-arm/arch-ixp4xx/debug-macro.S
···1414 mrc p15, 0, \rx, c1, c01515 tst \rx, #1 @ MMU enabled?1616 moveq \rx, #0xc80000001717+ orrne \rx, \rx, #0x00b000001718 movne \rx, #0xff0000001819 add \rx,\rx,#3 @ Uart regs are at off set of 3 if1920 @ byte writes used - Big Endian.
+10
include/asm-arm/arch-ixp4xx/ixp4xx-regs.h
···6969#define IXP4XX_PERIPHERAL_BASE_VIRT (0xFFBF2000)7070#define IXP4XX_PERIPHERAL_REGION_SIZE (0x0000C000)71717272+/*7373+ * Debug UART7474+ *7575+ * This is basically a remap of UART1 into a region that is section7676+ * aligned so that it * can be used with the low-level debug code.7777+ */7878+#define IXP4XX_DEBUG_UART_BASE_PHYS (0xC8000000)7979+#define IXP4XX_DEBUG_UART_BASE_VIRT (0xffb00000)8080+#define IXP4XX_DEBUG_UART_REGION_SIZE (0x00001000)8181+7282#define IXP4XX_EXP_CS0_OFFSET 0x007383#define IXP4XX_EXP_CS1_OFFSET 0x047484#define IXP4XX_EXP_CS2_OFFSET 0x08
+2
include/asm-arm/io.h
···275275/*276276 * io{read,write}{8,16,32} macros277277 */278278+#ifndef ioread8278279#define ioread8(p) ({ unsigned int __v = __raw_readb(p); __v; })279280#define ioread16(p) ({ unsigned int __v = le16_to_cpu(__raw_readw(p)); __v; })280281#define ioread32(p) ({ unsigned int __v = le32_to_cpu(__raw_readl(p)); __v; })···294293295294extern void __iomem *ioport_map(unsigned long port, unsigned int nr);296295extern void ioport_unmap(void __iomem *addr);296296+#endif297297298298struct pci_dev;299299