diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-03-23 01:57:21 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-03-23 01:57:21 +0000 |
commit | cd948c1fd3a45bb8ee18483b4f8df6ce849f8140 (patch) | |
tree | 2748525ad92550d0ad2b46b5619c24e5bcda0e13 /sys/dev/ic/iha.h | |
parent | e88d321d148e115dbbf6fea61f7c0dcb67021421 (diff) |
Change the scsi_cmd function member of scsi_adapter from int to
void. Use XS_NO_CCB error in the scsi command (xs) to report the
NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE
confusion and untangles the midlayer from the adapter a bit more.
Eyes and some fixes by miod@
There may be some compile issues on little used (i.e. I don't have
any) drivers but the change is mechanical and thus easy to remedy.
ok dlg@
Diffstat (limited to 'sys/dev/ic/iha.h')
-rw-r--r-- | sys/dev/ic/iha.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/iha.h b/sys/dev/ic/iha.h index 80a2034815d..6804224d8d8 100644 --- a/sys/dev/ic/iha.h +++ b/sys/dev/ic/iha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iha.h,v 1.16 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: iha.h,v 1.17 2010/03/23 01:57:19 krw Exp $ */ /*------------------------------------------------------------------------- * * Device driver for the INI-9XXXU/UW or INIC-940/950 PCI SCSI Controller. @@ -422,7 +422,7 @@ struct iha_nvram { /* Functions used by higher SCSI layers, the kernel, or iha.c and iha_pci.c */ -int iha_scsi_cmd(struct scsi_xfer *); +void iha_scsi_cmd(struct scsi_xfer *); int iha_intr(void *); void iha_minphys(struct buf *, struct scsi_link *); int iha_init_tulip(struct iha_softc *); |