diff options
author | Andy Fleming <afleming@freescale.com> | 2009-02-04 19:42:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-04 19:42:35 -0500 |
commit | 1577ecef766650a57fceb171acee2b13cbfaf1d3 (patch) | |
tree | b66df11d8815f95f815e65c3c3ffd32df81b8d43 /drivers/net/Kconfig | |
parent | 9c46f6d42f1b5627c49a5906cb5b315ad8716ff0 (diff) |
netdev: Merge UCC and gianfar MDIO bus drivers
The MDIO bus drivers for the UCC and gianfar ethernet controllers are
essentially the same. There's no reason to duplicate that much code.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 49f4d50abc56..62bc0223a8ed 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2272,9 +2272,17 @@ config GELIC_WIRELESS_OLD_PSK_INTERFACE | |||
2272 | 2272 | ||
2273 | If unsure, say N. | 2273 | If unsure, say N. |
2274 | 2274 | ||
2275 | config FSL_PQ_MDIO | ||
2276 | tristate "Freescale PQ MDIO" | ||
2277 | depends on FSL_SOC | ||
2278 | select PHYLIB | ||
2279 | help | ||
2280 | This driver supports the MDIO bus used by the gianfar and UCC drivers. | ||
2281 | |||
2275 | config GIANFAR | 2282 | config GIANFAR |
2276 | tristate "Gianfar Ethernet" | 2283 | tristate "Gianfar Ethernet" |
2277 | depends on FSL_SOC | 2284 | depends on FSL_SOC |
2285 | select FSL_PQ_MDIO | ||
2278 | select PHYLIB | 2286 | select PHYLIB |
2279 | select CRC32 | 2287 | select CRC32 |
2280 | help | 2288 | help |
@@ -2284,6 +2292,7 @@ config GIANFAR | |||
2284 | config UCC_GETH | 2292 | config UCC_GETH |
2285 | tristate "Freescale QE Gigabit Ethernet" | 2293 | tristate "Freescale QE Gigabit Ethernet" |
2286 | depends on QUICC_ENGINE | 2294 | depends on QUICC_ENGINE |
2295 | select FSL_PQ_MDIO | ||
2287 | select PHYLIB | 2296 | select PHYLIB |
2288 | help | 2297 | help |
2289 | This driver supports the Gigabit Ethernet mode of the QUICC Engine, | 2298 | This driver supports the Gigabit Ethernet mode of the QUICC Engine, |