cvs commit: src/sys/dev/netif/bge if_bge.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu May 3 07:11:26 PDT 2007


sephe       2007/05/03 07:09:23 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/bge    if_bge.c 
  Log:
  Restore part of old behaviour of bge_tick() -- if link is up, then don't
  call mii_tick().  Mii_tick() will read and write various PHY registers.
  For bge(4), PHY accessing registers normally involves flipping AUTOPOLL
  bit of BGE_MI_MODE, which trigers interrupts about link state changing.
  
  # This changing restores netperf UDP_RR
  
  Revision  Changes    Path
  1.74      +2 -1      src/sys/dev/netif/bge/if_bge.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.73&r2=1.74&f=u





More information about the Commits mailing list