compat: sync compat_stats with statfs.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / mips / include / asm / mach-bcm63xx / board_bcm963xx.h
blob474daaa534975b921b2f5321ddae57117832a226
1 #ifndef BOARD_BCM963XX_H_
2 #define BOARD_BCM963XX_H_
4 #include <linux/types.h>
5 #include <linux/gpio.h>
6 #include <linux/leds.h>
7 #include <bcm63xx_dev_enet.h>
8 #include <bcm63xx_dev_dsp.h>
11 * flash mapping
13 #define BCM963XX_CFE_VERSION_OFFSET 0x570
14 #define BCM963XX_NVRAM_OFFSET 0x580
17 * nvram structure
19 struct bcm963xx_nvram {
20 u32 version;
21 u8 reserved1[256];
22 u8 name[16];
23 u32 main_tp_number;
24 u32 psi_size;
25 u32 mac_addr_count;
26 u8 mac_addr_base[6];
27 u8 reserved2[2];
28 u32 checksum_old;
29 u8 reserved3[720];
30 u32 checksum_high;
34 * board definition
36 struct board_info {
37 u8 name[16];
38 unsigned int expected_cpu_id;
40 /* enabled feature/device */
41 unsigned int has_enet0:1;
42 unsigned int has_enet1:1;
43 unsigned int has_pci:1;
44 unsigned int has_pccard:1;
45 unsigned int has_ohci0:1;
46 unsigned int has_ehci0:1;
47 unsigned int has_dsp:1;
48 unsigned int has_uart0:1;
49 unsigned int has_uart1:1;
51 /* ethernet config */
52 struct bcm63xx_enet_platform_data enet0;
53 struct bcm63xx_enet_platform_data enet1;
55 /* DSP config */
56 struct bcm63xx_dsp_platform_data dsp;
58 /* GPIO LEDs */
59 struct gpio_led leds[5];
62 #endif /* ! BOARD_BCM963XX_H_ */