Search
lxdream.org :: lxdream :: r121:795fec623ce9
lxdream 0.9.1
released Jun 29
Download Now
changeset121:795fec623ce9
parent120:7e4549476110
child122:3a557bc205d8
authornkeynes
dateMon Mar 20 12:00:15 2006 +0000 (14 years ago)
Fix incorrect response length for condition queries
src/maple/maple.c
1.1 --- a/src/maple/maple.c Mon Mar 20 11:59:57 2006 +0000
1.2 +++ b/src/maple/maple.c Mon Mar 20 12:00:15 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: maple.c,v 1.6 2005-12-26 03:54:55 nkeynes Exp $
1.6 + * $Id: maple.c,v 1.7 2006-03-20 12:00:15 nkeynes Exp $
1.7 *
1.8 * Implements the core Maple bus, including DMA transfers to and from the bus.
1.9 *
1.10 @@ -142,6 +142,7 @@
1.11 else status = dev->get_condition(dev, func,
1.12 return_buf+8,
1.13 &out_length );
1.14 + out_length++;
1.15 if( status == 0 ) {
1.16 status = MAPLE_RESP_DATA;
1.17 PUTWORD(4,func);
.