1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00
Files
openwrt-xburst/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
juhosg 3f82f4f4f2 [ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 14:59:31 +00:00

20 lines
478 B
C

/*
* Platform data definition for the Vitesse VSC7385 ethernet switch driver
*
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
struct vsc7385_platform_data {
void (* reset)(void);
char *ucode_name;
struct {
u32 tx_ipg:5;
u32 bit2:1;
u32 clk_sel:3;
} mac_cfg;
};