]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit - sys/dev/sis/if_sisreg.h
MFC r212157:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Oct 2010 20:51:33 +0000 (20:51 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Oct 2010 20:51:33 +0000 (20:51 +0000)
commitb36f84843afd65d559a5c9e9609ad2d9a628c311
tree7e10775c52be42c56e558f61f495c80bb1803d2f
parentf6659999af145732941e311074a74f09661496cc
MFC r212157:
  Unlike most other controllers, NS DP83815/DP83816 controllers seem
  to pad with 0xFF when it encounter short frames.  According to RFC
  1042 the pad bytes should be 0x00.
  Because manual padding consumes extra CPU cycles, introduce a new
  tunable which controls the padding behavior. Turning this tunable
  on will have driver pad manually but it's disabled by default. Users
  can enable software padding by setting the following tunable to
  non-zero value.

  dev.sis.%d.manual_pad="1"

  PR: kern/35422 (patch not used)

git-svn-id: svn://svn.freebsd.org/base/stable/8@213626 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sis/if_sis.c
sys/dev/sis/if_sisreg.h