|
@@ -194,14 +194,14 @@ static void velocity_set_link ( struct velocity_nic *vlc ) {
|
194
|
194
|
int tmp;
|
195
|
195
|
|
196
|
196
|
/* Advertise 1000MBit */
|
197
|
|
- tmp = velocity_mii_read ( &vlc->mii, MII_CTRL1000 );
|
|
197
|
+ tmp = mii_read ( &vlc->mii, MII_CTRL1000 );
|
198
|
198
|
tmp |= ADVERTISE_1000FULL | ADVERTISE_1000HALF;
|
199
|
|
- velocity_mii_write ( &vlc->mii, MII_CTRL1000, tmp );
|
|
199
|
+ mii_write ( &vlc->mii, MII_CTRL1000, tmp );
|
200
|
200
|
|
201
|
201
|
/* Enable GBit operation in MII Control Register */
|
202
|
|
- tmp = velocity_mii_read ( &vlc->mii, MII_BMCR );
|
|
202
|
+ tmp = mii_read ( &vlc->mii, MII_BMCR );
|
203
|
203
|
tmp |= BMCR_SPEED1000;
|
204
|
|
- velocity_mii_write ( &vlc->mii, MII_BMCR, tmp );
|
|
204
|
+ mii_write ( &vlc->mii, MII_BMCR, tmp );
|
205
|
205
|
}
|
206
|
206
|
|
207
|
207
|
/******************************************************************************
|