diff options
author | Vitaly Bordug <vbordug@ru.mvista.com> | 2006-08-15 06:00:29 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 21:44:31 (GMT) |
commit | 11b0bacd717c285c94dbb56505a28434b34f0639 (patch) | |
tree | d98e1576210a258d3b412809dfe0177f028575be /include/linux | |
parent | ec42cdb624059bb9d9d1accca5ed4345bf8f5fda (diff) | |
download | linux-fsl-qoriq-11b0bacd717c285c94dbb56505a28434b34f0639.tar.xz |
[PATCH] PAL: Support of the fixed PHY
This makes it possible for HW PHY-less boards to utilize PAL goodies. Generic
routines to connect to fixed PHY are provided, as well as ability to specify
software callback that fills up link, speed, etc. information into PHY
descriptor (the latter feature not tested so far).
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 331521a..9447a57 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -378,6 +378,7 @@ int phy_mii_ioctl(struct phy_device *phydev, struct mii_ioctl_data *mii_data, int cmd); int phy_start_interrupts(struct phy_device *phydev); void phy_print_status(struct phy_device *phydev); +struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id); extern struct bus_type mdio_bus_type; #endif /* __PHY_H */ |