linux-mips
[Top] [All Lists]

[PATCH] APM emulation reunion

To: linux-laptop@vger.kernel.org, sfr@canb.auug.org.au
Subject: [PATCH] APM emulation reunion
From: Rodolfo Giometti <giometti@linux.it>
Date: Thu, 20 Jul 2006 09:33:42 +0200
Cc: linux-mips@linux-mips.org
Organization: GNU/Linux Device Drivers, Embedded Systems and Courses
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
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

Attachment: patch-apm-emu-reunion
Description: Text document

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] APM emulation reunion, Rodolfo Giometti <=