Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 240:9ae4bd697292
prev188:91ee93613faa
next244:4c2b7291d3b0
author nkeynes
date Fri Dec 15 10:18:39 2006 +0000 (16 years ago)
permissions -rw-r--r--
last change Initial implementation of the NOP (00h) command
file annotate diff log raw
1.1 --- a/src/asic.c Tue Aug 01 21:56:48 2006 +0000
1.2 +++ b/src/asic.c Fri Dec 15 10:18:39 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.c,v 1.19 2006-08-01 21:56:48 nkeynes Exp $
1.6 + * $Id: asic.c,v 1.20 2006-12-15 10:18:39 nkeynes Exp $
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA).
1.10 @@ -311,7 +311,7 @@
1.11 idereg.device = (uint8_t)val;
1.12 break;
1.13 case IDECMD:
1.14 - if( ide_can_write_regs() ) {
1.15 + if( ide_can_write_regs() || val == IDE_CMD_NOP ) {
1.16 ide_write_command( (uint8_t)val );
1.17 }
1.18 break;
.