[U-Boot-Users] [RFC][PATCH 1/1] Add board_eth_init() function

Haavard Skinnemoen
2008-03-26T12:41:31Z

On Wed, 26 Mar 2008 20:39:26 +0900
Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> wrote:

> I just thought that, a header file full of driver-specific declarations,
> is somewhat ugly.

The functions must be declared somewhere, but declaring them at the
callsite is not only ugly, but error-prone as well.

One alternative might be to add one header file per driver and put the
declarations there. Maybe we should add a include/netdev directory for
network driver-specific header files?

Haavard