Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2o FC peripherals on DPT/Adaptec boards only respon...



details:   https://anonhg.NetBSD.org/src/rev/1b7e65b4eead
branches:  trunk
changeset: 503514:1b7e65b4eead
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Feb 07 17:05:46 2001 +0000

description:
FC peripherals on DPT/Adaptec boards only respond to private class messages.

diffstat:

 sys/dev/i2o/iopsp.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r d92ab7856c4d -r 1b7e65b4eead sys/dev/i2o/iopsp.c
--- a/sys/dev/i2o/iopsp.c       Wed Feb 07 17:05:31 2001 +0000
+++ b/sys/dev/i2o/iopsp.c       Wed Feb 07 17:05:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iopsp.c,v 1.3 2000/12/03 13:17:03 ad Exp $     */
+/*     $NetBSD: iopsp.c,v 1.4 2001/02/07 17:05:46 ad Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -112,10 +112,6 @@
            I2O_PARAM_HBA_CTLR_INFO, &param, sizeof(param)) != 0)
                return (0);
 
-       /*
-        * XXX DPT's driver matches fibrechannel ports, but the spec says we
-        * shouldn't; need testing.
-        */
        return (param.ci.bustype == I2O_HBA_BUS_SCSI ||
            param.ci.bustype == I2O_HBA_BUS_FCA);
 }
@@ -297,7 +293,6 @@
        for (i = 0, le = iop->sc_lct->entry; i < nent; i++, le++) {
                switch (le16toh(le->classid) & 4095) {
                case I2O_CLASS_SCSI_PERIPHERAL:
-               case I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL:
                        break;
                default:
                        continue;



Home | Main Index | Thread Index | Old Index