CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/05/15 03:10:26
Modified files:
sys/arch/macppc/dev: i2s.c smu.c xlights.c
sys/arch/macppc/pci: macobio.c
Added files:
sys/arch/macppc/pci: macobio.h
Log message:
Unify various gpio access using methods that take an offset relative to the
mac-io bus base address. Needed by upcoming dfs(4) support.
On some Apple machines, the openfirmware returns a gpio offset relative to
the gpio controller (generaly at 0x50). These offsets should be corrected
to be relative to the bus base address.
looks fine to kettenis@, ok miod@