projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: mt7620: simplify DTS properties for GMAC
[openwrt/staging/noltari.git]
/
target
/
linux
/
ramips
/
files
/
drivers
/
net
/
ethernet
/
ralink
/
gsw_mt7620.h
diff --git
a/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
b/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
index f10946a1738811f24eb34b86077f4684cf67b051..91a0399976da4a4fdab8afc6e68dba0bec62ca27 100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
+++ b/
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
@@
-88,16
+88,11
@@
enum {
GSW_ATTR_PORT_UNTAG,
};
-enum {
- PORT4_EPHY = 0,
- PORT4_EXT,
-};
-
struct mt7620_gsw {
struct device *dev;
void __iomem *base;
int irq;
-
int port4
;
+
bool port4_ephy
;
unsigned long int autopoll;
u16 ephy_base;
};