From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Date: Sat, 13 Aug 2011 23:07:46 +0100 Subject: [PATCH] Fix alignment issues with DMA TX on BCM4331 In-Reply-To: References: <1311114796.3062.9.camel@shinybook.infradead.org> <1313113295.27274.53.camel@i7.infradead.org> <1313144864.27274.81.camel@i7.infradead.org> <4E46F35F.1060900@lwfinger.net> Message-ID: <1313273267.16730.3.camel@i7.infradead.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: b43-dev@lists.infradead.org On Sun, 2011-08-14 at 00:02 +0200, Rafa? Mi?ecki wrote: > W dniu 13 sierpnia 2011 23:57 u?ytkownik Larry Finger > napisa?: > >> + > >> + b43_dma_write(ring, B43_DMA64_TXRINGLO, 0xff0); > > > > Should there be a new symbol rather than this magic number? Probably not. We're testing whether it stores certain bits of the address, or if the low 12 bits of the register are just hard-coded to zero. The raw value 0xff0 conveys that as well as any macro name that I could think of. > > Tested on BCM4318 on 32-bit system. > > The question is if your card supports unaligned (and as result, if you > tested it at all) Either way, he confirmed that writing TXCTL last works. -- dwmw2