projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar71xx
/
files
/
include
/
linux
/
spi
/
vsc7385.h
diff --git
a/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
b/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
index 6d1bb132faf3078f174e7ec9faeccf486803d833..90e05c83d2e1ee5fdee5c13b12cfc0c20d6e9148 100644
(file)
--- a/
target/linux/ar71xx/files/include/linux/spi/vsc7385.h
+++ b/
target/linux/ar71xx/files/include/linux/spi/vsc7385.h
@@
-11,4
+11,9
@@
struct vsc7385_platform_data {
void (* reset)(void);
char *ucode_name;
+ struct {
+ u32 tx_ipg:5;
+ u32 bit2:1;
+ u32 clk_sel:3;
+ } mac_cfg;
};