diff options
author | peter <peter@FreeBSD.org> | 2007-07-05 06:51:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2007-07-05 06:51:49 +0000 |
commit | 970cf688623ef6afaec25c013392f5b540c8c10c (patch) | |
tree | bf23659b871ac0ab93a47b87694b9dc9d0357c2c /sys/dev/rp | |
parent | f84e4f38b674212240d669f02044bd0552133482 (diff) | |
download | FreeBSD-src-970cf688623ef6afaec25c013392f5b540c8c10c.zip FreeBSD-src-970cf688623ef6afaec25c013392f5b540c8c10c.tar.gz |
Initialize DWBuf[3].
Approved by: re (rwatson, blanket)
Diffstat (limited to 'sys/dev/rp')
-rw-r--r-- | sys/dev/rp/rp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index 0e7fb2e..809a2a4 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -436,6 +436,7 @@ int sWriteTxPrioByte(CHANNEL_T *ChP, Byte_t Data) le16enc(DWBuf,ChP->TxPrioBuf); /* data byte address */ DWBuf[2] = Data; /* data byte value */ + DWBuf[3] = 0; /* priority buffer pointer */ rp_writech4(ChP,_INDX_ADDR,le32dec(DWBuf)); /* write it out */ le16enc(DWBuf,ChP->TxPrioCnt); /* Tx priority count address */ |