diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-01 15:51:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-01 15:51:14 +0000 |
commit | 656dabf1fad1673693811854e1aca83f5518855a (patch) | |
tree | ec8c1f7e41bcc10f61a148c21342471b4558251e | |
parent | changed version to 19990331 (diff) | |
download | rtems-656dabf1fad1673693811854e1aca83f5518855a.tar.bz2 |
Removed warning.
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c b/c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c index bbf9748c12..1697ea1350 100644 --- a/c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c +++ b/c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c @@ -835,8 +835,8 @@ rtems_device_driver m860_console_read(rtems_device_major_number major, if (rxBufList[minor]->pos == rxBufList[minor]->len) { if (rxBufList[minor]->next) { tmp_buf=rxBufList[minor]->next; - free (rxBufList[minor]->buf); - free (rxBufList[minor]); + free ((void *) rxBufList[minor]->buf); + free ((void *) rxBufList[minor]); rxBufList[minor]=tmp_buf; } else { @@ -882,9 +882,11 @@ rtems_device_driver m860_console_write(rtems_device_major_number major, * that used the other module won't work correctly. * Put this comment in each module that sets these 2 registers */ -/* m860.cicr = 0x00e43e80; /* SCaP=SCC1, SCbP=SCC2, SCcP=SCC3, +#if 0 + m860.cicr = 0x00e43e80; /* SCaP=SCC1, SCbP=SCC2, SCcP=SCC3, SCdP=SCC4, IRL=1, HP=SCC1, IEN=1 */ -/* m860.simask |= M860_SIMASK_LVM1; */ + m860.simask |= M860_SIMASK_LVM1; +#endif rw_args = (rtems_libio_rw_args_t *) arg; |