diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/chelsio/subr.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/chelsio/subr.c')
-rw-r--r-- | drivers/net/chelsio/subr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c index 599d178df62d..8a43c7e19701 100644 --- a/drivers/net/chelsio/subr.c +++ b/drivers/net/chelsio/subr.c | |||
@@ -314,14 +314,12 @@ static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, | |||
314 | return 0; | 314 | return 0; |
315 | } | 315 | } |
316 | 316 | ||
317 | #if defined(CONFIG_CHELSIO_T1_1G) | ||
318 | static const struct mdio_ops mi1_mdio_ops = { | 317 | static const struct mdio_ops mi1_mdio_ops = { |
319 | .init = mi1_mdio_init, | 318 | .init = mi1_mdio_init, |
320 | .read = mi1_mdio_read, | 319 | .read = mi1_mdio_read, |
321 | .write = mi1_mdio_write, | 320 | .write = mi1_mdio_write, |
322 | .mode_support = MDIO_SUPPORTS_C22 | 321 | .mode_support = MDIO_SUPPORTS_C22 |
323 | }; | 322 | }; |
324 | #endif | ||
325 | 323 | ||
326 | #endif | 324 | #endif |
327 | 325 | ||
@@ -558,7 +556,7 @@ struct chelsio_vpd_t { | |||
558 | #define EEPROM_MAX_POLL 4 | 556 | #define EEPROM_MAX_POLL 4 |
559 | 557 | ||
560 | /* | 558 | /* |
561 | * Read SEEPROM. A zero is written to the flag register when the addres is | 559 | * Read SEEPROM. A zero is written to the flag register when the address is |
562 | * written to the Control register. The hardware device will set the flag to a | 560 | * written to the Control register. The hardware device will set the flag to a |
563 | * one when 4B have been transferred to the Data register. | 561 | * one when 4B have been transferred to the Data register. |
564 | */ | 562 | */ |