OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: dsa: mv88e6xxx: Remove SERDES flag
[uclinux-h8/linux.git]
/
drivers
/
net
/
dsa
/
mv88e6xxx
/
phy.c
diff --git
a/drivers/net/dsa/mv88e6xxx/phy.c
b/drivers/net/dsa/mv88e6xxx/phy.c
index
0e6c72b
..
0d3e8aa
100644
(file)
--- a/
drivers/net/dsa/mv88e6xxx/phy.c
+++ b/
drivers/net/dsa/mv88e6xxx/phy.c
@@
-62,9
+62,6
@@
int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val)
static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page)
{
- if (!mv88e6xxx_has(chip, MV88E6XXX_FLAG_PHY_PAGE))
- return -EOPNOTSUPP;
-
return mv88e6xxx_phy_write(chip, phy, PHY_PAGE, page);
}