diff options
author | Kumar Gala <galak@gate.crashing.org> | 2006-01-11 20:27:33 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-12 22:31:52 +0100 |
commit | 4d3248a29cb78b31bb0520eb99b4be620e810a40 (patch) | |
tree | b33b6a028b926c9a260be42534ddf9b998dbb9b2 /include | |
parent | [PATCH] phy: Added a macro to represent the string format used to match a phy... (diff) | |
download | linux-4d3248a29cb78b31bb0520eb99b4be620e810a40.tar.xz linux-4d3248a29cb78b31bb0520eb99b4be620e810a40.zip |
[PATCH] gianfar: Use new PHY_ID_FMT macro
Make the driver produce the string used by phy_connect and have board specific
code pass the integer mii bus id and phy device id for the specific controller
instance.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index a7a2b855ba72..a9f1cfd096ff 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -50,7 +50,8 @@ struct gianfar_platform_data { /* board specific information */ u32 board_flags; - const char *bus_id; + u32 bus_id; + u32 phy_id; u8 mac_addr[6]; }; |