summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Weitzel <j.weitzel@phytec.de>2012-03-09 10:24:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-03-13 13:35:29 +0100
commit4088ab55881f559678c68c317f024ecc8e3db3c9 (patch)
tree963a7ca0eecda40f32488ac682d59b54aa337443 /include
parentef00106960f7a2d07777b2829ffa0495379d2966 (diff)
downloadbarebox-4088ab55881f559678c68c317f024ecc8e3db3c9.tar.gz
barebox-4088ab55881f559678c68c317f024ecc8e3db3c9.tar.xz
NET: Add support for ks8851_mll
Add support for KS8851 16bit MLL chip from Micrel Inc. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/driver.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index f1964b7a01..37620273af 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -247,6 +247,17 @@ static inline struct device_d *add_usb_ehci_device(int id, resource_size_t hccr,
}
#endif
+#ifdef CONFIG_DRIVER_NET_KS8851_MLL
+struct device_d *add_ks8851_device(int id, resource_size_t addr,
+ resource_size_t addr_cmd, int flags, void *pdata);
+#else
+static inline struct device_d *add_ks8851_device(int id, resource_size_t addr,
+ resource_size_t addr_cmd, int flags, void *pdata)
+{
+ return NULL;
+}
+#endif
+
static inline struct device_d *add_generic_usb_ehci_device(int id,
resource_size_t base, void *pdata)
{