From 4b8245a959d2dfdad9b9e3541101183719ae9205 Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 5 Dec 1998 19:41:31 +0000 Subject: [PATCH] Add a max_lun property to match with the max_target property. Shorten max_target to int16. --- sys/dev/scsipi/scsipiconf.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/scsipi/scsipiconf.h b/sys/dev/scsipi/scsipiconf.h index 70ef24f5e2eb..175eab81fe3d 100644 --- a/sys/dev/scsipi/scsipiconf.h +++ b/sys/dev/scsipi/scsipiconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: scsipiconf.h,v 1.25 1998/11/19 20:08:52 thorpej Exp $ */ +/* $NetBSD: scsipiconf.h,v 1.26 1998/12/05 19:41:31 mjacob Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -217,8 +217,10 @@ struct scsipi_link { u_int8_t lun; /* lun of this dev */ u_int8_t adapter_target;/* what are we on the scsi bus */ - int max_target; /* XXX max target supported - by adapter */ + int16_t max_target; /* XXX max target supported + by adapter (inclusive) */ + int16_t max_lun; /* XXX number of luns supported + by adapter (inclusive) */ } scsipi_scsi; struct atapi_link { u_int8_t drive; /* drive number on the bus */