| commit | 9d9326d3bc0ea9a8bbe40bf3e5e66c7b9858caa0 | [log] [tgz] |
|---|---|---|
| author | Andy Fleming <afleming@freescale.com> | Wed Apr 09 19:38:13 2008 -0500 |
| committer | Jeff Garzik <jgarzik@redhat.com> | Wed Apr 16 20:09:35 2008 -0400 |
| tree | 51b2ee6bfa87bbd6faac0bc00a787354e1fb72a0 | |
| parent | d080cd6301e107e79c6a0fc654319f8979f70549 [diff] |
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>