20 Jul 2006 09:33
[PATCH] APM emulation reunion
Rodolfo Giometti <giometti <at> linux.it>
2006-07-20 07:33:42 GMT
2006-07-20 07:33:42 GMT
Hello,
here a patch to unify the APM enulation supports for ARM and MIPS.
I put APM emulation code into a dedicated directory so it can be used
to put there the APM-emu per board specific code. For instance on my
system I added the following lines to the "Kconfig" file:
config CONFIG_WWPC1000_APM_EMU
tristate "APM support for WWPC1000"
depends APM_EMU
default y
The kernel configuration file is now unique and not duplicated
anymore.
Also I modified the configuration define "CONFIG_APM" to
"CONFIG_APM_EMU" in order to avoid conflicts with real APM
support. Doing like this these boards' configuration files should be
updated:
arch/arm/configs/bast_defconfig:CONFIG_APM=y
arch/arm/configs/collie_defconfig:CONFIG_APM=y
arch/arm/configs/corgi_defconfig:CONFIG_APM=y
arch/arm/configs/ixp4xx_defconfig:CONFIG_APM=y
arch/arm/configs/neponset_defconfig:CONFIG_APM=y
arch/arm/configs/s3c2410_defconfig:CONFIG_APM=y
arch/arm/configs/simpad_defconfig:CONFIG_APM=y
arch/arm/configs/spitz_defconfig:CONFIG_APM=y
arch/arm/configs/trizeps4_defconfig:CONFIG_APM=y
(Continue reading)
RSS Feed