Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964981AbXA2Xyn (ORCPT ); Mon, 29 Jan 2007 18:54:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965005AbXA2Xyn (ORCPT ); Mon, 29 Jan 2007 18:54:43 -0500 Received: from 81-174-11-161.f5.ngi.it ([81.174.11.161]:46733 "EHLO mail.enneenne.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964981AbXA2Xym (ORCPT ); Mon, 29 Jan 2007 18:54:42 -0500 X-Greylist: delayed 2810 seconds by postgrey-1.27 at vger.kernel.org; Mon, 29 Jan 2007 18:54:42 EST Date: Tue, 30 Jan 2007 00:07:56 +0100 From: Rodolfo Giometti To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.arm.linux.org.uk, linux-mips@linux-mips.org Message-ID: <20070129230755.GA8705@enneenne.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: GNU/Linux Device Drivers, Embedded Systems and Courses X-PGP-Key: gpg --keyserver keyserver.linux.it --recv-keys D25A5633 User-Agent: Mutt/1.5.13 (2006-08-11) X-SA-Exim-Connect-IP: 192.168.32.1 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Advice on APM-EMU reunion X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mail.enneenne.com) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1331 Lines: 35 Hello, some months ago I sent to the MIPS and ARM mail lists a patch to unify the several APM emulation codes adding a new dedicated directory so it can be used to put there the per board specific code avoiding code duplications (see files ./arch/arm/kernel/apm.c, ./arch/mips/kernel/apm.c and ./arch/sh/kernel/apm.c that are almost the same). The patch is here "http://www.linux-mips.org/archives/linux-mips/2006-07/msg00144.html" and it has been lost in the deep space... The target is to remove the files ./arch/{arm,mips,sh}/kernel/apm.c and to add files drivers/apm-emu/{Kconfig,Makefile,apm-emu.c}. Now I try on this list in order to have some advice if this could be a good idea and what about if I add a new class "apm_emu" on the sysfs support with proper registrations functions. Thanks in advance, Rodolfo -- 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/