The difference is with "config config.h", the device in static will point to one all zero struct about 4 bytes ( without .name and only has .enable_dev=0). Or .chip_ops = some _ops.
Eric has comment out config.h for socket. Only unsued chip_ops is for NB and MB. Others root_complex and SB bridge and superio.
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Monday, November 08, 2004 11:29 AM To: Ronald G. Minnich Cc: YhLu; 'Li-Ta Lo'; 'LinuxBIOS' Subject: Re: Removing device driver code in mainboard.c for Tyan boards?
"Ronald G. Minnich" rminnich@lanl.gov writes:
On Fri, 5 Nov 2004, Eric W. Biederman wrote:
They can. But I am about to suggest simply removing the config directive, and assuming the ``config chip.h'' is always given. The overhead is almost zero for a zero filled structure. And always requiring a chip.h would tend to simply the process of writing code for a new chip.
yes, I think Eric is right on this one too :-)
I think we probably want to wait a little on this one. YhLu is extremely tight on space right now and I think that needs to be addressed before we require any more slight size increases.
Eric