cvs commit: src/sys/dev/netif/sk if_sk.c if_skreg.h if_skvar.h xmaciireg.h yukonreg.h

Sepherosa Ziehau sephe at
Tue Nov 14 04:52:39 PST 2006

sephe       2006/11/14 04:52:31 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/sk     if_sk.c if_skreg.h xmaciireg.h yukonreg.h 
  Added files:
    sys/dev/netif/sk     if_skvar.h 
  - busdma(9)fy
  - Use a per-controller serializer instead of per-driver serializer
  - Supports more chips
    Obtained-from: OpenBSD
  - Reduce interrupt moderation timer, thus decrease response latency
    Obtained-from: NetBSD via OpenBSD
  - Fix watchdog timeout errors seen on a few systems:
    "The SK-NET GENESIS document says reading the SK_ISSR register should stop
     generating further interrupts, but it seems there is the possibility
     of losing interrupts between reading the SK_ISSR register and determining
     which interrupts have been reported. To cope with this situation we
     continuously read the SK_ISSR register until there are no interrupts.
     However, it seems that the above workaround does not fix all cases.
     Add workaround code that tries to protect against false alarms from
     the watchdog handler by trying to reclaim pending Tx descriptors
     before resetting the hardware.
     This should fix occasional watchdog timeouts seen with this driver."
    Obtained-from: FreeBSD via OpenBSD
  - Move softc related structs from if_skreg.h into newly added if_skvar.h
  Thanks for all of the people for their working on this driver.
  Revision  Changes     Path
  1.49      +1426 -834  src/sys/dev/netif/sk/if_sk.c
  1.12      +119 -226   src/sys/dev/netif/sk/if_skreg.h
  1.3       +4 -1       src/sys/dev/netif/sk/xmaciireg.h
  1.2       +30 -11     src/sys/dev/netif/sk/yukonreg.h

More information about the Commits mailing list