2 * Platform data definition for the Realtek RTL8366RB/S ethernet switch driver
4 * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
14 #define RTL8366_DRIVER_NAME "rtl8366"
15 #define RTL8366S_DRIVER_NAME "rtl8366s"
16 #define RTL8366RB_DRIVER_NAME "rtl8366rb"
24 struct rtl8366_initval
{
29 struct rtl8366_platform_data
{
32 void (*hw_reset
)(bool active
);
34 unsigned num_initvals
;
35 struct rtl8366_initval
*initvals
;
38 enum rtl8366_type
rtl8366_smi_detect(struct rtl8366_platform_data
*pdata
);
40 #endif /* _RTL8366_H */