Date: Thu, 06 Apr 1995 12:30:16 -0700 From: "Justin T. Gibbs" <gibbs@estienne.CS.Berkeley.EDU> To: Terry Lee <terryl@CS.Stanford.EDU> Cc: freebsd-hackers@FreeBSD.org Subject: Re: AHA-2940 boot prob. 950322-SNAP Message-ID: <199504061930.MAA24679@estienne.cs.berkeley.edu> In-Reply-To: Your message of "Thu, 06 Apr 1995 12:26:08 PDT." <Pine.SUN.3.91.950406121058.24771A-100000@Xenon.Stanford.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
>> The 950322-SNAP was released two days before I had my 48 hour spurt >> of work on the driver. The one in -current is rock solid as far as >> the controllers go... I'm down to fixing device quirks now. I would >> suggest picking up the -current driver, but as a stopgap, this might > >Okay. Is this what I need? > >gnu/misc/aic7xxx/* >i386/scsi/aic7xxx.* >pci/aic7870.c i386/isa/aic7770.c > >Is that all? They I only need to recompile a new kernel? I think this should fix it for you. If for some reason your drive times out (and is detected as a tagged queuing device), try disabling the tagged queuing support. Its just a couple #if 0's in i386/scsi/aic7xxx.c's ahc_done routine where it looks at the inquiry data to see if the drive can do tagged queueing. > >Thanks again. > >Terry > > >> be enough to fix your problem: >> >> /* Determine channel configuration and who we are on the scsi >> bus. */ >> switch ( (sblkctl = inb(SBLKCTL + iobase) & 0x0f) ) { >> case 0: >> ahc->our_id = (inb(HA_SCSICONF + iobase) & HSCSIID); >> printf("Single Channel, SCSI Id=%d, ", ahc->our_id); >> + outb(HA_FLAGS + iobase, SINGLE_BUS); >> break; >> >> And add this somewhere: >> >> #define SINGLE_BUS 0 > >I N T E R N E T Terry Lee, Technical Director >D E S I G N 745 Stanford Avenue, Palo Alto, California 94306 >G R O U P 415 424 0747 voice 415 424-0751 fax >http://www.mall.net terryl@cs.stanford.edu http://www.mall.net/terry > -- Justin T. Gibbs ============================================== TCS Instructional Group - Programmer/Analyst 1 Cory | Po | Danube | Volga | Parker | Torus ==============================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504061930.MAA24679>