From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PiN5O-0007Rr-0Q for barebox@lists.infradead.org; Thu, 27 Jan 2011 08:20:10 +0000 Date: Thu, 27 Jan 2011 09:20:08 +0100 From: Sascha Hauer Message-ID: <20110127082008.GA26907@pengutronix.de> References: <20101112180228.GC13661@game.jcrosoft.org> <1289585938-22813-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1289585938-22813-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/5] device: introduce resource structure to simplify resource delaration To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org Hi J, On Fri, Nov 12, 2010 at 07:18:54PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > introdude also some helper to manager them > > and add multi resource per device support > > ram device: use resource structure instead of memory_platform_data I would like to split this up a bit more. First patch could be adding include/linux/ioport.h. Then you can add users for the resources, like for example some drivers you care of, just enough to see how resources can be used. When we agree on this we can convert the bulk of the drivers step by step. Getting rid of dev->map_base would be the last step, but shouldn't be done in such a huge patch. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox