From: Wolfgang Denk Date: Sun, 23 Aug 2009 20:56:30 +0200 Subject: [U-Boot] [RFC PATCH 2/3] stdio: pass the current device to the driver In-Reply-To: <1251034019-10787-2-git-send-email-plagnioj@jcrosoft.com> References: <20090823125957.GC11950@game.jcrosoft.org> <1251034019-10787-1-git-send-email-plagnioj@jcrosoft.com> <1251034019-10787-2-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20090823185630.1661E833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1251034019-10787-2-git-send-email-plagnioj@jcrosoft.com> you wrote: > to allow it to have base address and other information to simplify > the implementation and avoid workarround as done for ns16550 on the omap3 zoom > or ppc4xx as example Can you please explain what you mean? Sorry, but I do not understand your commit message. Please use complete sentences. If I understood your patch 1/3 correctly, you introduces a current device; if this is correct, then why do we need to add allt he additional function arguments? Isn't this only adding to the memory footprint? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It is practically impossible to teach good programming style to stu- dents that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. - Dijkstra