]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
phylib: move to dynamic allocation of struct mii_bus
authorLennert Buytenhek <buytenh@marvell.com>
Wed, 8 Oct 2008 23:29:57 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:29:57 +0000 (16:29 -0700)
commit298cf9beb9679522de995e249eccbd82f7c51999
treecabbc9c696a063982aea9a24d8caa667daa33a1a
parent18ee49ddb0d242ed1d0e273038d5e4f6de7379d3
phylib: move to dynamic allocation of struct mii_bus

This patch introduces mdiobus_alloc() and mdiobus_free(), and
makes all mdio bus drivers use these functions to allocate their
struct mii_bus'es dynamically.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Andy Fleming <afleming@freescale.com>
23 files changed:
drivers/net/au1000_eth.c
drivers/net/au1000_eth.h
drivers/net/bfin_mac.c
drivers/net/bfin_mac.h
drivers/net/cpmac.c
drivers/net/fec_mpc52xx_phy.c
drivers/net/fs_enet/mii-bitbang.c
drivers/net/fs_enet/mii-fec.c
drivers/net/gianfar_mii.c
drivers/net/macb.c
drivers/net/macb.h
drivers/net/mv643xx_eth.c
drivers/net/phy/fixed.c
drivers/net/phy/mdio-bitbang.c
drivers/net/phy/mdio-ofgpio.c
drivers/net/phy/mdio_bus.c
drivers/net/sb1250-mac.c
drivers/net/sh_eth.c
drivers/net/tc35815.c
drivers/net/tg3.c
drivers/net/tg3.h
drivers/net/ucc_geth_mii.c
include/linux/phy.h