[7630] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

RE: Linux SCSI seagate (TMC-950) driver help

daemon@ATHENA.MIT.EDU (Christian Jullien)
Mon Dec 6 12:19:50 1999

From: "Christian Jullien" <eligis@wanadoo.fr>
To: "Marc SCHAEFER" <schaefer@alphanet.ch>
Cc: <linux-scsi@vger.rutgers.edu>
Date:   Mon, 6 Dec 1999 18:02:11 +0100
Message-ID: <NDBBKEKEPPEHBDFOABLGMECECBAA.eligis@wanadoo.fr>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <Pine.LNX.4.10.9912061043020.29702-100000@vulcan.alphanet.ch>

It seems to be fixed with the following patch (from kernel 2.3.29) many
thanks for your help. I believe in Santa-Claus once again.

Where can I post this fix to be integrated in next kernel ?

*** seagate.c	Mon Dec 06 17:46:30 1999
--- seagate.new	Mon Dec 06 17:53:12 1999
***************
*** 18,23
   *
   * 1998-jul-29 - created DPRINTK macros and made it work under
   * linux 2.1.112, simplified some #defines etc. <pavel@ucw.cz>
   */

  /*

--- 18,26 -----
   *
   * 1998-jul-29 - created DPRINTK macros and made it work under
   * linux 2.1.112, simplified some #defines etc. <pavel@ucw.cz>
+  *
+  * 1999-dec-06 - fix broken driver for TMC 950/9C50 by Christian Jullien.
+  * Works on linux 2.3.29 <jullien@eligis.com>
   */

  /*
***************
*** 308,313
    {"FUTURE DOMAIN CORP. (C) 1992 V8.00.004/02/92", 5, 44, FD},
    {"IBM F1 BIOS V1.1004/30/92", 5, 25, FD},
    {"FUTURE DOMAIN TMC-950", 5, 21, FD},
  };

  #define NUM_SIGNATURES (sizeof(signatures) / sizeof(Signature))

--- 311,317 -----
    {"FUTURE DOMAIN CORP. (C) 1992 V8.00.004/02/92", 5, 44, FD},
    {"IBM F1 BIOS V1.1004/30/92", 5, 25, FD},
    {"FUTURE DOMAIN TMC-950", 5, 21, FD},
+   {"Future Domain Corp. V1.0008/18/93", 5, 33, FD},
  };

  #define NUM_SIGNATURES (sizeof(signatures) / sizeof(Signature))
***************
*** 1478,1484
            switch (reselect)
            {
              case CAN_RECONNECT:
!               WRITE_DATA (IDENTIFY (1, lun));

                DPRINTK (PHASE_RESELECT | PHASE_MSGOUT, "scsi%d : sent
IDENTIFY message.\n", hostno);
                break;

--- 1482,1489 -----
            switch (reselect)
            {
              case CAN_RECONNECT:
!               /* disconnect does not work with TMC 9C50/950 driver */
!               WRITE_DATA (IDENTIFY (((controller_type==SEAGATE) ? 1 : 0),
lun));

                DPRINTK (PHASE_RESELECT | PHASE_MSGOUT, "scsi%d : sent
IDENTIFY message.\n", hostno);
                break;


 > -----Original Message-----
 > From: Marc SCHAEFER [mailto:schaefer@alphanet.ch]
 > Sent: lundi 6 decembre 1999 10:44
 > To: Christian Jullien
 > Cc: linux-scsi@vger.rutgers.edu
 > Subject: RE: Linux SCSI seagate (TMC-950) driver help
 >
 >
 > On Mon, 6 Dec 1999, Christian Jullien wrote:
 >
 > > Where is the "official" way to do this ?
 >
 > The SCSI standard way is to select with a message without the disconnect
 > bit set (ie 0x80 instead of 0xC0), or, worse, without any ATN/message.
 >
 > If you are lucky, the TMC-950 is a very low-level driver, and handles
 > the messaging by itself. If yes, try to find:
 >
 >    - identify message
 >    - 0xc0
 >    - anything to do with ATN.
 >
 >
 >


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post