1. if phyaddr is 30 (EPHY_NOREG)
    1. return
  2. if forced Ethernet speed set to auto
    1. return
  3. write the result of call chipphyrd with phyaddr and 0 into ctl

  4. unset bits CTL_SPEED and CTL_SPEED_MSB and CTL_ANENAB and CTL_DUPLEX in ctl
  5. if full duplex
    1. binary or ctl with CTL_DUPLEX
  6. if Ethernet speed is 100MBit/s
    1. binary or ctl with CTL_SPEED_100
  7. if Ethernet speed is 1000MBit/s
    1. binary or ctl with CTL_SPEED_1000
  8. call chipphywr with phyaddr, 0 and ctl given

Exported/Archived from the wiki to HTML on 2016-10-27