Search
lxdream.org :: lxdream/src/maple/maple.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/maple.c
changeset 121:795fec623ce9
prev35:21a4be098304
next144:7f0714e89aaa
author nkeynes
date Mon Mar 20 12:00:15 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix incorrect response length for condition queries
file annotate diff log raw
1.1 --- a/src/maple/maple.c Mon Dec 26 03:54:55 2005 +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);
.