This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
config restrictions in i82559 driver
- From: Mark Salter <msalter at redhat dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 7 Feb 2003 13:59:50 -0500 (EST)
- Subject: [ECOS] 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