From a5af4ae7d58b09c2360e426a1825f4c2666469e2 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 24 Feb 2010 13:39:02 +0000 Subject: kernel: add driver for the RTL8366RB switch Thanks to Andrew Tarabaras. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19837 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../generic-2.6/files/include/linux/rtl8366rb.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/generic-2.6/files/include/linux/rtl8366rb.h (limited to 'target/linux/generic-2.6/files/include') diff --git a/target/linux/generic-2.6/files/include/linux/rtl8366rb.h b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h new file mode 100644 index 000000000..053e2ec04 --- /dev/null +++ b/target/linux/generic-2.6/files/include/linux/rtl8366rb.h @@ -0,0 +1,21 @@ +/* + * Platform data definition for the Realtek RTL8366S ethernet switch driver + * + * Copyright (C) 2009-2010 Gabor Juhos + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef _RTL8366RB_H +#define _RTL8366RB_H + +#define RTL8366RB_DRIVER_NAME "rtl8366rb" + +struct rtl8366rb_platform_data { + unsigned gpio_sda; + unsigned gpio_sck; +}; + +#endif /* _RTL8366RB_SMI_H */ -- cgit v1.2.3