Changeset 4279


Ignore:
Timestamp:
2006-07-25T17:57:30+02:00 (10 years ago)
Author:
nbd
Message:

change cpmac to use the internal phy by default (#596)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/target/linux/ar7-2.4/patches/003-net_driver_cpmac.patch

    r2877 r4279  
    31883188+       { 
    31893189+           char *mac_port = prom_getenv("MAC_PORT"); /* Internal: 0, External: 1 */ 
    3190 +           if(!mac_port || (0 != strcmp(mac_port, "0"))) { 
     3190+           if(0 == strcmp(mac_port, "1")) { 
    31913191+               printk("Using the MAC with external PHY\n"); 
    31923192+               cfg_start_link_speed = _CPMDIO_NOPHY; 
     
    1125011250+ 
    1125111251+        //if(phy_sel == auto_detect_cpmac_phy()) 
    11252 +        if(!mac_port || (0 != strcmp(mac_port, "0"))) 
     11252+        if(0 == strcmp(mac_port, "1")) 
    1125311253+        { 
    1125411254+            printk("Using the MAC with external PHY\n"); 
Note: See TracChangeset for help on using the changeset viewer.