]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
phy: Change mii_bus id field to a string
authorAndy Fleming <afleming@freescale.com>
Thu, 10 Apr 2008 00:38:13 +0000 (19:38 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:09:35 +0000 (20:09 -0400)
commit9d9326d3bc0ea9a8bbe40bf3e5e66c7b9858caa0
tree51b2ee6bfa87bbd6faac0bc00a787354e1fb72a0
parentd080cd6301e107e79c6a0fc654319f8979f70549
phy: Change mii_bus id field to a string

Having the id field be an int was making more complex bus topologies
excessively difficult.  For now, just convert it to a string, and
change all instances of "bus->id = val" to
snprintf(id, MII_BUS_ID_LEN, "%x", val).

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
21 files changed:
arch/powerpc/platforms/82xx/ep8248e.c
arch/powerpc/platforms/pasemi/gpio_mdio.c
arch/powerpc/sysdev/fsl_soc.c
drivers/net/au1000_eth.c
drivers/net/bfin_mac.c
drivers/net/cpmac.c
drivers/net/fec_mpc52xx.c
drivers/net/fec_mpc52xx_phy.c
drivers/net/fs_enet/fs_enet-main.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/pasemi_mac.c
drivers/net/phy/fixed.c
drivers/net/sb1250-mac.c
drivers/net/ucc_geth.c
drivers/net/ucc_geth.h
drivers/net/ucc_geth_mii.c
include/linux/fsl_devices.h
include/linux/phy.h