1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 19:18:26 +02:00
openwrt-xburst/target/linux/generic/files/include/linux/rtl8366s.h
juhosg f1f92beb2e generic: rtl8366s: allow initial register values to be passed via platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:46 +00:00

29 lines
640 B
C

/*
* Platform data definition for the Realtek RTL8366S ethernet switch driver
*
* Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*
* 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 _RTL8366S_H
#define _RTL8366S_H
#define RTL8366S_DRIVER_NAME "rtl8366s"
struct rtl8366s_initval {
unsigned reg;
u16 val;
};
struct rtl8366s_platform_data {
unsigned gpio_sda;
unsigned gpio_sck;
unsigned num_initvals;
struct rtl8366s_initval *initvals;
};
#endif /* _RTL8366_SMI_H */