cvs commit: src/sys/dev/netif/re if_re.c if_rereg.h if_revar.h

Sepherosa Ziehau sephe at
Sat Oct 18 23:03:51 PDT 2008

sephe       2008/10/18 23:00:24 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c if_rereg.h if_revar.h 
  - In re_stop(), call re_reset(), which is supposed to stop TX/RX engines.
  - In re_reset(), don't touch 0x82 (a magic CSR), which seems to be 8110/8169
    specific.  Write 1 to it on attach path.
    According-to: RealTek r8169-6.007.00
  - For certain chips (looks like all MAC2 chips), RE_CMD_RESET will not stop
    TX/RX engines, a seperate command (RE_CMD_STOPREQ) must be issued before
    According-to: RealTek r8168-8.008.00
  Revision  Changes    Path
  1.94      +22 -18    src/sys/dev/netif/re/if_re.c
  1.24      +1 -0      src/sys/dev/netif/re/if_rereg.h
  1.30      +2 -0      src/sys/dev/netif/re/if_revar.h

More information about the Commits mailing list