Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 04/08/1999 04:29:02
Module Name:	src
Committed By:	bouyer
Date:		Thu Apr  8 11:29:02 UTC 1999

Modified Files:
	src/sys/dev/scsipi: atapi_wdc.c scsipiconf.h
Log Message:
Fix a long-standing bug with the ACAP_* flags:
- the cap field is a u_int8_t, so none of the defined flags would fit in.
Looks like nobody had a drive using 16 bytes commands.
- the ACAP_DRQ_* flags are all wrong. Just remove them and use the definitions
from ata/atareg.h, there's no need to duplicate theses. The effect of this
was that we were always polling for the command phase, even for drives
with interrupt DRQ. This didn't break until the code was changed to support
shared interrupts.

Should fix the lookup problems or 'boot hangs' reported by some users, and
kern/7111.