From owner-cvs-sys Thu Oct 26 16:59:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07338 for cvs-sys-outgoing; Thu, 26 Oct 1995 16:59:09 -0700 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07328 ; Thu, 26 Oct 1995 16:59:01 -0700 Date: Thu, 26 Oct 1995 16:59:01 -0700 From: "Justin T. Gibbs" Message-Id: <199510262359.QAA07328@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/10/26 16:59:00 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Set SCSIGO generically before we determine the phase instead of doing it in each phase routine. Saves a few instructions. Be more careful in how we deal with SXFRCTL0. Or in the control bits of interest instead of using mvi. The kernel driver will set the ULTRAEN bit of SXFRCTL0 if we are using Ultra (20MHz) mode and we don't want to clobber it. In sdtr_to_rate divide by two if we are in ultra mode to get the correct setting since its a 20MHz instead of 10MHz scale. Modified: sys/i386/scsi aic7xxx.c aic7xxx.h Log: Properly deal with the Ultra series of adapters. We should now understand the new seeprom format and negotiate up to 20MHz sync if set in SCSI-Select. Reduce the complexity of the timeout code by running it at splhigh(). Fix a bug that caused rescheduled timeouts at 0 clock ticks in the future causing an infinite loop. Obtained from: Timeout bug noticed by David Greenman and wcarchive. Modified: sys/pci aic7870.c Log: Recognize the aic7880 and 3940 Ultra. If RAMENB is set in devconfig, walk the external SCBs. Some Intel Xpress motherboards set this bit. For external SCBs for the 3940. It doesn't set RAMPS or RAMENB, but does have the ram.