Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic clean unused fwrev stuff
details: https://anonhg.NetBSD.org/src/rev/5c842c7e3535
branches: trunk
changeset: 479707:5c842c7e3535
user: mjacob <mjacob%NetBSD.org@localhost>
date: Mon Dec 20 00:38:21 1999 +0000
description:
clean unused fwrev stuff
diffstat:
sys/dev/ic/isp_netbsd.c | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (30 lines):
diff -r 3b97c4323c59 -r 5c842c7e3535 sys/dev/ic/isp_netbsd.c
--- a/sys/dev/ic/isp_netbsd.c Mon Dec 20 00:37:49 1999 +0000
+++ b/sys/dev/ic/isp_netbsd.c Mon Dec 20 00:38:21 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.c,v 1.21 1999/12/16 05:35:43 mjacob Exp $ */
+/* $NetBSD: isp_netbsd.c,v 1.22 1999/12/20 00:38:21 mjacob Exp $ */
/*
* Platform (NetBSD) dependent common attachment code for Qlogic adapters.
* Matthew Jacob <mjacob%nas.nasa.gov@localhost>
@@ -84,19 +84,7 @@
sdparam *sdp = isp->isp_param;
isp->isp_osinfo._adapter.scsipi_cmd = ispcmd_slow;
isp->isp_osinfo._link.scsipi_scsi.max_target = MAX_TARGETS-1;
- if (isp->isp_bustype == ISP_BT_SBUS) {
- isp->isp_osinfo._link.scsipi_scsi.max_lun = 7;
- } else {
- /*
- * Too much target breakage at present.
- */
-#if 0
- if (isp->isp_fwrev >= ISP_FW_REV(7,55,0))
- isp->isp_osinfo._link.scsipi_scsi.max_lun = 31;
- else
-#endif
- isp->isp_osinfo._link.scsipi_scsi.max_lun = 7;
- }
+ isp->isp_osinfo._link.scsipi_scsi.max_lun = 7;
isp->isp_osinfo._link.scsipi_scsi.adapter_target =
sdp->isp_initiator_id;
isp->isp_osinfo.discovered[0] = 1 << sdp->isp_initiator_id;
Home |
Main Index |
Thread Index |
Old Index