mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] add support for board specific vlan matrix, should fix #2132
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8309 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -37,7 +37,8 @@ struct adm5120_board {
|
||||
void (*board_setup)(void);
|
||||
void (*board_reset)(void);
|
||||
|
||||
unsigned int num_eth_ports;
|
||||
unsigned int eth_num_ports;
|
||||
unsigned char *eth_vlans;
|
||||
unsigned int num_devices;
|
||||
struct platform_device **devices;
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ extern unsigned long adm5120_memsize;
|
||||
*/
|
||||
extern unsigned int adm5120_eth_num_ports;
|
||||
extern unsigned char adm5120_eth_macs[6][6];
|
||||
extern unsigned char adm5120_eth_vlans[6];
|
||||
|
||||
extern void adm5120_soc_init(void) __init;
|
||||
extern void adm5120_mem_init(void) __init;
|
||||
|
||||
Reference in New Issue
Block a user