This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

config restrictions in i82559 driver


if_i82559.c has these restrictions in place:

  #ifdef CYGHWR_DEVS_ETH_INTEL_I82559_GET_ESA
  #ifndef CYGHWR_DEVS_ETH_INTEL_I82559_HAS_NO_EEPROM
  #error This platform has EEPROM, yet external ..._GET_ESA is defined
  #endif
  #endif

  #ifdef CYGHWR_DEVS_ETH_INTEL_I82559_GET_ESA
  #ifdef CYGHWR_DEVS_ETH_INTEL_I82559_HAS_ONE_EEPROM
  #error This platform has one EEPROM, yet external ..._GET_ESA is defined
  #endif
  #endif

I think this is overly restrictive. Basically, I have a situation
where I want the ESA settable through RedBoot's fconfig command
even though an EEPROM is present. I also want the driver to write
the ESA into EEPROM so that linux will pick it up. Is there any
reason not to remove the above restrictions?

--Mark

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]