[7672] in linux-scsi channel archive

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

INITIO - A100 Scsi driver patch for 2.3.32pre

daemon@ATHENA.MIT.EDU (Neil Brown)
Sun Dec 12 21:42:51 1999

From: Neil Brown <neilb@cse.unsw.edu.au>
To: Linus Torvalds <torvalds@transmeta.com>,
	linux-scsi@vger.rutgers.edu
Date:   Mon, 13 Dec 1999 13:39:27 +1100 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14420.23647.190648.76453@notabene.cse.unsw.EDU.AU>


The SPINLOCK_DEBUG stuff shows up an error in drivers/scsi/inia100.c -
an uninitialised spinlock.

The following patch allows the system to boot with the inia100 driver
talking to an A100 card (I don't promise that the driver actually
works).

NeilBrown

*** drivers/scsi/inia100.c	1999/12/13 01:52:10	1.1
--- drivers/scsi/inia100.c	1999/12/13 01:52:56
***************
*** 351,356 ****
--- 351,358 ----
  		pHCB->pSRB_head = NULL;		/* Initial SRB save queue       */
  		pHCB->pSRB_tail = NULL;		/* Initial SRB save queue       */
  		pHCB->pSRB_lock = SPIN_LOCK_UNLOCKED; /* SRB save queue lock */
+ 		pHCB->BitAllocFlagLock = SPIN_LOCK_UNLOCKED;
+ 		
  		/* Get total memory needed for SCB */
  		sz = orc_num_scb * sizeof(ORC_SCB);
  		if ((pHCB->HCS_virScbArray = (PVOID) kmalloc(sz, GFP_ATOMIC | GFP_DMA)) == NULL) {

-
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