--- zzzz-none-000/linux-2.6.19.2/include/asm-mips/mips-boards/prom.h 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/include/asm-mips/mips-boards/prom.h 2008-05-28 10:58:09.000000000 +0000 @@ -46,4 +46,24 @@ unsigned int type; /* free or prom memory */ }; +/*------------------------------------------------------------------------------------------*\ + * Header WLAN - DECT - Config +\*------------------------------------------------------------------------------------------*/ +#define UR8_MAX_CONFIG_ENTRIES 8 + +enum wlan_dect_type { + WLAN, + DECT, + WLAN2 +}; + +struct __attribute__ ((packed)) wlan_dect_config { + unsigned char Version; /*--- z.Z. 1 ---*/ + enum wlan_dect_type Type :8; /*--- 0 - WLAN; 1 - DECT ---*/ + unsigned short Len; /*--- 384 - WLAN, 128 - DECT ---*/ +}; + +extern void set_wlan_dect_config_address(unsigned int *pConfig); +extern int get_wlan_dect_config(enum wlan_dect_type Type, unsigned char *buffer, unsigned short len); + #endif /* !(_MIPS_PROM_H) */