DragonFly commits List (threaded) for 2008-10
DragonFly BSD
DragonFly commits List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 18 Oct 2008 23:00:24 -0700 (PDT)

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 
  Log:
  - 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
    RE_CMD_RESET.
    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


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.93&r2=1.94&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_rereg.h.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_revar.h.diff?r1=1.29&r2=1.30&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]