OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 13... | Line 13... | |||
13 | |
13 | |
|
14 | #define RTL8366_DRIVER_NAME "rtl8366" |
14 | #define RTL8366_DRIVER_NAME "rtl8366" |
|
15 | #define RTL8366S_DRIVER_NAME "rtl8366s" |
15 | #define RTL8366S_DRIVER_NAME "rtl8366s" |
|
Line 16... | Line -... | |||
16 | #define RTL8366RB_DRIVER_NAME "rtl8366rb" |
- | ||
17 | |
- | ||
18 | struct rtl8366_smi; |
16 | #define RTL8366RB_DRIVER_NAME "rtl8366rb" |
|
19 | |
17 | |
|
20 | enum rtl8366_type { |
18 | enum rtl8366_type { |
|
21 | RTL8366_TYPE_UNKNOWN, |
19 | RTL8366_TYPE_UNKNOWN, |
|
22 | RTL8366_TYPE_S, |
20 | RTL8366_TYPE_S, |
|
Line 29... | Line 27... | |||
29 | }; |
27 | }; |
|
Line 30... | Line 28... | |||
30 | |
28 | |
|
31 | struct rtl8366_platform_data { |
29 | struct rtl8366_platform_data { |
|
32 | unsigned gpio_sda; |
30 | unsigned gpio_sda; |
|
33 | unsigned gpio_sck; |
31 | unsigned gpio_sck; |
|
Line 34... | Line 32... | |||
34 | void (*hw_reset)(struct rtl8366_smi *smi, bool active); |
32 | void (*hw_reset)(bool active); |
|
35 | |
33 | |
|
36 | unsigned num_initvals; |
34 | unsigned num_initvals; |