aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 15:43:39 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 15:43:39 -0800
commit43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 (patch)
tree28e4c9fa3ac800e2799d48e981a25f1403c4502e /include/linux
parent58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 (diff)
parent9f3f46b5fe83a56d380d4006dd2cd906bc186f91 (diff)
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fsl_devices.h6
-rw-r--r--include/linux/phy.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 934aa9bda48..a9f1cfd096f 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -50,14 +50,12 @@ struct gianfar_platform_data {
/* board specific information */
u32 board_flags;
- const char *bus_id;
+ u32 bus_id;
+ u32 phy_id;
u8 mac_addr[6];
};
struct gianfar_mdio_data {
- /* device specific information */
- u32 paddr;
-
/* board specific information */
int irq[32];
};
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 92a9696fdeb..331521a10a2 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -53,6 +53,9 @@
#define PHY_MAX_ADDR 32
+/* Used when trying to connect to a specific phy (mii bus id:phy device id) */
+#define PHY_ID_FMT "%x:%02x"
+
/* The Bus class for PHYs. Devices which provide access to
* PHYs should register using this structure */
struct mii_bus {