[Etherboot-developers] secrets behind symbol, INCLUDE_LANCE ?
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Eno C. <Eno...@Mi...> - 2001-02-06 19:32:04
|
Dear List; Have been studying the lance driver for some time. Of course confusion reigns. The confusion stems from the conditional compilation symbol, INCLUDE_LANCE. Here is why. In spite of the distinct possibility I am mistaken, it seems manifest, regardless the means by which the lance driver is built, the symbol, INCLUDE_LANCE is defined. In other words it seems there is no possibility the symbol will be undefined. Where the probe routine definition occurs, the entry point to lancepci_probe is defined within an ifdef INCLUDE_LANCE. But there is no alternative definition to serve in the case the symbol is undefined. These two facts (?) have me scratching my head because they seem to indicate there is no possibility INCLUDE_LANCE can ever be undefined. If this be the case, why do we even have the symbol? I don't mean to be picky here but I have to modify the driver to accommodate a second nic. Further to this end it is necessary for me to understand driver subtleties that seem to be eluding me. Any insight to this question will be much appreciated. Eno Compton |