[generic] rtl8366: fix rtl8366_smi_detect() after r29677
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jan 2012 19:17:58 +0000 (19:17 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jan 2012 19:17:58 +0000 (19:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/files/drivers/net/phy/rtl8366_smi.c

index c3fde0d..971c95f 100644 (file)
@@ -1204,6 +1204,9 @@ enum rtl8366_type rtl8366_smi_detect(struct rtl8366_platform_data *pdata)
        memset(&smi, 0, sizeof(smi));
        smi.gpio_sda = pdata->gpio_sda;
        smi.gpio_sck = pdata->gpio_sck;
+       smi.clk_delay = 10;
+       smi.cmd_read  = 0xa9;
+       smi.cmd_write = 0xa8;
 
        if (__rtl8366_smi_init(&smi, "rtl8366"))
                goto out;
This page took 0.029556 seconds and 4 git commands to generate.