From owner-freebsd-bugs Wed Mar 17 12:50:20 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E7E5F153BC for ; Wed, 17 Mar 1999 12:50:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id MAA67098; Wed, 17 Mar 1999 12:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 9753615376; Wed, 17 Mar 1999 12:49:32 -0800 (PST) Message-Id: <19990317204932.9753615376@hub.freebsd.org> Date: Wed, 17 Mar 1999 12:49:32 -0800 (PST) From: ath@niksun.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/10641: Default sync rate in ncr SCSI driver is slower than Ultra2 allows Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10641 >Category: kern >Synopsis: Default sync rate in ncr SCSI driver is slower than Ultra2 allows >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 17 12:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Andrew Heybey >Release: 3.1-RELEASE >Organization: Niksun, Inc. >Environment: FreeBSD alpha.niksun.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Wed Mar 17 15:06:52 EST 1999 ath@alpha.niksun.com:/usr/src/sys/compile/ALPHA i386 >Description: If it is not otherwise defined (eg via the kernel config file), sys/pci/ncr.c sets NCR_SCSI_DFLT_SYNC to 12 (which is 20 MHz). This means that by default ultra2 controllers will only run at half their maximum rate. >How-To-Repeat: Boot system with LVD Ultra2 disks on an NCR895/896 controller. See the BIOS print out "80MB/s". See FreeBSD print out "da0: 40.0MB/s transfers (20.0MHz, offset 15, 16bit)". >Fix: [The patch is again -current, not 3.1-RELEASE] --- ncr.c 1999/01/27 23:45:43 1.142 +++ ncr.c 1999/03/17 20:46:22 @@ -79,7 +79,7 @@ #ifndef SCSI_NCR_MAX_SYNC #ifndef SCSI_NCR_DFLT_SYNC -#define SCSI_NCR_DFLT_SYNC (12) +#define SCSI_NCR_DFLT_SYNC (6) #endif /* SCSI_NCR_DFLT_SYNC */ #else >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message