Subject: Re: Driver for hardware sensors in G4 iBooks and probably other Macs
To: Michael <macallan18@earthlink.net>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-macppc
Date: 12/13/2004 20:41:00
Michael <macallan18@earthlink.net> writes:

> snapper_softc has a bunch of DMA descriptors that need to be 16-byte
> aligned - apparently struct device gained 4 bytes so the alignment
> was toast. Moved one 4-byte field behind the DMA stuff and it
> works. Sort of - xmms hangs now and then, apparently at random -
> I'll see if I can catch it in gdb.

If something needs to be aligned, it should be deliberately forced to
that alignment, not just tweaked until it works.

        - Nathan