From owner-freebsd-hackers Thu Apr 6 12:26:28 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA05226 for hackers-outgoing; Thu, 6 Apr 1995 12:26:28 -0700 Received: from Xenon.Stanford.EDU (Xenon.Stanford.EDU [36.28.0.25]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id MAA05220 for ; Thu, 6 Apr 1995 12:26:25 -0700 Received: by Xenon.Stanford.EDU (5.61+IDA/25-Xenon-eef) id AA26816; Thu, 6 Apr 95 12:26:10 -0700 Date: Thu, 6 Apr 1995 12:26:08 -0700 (PDT) From: Terry Lee To: "Justin T. Gibbs" Cc: freebsd-hackers@FreeBSD.org Subject: Re: AHA-2940 boot prob. 950322-SNAP In-Reply-To: <199504060649.XAA21851@estienne.cs.berkeley.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk > 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 Is that all? They I only need to recompile a new kernel? 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