greth.c (07fa3fa2572f2dee85beb8137f90ccf33d7206af) greth.c (3c1bcc8614db10803f1f57ef0295363917448cb2)
1/*
2 * Aeroflex Gaisler GRETH 10/100/1G Ethernet MAC.
3 *
4 * 2005-2010 (c) Aeroflex Gaisler AB
5 *
6 * This driver supports GRETH 10/100 and GRETH 10/100/1G Ethernet MACs
7 * available in the GRLIB VHDL IP core library.
8 *

--- 1269 unchanged lines hidden (view full) ---

1278 return ret;
1279 }
1280
1281 if (greth->gbit_mac)
1282 phy_set_max_speed(phy, SPEED_1000);
1283 else
1284 phy_set_max_speed(phy, SPEED_100);
1285
1/*
2 * Aeroflex Gaisler GRETH 10/100/1G Ethernet MAC.
3 *
4 * 2005-2010 (c) Aeroflex Gaisler AB
5 *
6 * This driver supports GRETH 10/100 and GRETH 10/100/1G Ethernet MACs
7 * available in the GRLIB VHDL IP core library.
8 *

--- 1269 unchanged lines hidden (view full) ---

1278 return ret;
1279 }
1280
1281 if (greth->gbit_mac)
1282 phy_set_max_speed(phy, SPEED_1000);
1283 else
1284 phy_set_max_speed(phy, SPEED_100);
1285
1286 phy->advertising = phy->supported;
1286 linkmode_copy(phy->advertising, phy->supported);
1287
1288 greth->link = 0;
1289 greth->speed = 0;
1290 greth->duplex = -1;
1291
1292 return 0;
1293}
1294

--- 287 unchanged lines hidden ---
1287
1288 greth->link = 0;
1289 greth->speed = 0;
1290 greth->duplex = -1;
1291
1292 return 0;
1293}
1294

--- 287 unchanged lines hidden ---