[U-Boot] [PATCH 2/2] document network driver framework

Wolfgang Denk wd at denx.de
Fri Jul 24 00:06:50 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090723214946.GE9480 at game.jcrosoft.org> you wrote:
>
> > +And to control whether your driver is even enabled, you should use:
> > +	CONFIG_SYS_NET_<DRIVERNAME>
> 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_<DRIVERNAME>

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.


More information about the U-Boot mailing list