Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 1998 21:20:00 -0700 (PDT)
From:      Matthias Buelow <mkb@mayn.de>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/7237: [patch] NCR SCSI driver ch0 troubles
Message-ID:  <199807120420.VAA15990@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/7237; it has been noted by GNATS.

From: Matthias Buelow <mkb@mayn.de>
To: freebsd-gnats-submit@freebsd.org, mkb@mayn.de
Cc:  Subject: Re: kern/7237: [patch] NCR SCSI driver ch0 troubles
Date: Sun, 12 Jul 1998 02:11:59 +0200

 Hans Huebner <hans@artcom.de> has pointed me out, that
 there is a SCSI_DATA_IN missing when calling scsi_scsi_cmd
 in ch.c:ch_getelemstatus.  This only seems to affect the
 NCR controller.  I changed it and it seems to work fine.
 Here's a patch for that particular problem on 2.2-STABLE:
 
 --- scsi/ch.c   Sun Jul 12 02:08:15 1998
 +++ scsi/ch.c.NEW       Sun Jul 12 02:08:08 1998
 @@ -603,7 +603,8 @@
          * Send command to changer.
          */
         return (scsi_scsi_cmd(sc->sc_link, (struct scsi_generic *)&cmd,
 -           sizeof(cmd), (u_char *)data, datalen, CHRETRIES, 100000,
 NULL, 0));
 +           sizeof(cmd), (u_char *)data, datalen, CHRETRIES, 100000,
 NULL,
 +           SCSI_DATA_IN));
  }

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807120420.VAA15990>