Ticket #6185: 950-cpmac-force-fixed-mdio.patch
File 950-cpmac-force-fixed-mdio.patch, 439 bytes (added by Xin Zhen (LoneStar) <xlonestar2000@…>, 8 years ago) |
---|
-
drivers/net/cpmac.c
diff -X /home/xinzhen/dontdiff -urN a/drivers/net/cpmac.c b/drivers/net/cpmac.c
a b 1123 1123 return -ENODEV; 1124 1124 } 1125 1125 1126 strncpy(mdio_bus_id, "0", BUS_ID_SIZE); /* fixed phys bus */ 1127 phy_id = pdev->id; 1128 1126 1129 dev = alloc_etherdev_mq(sizeof(*priv), CPMAC_QUEUES); 1127 1130 //~ dev = alloc_etherdev(sizeof(*priv)); 1128 1131