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
Ciao,
Rodolfo
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
patch-apm-emu-reunion
Description: Text document
signature.asc
Description: Digital signature
|