projects
/
openwrt
/
staging
/
aparcar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: mt7620: add EPHY base mdio address changing possibility
[openwrt/staging/aparcar.git]
/
target
/
linux
/
ramips
/
files-4.14
/
drivers
/
net
/
ethernet
/
mediatek
/
gsw_mt7620.h
diff --git
a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
index ae0b6de02416bbf9604c32c3a74b93173d6399a6..555a586c405eb92706a1bcdeb6d59331e353fecc 100644
(file)
--- a/
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
+++ b/
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h
@@
-103,6
+103,7
@@
struct mt7620_gsw {
int irq;
int port4;
unsigned long int autopoll;
+ u16 ephy_base;
};
void mtk_switch_w32(struct mt7620_gsw *gsw, u32 val, unsigned reg);