Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 1995 02:54:18 -0700
From:      David Greenman <davidg@Root.COM>
To:        scsi@freebsd.org
Cc:        julian@ref.tfs.com
Subject:   bt742a.c
Message-ID:  <199508230954.CAA01907@corbin.Root.COM>

next in thread | raw e-mail | index | archive | help
   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);
        }
  
  }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508230954.CAA01907>