summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c2
-rw-r--r--sys/dev/rp/rpvar.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 9c49f20..b1a488e 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -1632,7 +1632,7 @@ rpstart(tp)
qp = &tp->t_outq;
if(xmit_fifo_room > 0 && qp->c_cc > 0) {
tp->t_state |= TS_BUSY;
- count = q_to_b( qp, rp->TxBuf, xmit_fifo_room );
+ count = q_to_b( qp, (char *)rp->TxBuf, xmit_fifo_room );
wcount = count >> 1;
if ( wcount ) {
rp_writemultich2(cp, sGetTxRxDataIO(cp), (u_int16_t *)rp->TxBuf, wcount);
diff --git a/sys/dev/rp/rpvar.h b/sys/dev/rp/rpvar.h
index ae22a4e..41aee02 100644
--- a/sys/dev/rp/rpvar.h
+++ b/sys/dev/rp/rpvar.h
@@ -77,8 +77,8 @@ struct rp_port {
int rp_xmit_stopped:1;
CONTROLLER_t * rp_ctlp;
CHANNEL_t rp_channel;
- unsigned char TxBuf[TXFIFO_SIZE];
- unsigned char RxBuf[RXFIFO_SIZE];
+ unsigned short TxBuf[TXFIFO_SIZE/2 +1];
+ unsigned short RxBuf[RXFIFO_SIZE/2 +1];
};
/* Actually not used */
OpenPOWER on IntegriCloud