summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2009-04-03 02:08:38 +0000
committeruwe <uwe@NetBSD.org>2009-04-03 02:08:38 +0000
commit7cbde2c0d569925bc8a562afae887d265cd54d29 (patch)
tree69fa80f3b3ebd15c391a640b46cbe3926212a9f4 /sys/dev/raidframe
parent8f20e30696112e79ef12429ec3ff3630b35dc790 (diff)
Further reduce diffs to dev/apm/apm.c.
Bring over remaining bits of logic not picked up in the first round. Main semantic difference between the two that ramins is now basically powerhooks vs. pmf. Cosmetics to reduce diff noise: split apmattach into apmdevattach and apm_attach, where the latter matches its counterpart in the real apm.c. Change local macros names from APMDEV* to APM* Now that apmdev.c is demonstrably congruent to apm.c it should be easier to switch hpc* and zaurus ports to apm.c from apmdev.c. apmdev.c is one of the only two remaining drivers that call dopowerhooks(9), the other one being arch/arm/xscale/pxa2x0_apm.c. Ideally I would prefer for them to be interchangeable to smooth the transition (in pmf world order *all* devices must have pmf hooks registered), but they are attached differently - apmdev is separate from its backend device (like hpcapm), while apm.c backends are attachment glue, not separate devices.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions