]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r196721:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Sep 2009 16:41:17 +0000 (16:41 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Sep 2009 16:41:17 +0000 (16:41 +0000)
commit6e807746311463c297da5c72de61e8bed5175d9c
tree207600c01125a317b653024090ff313263a752e0
parent62bb23090a7502b7f5feb3a6d63aece09664ff0c
MFC r196721:
  Make sure rx descriptor ring align on 16 bytes. I guess the
  alignment requirement could be multiple of 4 bytes but I think
  using descriptor size would make intention clearer.
  Previously the size of rx descriptor was not power of 2 so it
  caused panic in bus_dmamem_alloc(9).

  Reported by: Jeff Blank (jb000003 <> mr-happy dot com)
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196830 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/txp/if_txp.c