]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-avr32/arch-at32ap/board.h
Pull bugfix into test branch
[linux-2.6-omap-h63xx.git] / include / asm-avr32 / arch-at32ap / board.h
index 39368e18ab2027e94e2e8772046356e4bf8d8279..b120ee030c867b97a46d1d314fe376d0f5fbd2e7 100644 (file)
@@ -9,16 +9,19 @@
 /* Add basic devices: system manager, interrupt controller, portmuxes, etc. */
 void at32_add_system_devices(void);
 
-#define AT91_NR_UART   4
-extern struct platform_device *at91_default_console_device;
+#define ATMEL_MAX_UART 4
+extern struct platform_device *atmel_default_console_device;
 
+struct atmel_uart_data {
+       short           use_dma_tx;     /* use transmit DMA? */
+       short           use_dma_rx;     /* use receive DMA? */
+       void __iomem    *regs;          /* virtual base address, if any */
+};
+void at32_map_usart(unsigned int hw_id, unsigned int line);
 struct platform_device *at32_add_device_usart(unsigned int id);
 
 struct eth_platform_data {
-       u8      valid;
-       u8      mii_phy_addr;
        u8      is_rmii;
-       u8      hw_addr[6];
 };
 struct platform_device *
 at32_add_device_eth(unsigned int id, struct eth_platform_data *data);