From: Wolfgang Denk Date: Fri, 24 Jul 2009 00:06:50 +0200 Subject: [U-Boot] [PATCH 2/2] document network driver framework In-Reply-To: <20090723214946.GE9480@game.jcrosoft.org> References: <4A5F6524.7040909@gmail.com> <1247965449-23375-2-git-send-email-vapier@gentoo.org> <20090723214946.GE9480@game.jcrosoft.org> Message-ID: <20090723220650.74C9B832E416@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 <20090723214946.GE9480@game.jcrosoft.org> you wrote: > > > +And to control whether your driver is even enabled, you should use: > > + CONFIG_SYS_NET_ > In my proposition CONFIG_SYS_ will be not use for driver enabling but for > hardware specific information Enabling or disabling a driver i ssomething that a dumb user can do, so it should be done using CONFIG_ as in CONFIG_E1000, CONFIG_EEPRO100, etc. > > +So the APE driver would look like: > > + CONFIG_SYS_NET_APE > so it will be > CONFIG_NET_APE No. It should be CONFIG_APE 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 Niklaus Wirth has lamented that, whereas Europeans pronounce his name correctly (Ni-klows Virt), Americans invariably mangle it into (Nick- les Worth). Which is to say that Europeans call him by name, but Americans call him by value.