On Mon, 2008-10-06 at 18:42 +0200, Marcel Holtmann wrote: > Hi John, > > > This patch cleans up the DMA code to be understandable and not > > completely wrong. In particular: > > * there is no need to have a weird iwl_tfd_frame_data struct that is > > used 10 times, just use an address struct 20 times > > * therefore, all the is_odd junk goes away > > * fix a bug in iwl_hcmd_queue_reclaim where it would reclaim all the > > fragments of a descriptor rather than all descriptors (this may be > > the cause of the dma unmapping problem I reported) > > * some more cleanups > > > > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > > --- > > Tested on 5000 hw, please apply. > > > > v2: fixes small issue with getting rid of iwl_get_dma_hi_address. > > if this fixes the crashes with my 4965 card in my X61, then this is a > candidate for 2.6.27-rc8. I will built a new kernel for my X61 as soon > as possible. I just tried, it certainly doesn't stop the thing from corrupting my memory all over when I have 64k pages turned on. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part