diff options
author | David Woodhouse <dwmw2@infradead.org> | 2010-04-02 05:05:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 01:30:39 +0400 |
commit | 8626d3b4328061f5b82b11ae1d6918a0c3602f42 (patch) | |
tree | be2b509a0d47903ff2ac1d10255a760ade82daca /include/linux/phy.h | |
parent | 9092c658bab215b2752fa59d2a36c05b74d1e9e9 (diff) | |
download | linux-8626d3b4328061f5b82b11ae1d6918a0c3602f42.tar.xz |
phylib: Support phy module autoloading
We don't use the normal hotplug mechanism because it doesn't work. It will
load the module some time after the device appears, but that's not good
enough for us -- we need the driver loaded _immediately_ because otherwise
the NIC driver may just abort and then the phy 'device' goes away.
[bwh: s/phy/mdio/ in module alias, kerneldoc for struct mdio_device_id]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-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 d9bce4b526b4..987e111f7b11 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -24,6 +24,7 @@ #include <linux/mii.h> #include <linux/timer.h> #include <linux/workqueue.h> +#include <linux/mod_devicetable.h> #include <asm/atomic.h> |