#
1.1 |
|
15-May-2011 |
mpi |
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@
|