| .. | .. |
|---|
| 404 | 404 | return bcm54xx_config_init(phydev); |
|---|
| 405 | 405 | } |
|---|
| 406 | 406 | |
|---|
| 407 | +static int bcm54810_read_mmd(struct phy_device *phydev, int devnum, u16 regnum) |
|---|
| 408 | +{ |
|---|
| 409 | + return -EOPNOTSUPP; |
|---|
| 410 | +} |
|---|
| 411 | + |
|---|
| 412 | +static int bcm54810_write_mmd(struct phy_device *phydev, int devnum, u16 regnum, |
|---|
| 413 | + u16 val) |
|---|
| 414 | +{ |
|---|
| 415 | + return -EOPNOTSUPP; |
|---|
| 416 | +} |
|---|
| 417 | + |
|---|
| 407 | 418 | static int bcm54811_config_init(struct phy_device *phydev) |
|---|
| 408 | 419 | { |
|---|
| 409 | 420 | int err, reg; |
|---|
| .. | .. |
|---|
| 841 | 852 | .phy_id_mask = 0xfffffff0, |
|---|
| 842 | 853 | .name = "Broadcom BCM54810", |
|---|
| 843 | 854 | /* PHY_GBIT_FEATURES */ |
|---|
| 855 | + .read_mmd = bcm54810_read_mmd, |
|---|
| 856 | + .write_mmd = bcm54810_write_mmd, |
|---|
| 844 | 857 | .config_init = bcm54xx_config_init, |
|---|
| 845 | 858 | .config_aneg = bcm5481_config_aneg, |
|---|
| 846 | 859 | .ack_interrupt = bcm_phy_ack_intr, |
|---|