| .. | .. |
|---|
| 215 | 215 | return 0; |
|---|
| 216 | 216 | } |
|---|
| 217 | 217 | |
|---|
| 218 | +static int b53_mmap_phy_read16(struct b53_device *dev, int addr, int reg, |
|---|
| 219 | + u16 *value) |
|---|
| 220 | +{ |
|---|
| 221 | + return -EIO; |
|---|
| 222 | +} |
|---|
| 223 | + |
|---|
| 224 | +static int b53_mmap_phy_write16(struct b53_device *dev, int addr, int reg, |
|---|
| 225 | + u16 value) |
|---|
| 226 | +{ |
|---|
| 227 | + return -EIO; |
|---|
| 228 | +} |
|---|
| 229 | + |
|---|
| 218 | 230 | static const struct b53_io_ops b53_mmap_ops = { |
|---|
| 219 | 231 | .read8 = b53_mmap_read8, |
|---|
| 220 | 232 | .read16 = b53_mmap_read16, |
|---|
| .. | .. |
|---|
| 226 | 238 | .write32 = b53_mmap_write32, |
|---|
| 227 | 239 | .write48 = b53_mmap_write48, |
|---|
| 228 | 240 | .write64 = b53_mmap_write64, |
|---|
| 241 | + .phy_read16 = b53_mmap_phy_read16, |
|---|
| 242 | + .phy_write16 = b53_mmap_phy_write16, |
|---|
| 229 | 243 | }; |
|---|
| 230 | 244 | |
|---|
| 231 | 245 | static int b53_mmap_probe(struct platform_device *pdev) |
|---|