mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable * make read,write commands configurable * use u16 for member and untag fields git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1247,6 +1247,9 @@ static int __devinit rtl8366rb_probe(struct platform_device *pdev)
|
||||
|
||||
smi->gpio_sda = pdata->gpio_sda;
|
||||
smi->gpio_sck = pdata->gpio_sck;
|
||||
smi->clk_delay = 10;
|
||||
smi->cmd_read = 0xa9;
|
||||
smi->cmd_write = 0xa8;
|
||||
smi->ops = &rtl8366rb_smi_ops;
|
||||
smi->cpu_port = RTL8366RB_PORT_NUM_CPU;
|
||||
smi->num_ports = RTL8366RB_NUM_PORTS;
|
||||
|
||||
Reference in New Issue
Block a user