From owner-freebsd-scsi Wed Aug 23 02:53:31 1995 Return-Path: freebsd-scsi-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id CAA25141 for freebsd-scsi-outgoing; Wed, 23 Aug 1995 02:53:31 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id CAA25132 for ; Wed, 23 Aug 1995 02:53:28 -0700 Received: from corbin.Root.COM (corbin [198.145.90.34]) by Root.COM (8.6.11/8.6.5) with ESMTP id CAA05925; Wed, 23 Aug 1995 02:52:29 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id CAA01907; Wed, 23 Aug 1995 02:54:18 -0700 Message-Id: <199508230954.CAA01907@corbin.Root.COM> To: scsi@freebsd.org cc: julian@ref.tfs.com Subject: bt742a.c From: David Greenman Reply-To: davidg@Root.COM Date: Wed, 23 Aug 1995 02:54:18 -0700 Sender: freebsd-scsi-owner@freebsd.org Precedence: bulk Can someone with BusLogic programming information tell me if the following change is correct? -DG *** 210/sys/i386/isa/bt742a.c Tue May 30 01:01:21 1995 --- sys/i386/isa/bt742a.c Tue Jul 25 09:06:06 1995 *************** *** 121,128 **** /* The following command appeared at FirmWare 3.31 */ #define BT_ROUND_ROBIN 0x8f /* Enable/Disable(default) round robin */ ! #define BT_DISABLE 0x00 /* Parameter value for Disable */ ! #define BT_ENABLE 0x01 /* Parameter value for Enable */ struct bt_cmd_buf { u_char byte[16]; --- 121,128 ---- /* The following command appeared at FirmWare 3.31 */ #define BT_ROUND_ROBIN 0x8f /* Enable/Disable(default) round robin */ ! #define BT_STRICT_ROUND_ROBIN 0x00 /* Parameter value for strict mode */ ! #define BT_AGRES_ROUND_ROBIN 0x01 /* Parameter value for backword comp */ struct bt_cmd_buf { u_char byte[16]; *************** *** 1383,1392 **** * BT_ROUND_ROBIN command amurai@spec.co.jp */ if ( bID.firm_revision >= '3' ) { ! printf("bt%d: Enabling Round robin scheme\n", unit); ! bt_cmd(unit, 1, 0, 0, 0, BT_ROUND_ROBIN, BT_ENABLE); } else { ! printf("bt%d: Not Enabling Round robin scheme\n", unit); } } --- 1387,1396 ---- * BT_ROUND_ROBIN command amurai@spec.co.jp */ if ( bID.firm_revision >= '3' ) { ! printf("bt%d: Using Strict Round robin scheme\n", unit); ! bt_cmd(unit, 1, 0, 0, 0, BT_ROUND_ROBIN, BT_STRICT_ROUND_ROBIN); } else { ! printf("bt%d: Not using Strict Round robin scheme\n", unit); } }