aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nsp/nspvar.h
diff options
context:
space:
mode:
authorNoriaki Mitsunaga <non@FreeBSD.org>2001-02-25 12:40:30 +0000
committerNoriaki Mitsunaga <non@FreeBSD.org>2001-02-25 12:40:30 +0000
commita4539b3e5695e35c1265dc19fd0061a5932ea289 (patch)
treefd8bd613c75a70e694f2ee4f5ad2439f0dcd690c /sys/dev/nsp/nspvar.h
parent7a6ac3e0871749dc82d66caec562e55b5f6107cc (diff)
downloadsrc-a4539b3e5695e35c1265dc19fd0061a5932ea289.tar.gz
src-a4539b3e5695e35c1265dc19fd0061a5932ea289.zip
o Support AUTO SENSE correctly.
o Offset and period in synch messages and width negotiation should be done for per target not per lun. Move these from *lun_info to *targ_info. o Change in handling XPT_RESET_DEV and XPT_GET_TRAN_SETTINGS . o Change CAM_* xpt_done return values. o Busy loop did not timeout. Change this to timeout as original NetBSD/pc98. Reviewed by: bsd-nomads ML
Notes
Notes: svn path=/head/; revision=73025
Diffstat (limited to 'sys/dev/nsp/nspvar.h')
-rw-r--r--sys/dev/nsp/nspvar.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/nsp/nspvar.h b/sys/dev/nsp/nspvar.h
index 078f1b9d3c39..41912d393713 100644
--- a/sys/dev/nsp/nspvar.h
+++ b/sys/dev/nsp/nspvar.h
@@ -46,6 +46,7 @@ struct nsp_softc {
bus_space_handle_t sc_memh;
void *sc_ih;
+ int sc_wc;
int sc_seltout; /* selection timeout counter */
int sc_timer; /* timer start */
@@ -77,13 +78,13 @@ struct nsp_softc {
};
/*****************************************************************
- * Lun information
+ * Target information
*****************************************************************/
-struct nsp_lun_info {
- struct lun_info nli_li; /* generic lun info */
+struct nsp_targ_info {
+ struct targ_info nti_ti; /* generic target info */
- u_int8_t nli_reg_syncr; /* sync registers per devices */
- u_int8_t nli_reg_ackwidth; /* ackwidth per devices */
+ u_int8_t nti_reg_syncr; /* sync registers per devices */
+ u_int8_t nti_reg_ackwidth; /* ackwidth per devices */
};
/*****************************************************************