diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-14 16:55:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-14 16:55:50 +0000 |
commit | e013fe3cd07bd9e1025d10c7d3d3034f8439446d (patch) | |
tree | 98c04942333395171f8ee8527c4d34fb019ed541 /c/src/lib/libbsp/powerpc | |
parent | Changed tm27 clear interrupt macro on all PPC BSPs except the papyrus. (diff) | |
download | rtems-e013fe3cd07bd9e1025d10c7d3d3034f8439446d.tar.bz2 |
If 0 out the code which touches the chip in questionable ways for processing
a giant packet.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c b/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c index 3e2c398c89..e6006298aa 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c +++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c @@ -752,8 +752,10 @@ SONIC_STATIC void sonic_rda_wait( /* * Check my interpretation of the SONIC manual. */ +#if 0 if (sonic_read_register( rp, SONIC_REG_CR ) & CR_RXEN) rtems_panic ("SONIC RBAE/RXEN"); +#endif /* * Update statistics @@ -771,6 +773,7 @@ SONIC_STATIC void sonic_rda_wait( * driver has to move the RRP back *two* entries to * reuse the receive buffer holding the giant packet. */ +#if 0 for (i = 0 ; i < 2 ; i++) { if (sonic_read_register( rp, SONIC_REG_RRP ) == sonic_read_register( rp, SONIC_REG_RSA )) @@ -785,12 +788,15 @@ SONIC_STATIC void sonic_rda_wait( sonic_read_register(rp, SONIC_REG_RRP) - sizeof(ReceiveResource_t) ); } +#endif /* * Restart reception */ sonic_write_register( rp, SONIC_REG_ISR, ISR_RBAE ); +#if 0 sonic_write_register( rp, SONIC_REG_CR, CR_RXEN ); +#endif } /* |