[U-Boot-Users] [RFC][PATCH 1/1] Add board_eth_init() function
    Haavard Skinnemoen 
    haavard.skinnemoen at atmel.com
       
    Wed Mar 26 13:41:31 CET 2008
    
    
  
On Wed, 26 Mar 2008 20:39:26 +0900
Shinya Kuribayashi <skuribay at 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
    
    
More information about the U-Boot
mailing list