This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Fix to stop ks32c5000 eth driver setting programmable IO pinsto output.
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Chris Garry <cgarry at sweeneydesign dot co dot uk>
- Cc: eCos-Patches <ecos-patches at sources dot redhat dot com>
- Date: Thu, 20 Feb 2003 23:21:53 +0000
- Subject: Re: Fix to stop ks32c5000 eth driver setting programmable IO pinsto output.
- References: <008301c2d8d8$2cafced0$5b0ba8c0@jasper>
Chris Garry wrote:
This is a very simple fix to stop the driver setting the programmable IO pins to
output mode (this can cause problems on the E7T as these pins can be connected
to ground by switches).
I guess the original code was in there just for debugging purposes so
probably needn't be in production code anyway. I've applied it.
Jifl
- *(unsigned*)0x7ff5000 |= Bit(1)+Bit(3)+Bit(5); // enable debug output bits
- // memcpy(myMacAddr,(unsigned char*)CAM_BaseAddr,6);
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine