From ecffeb2eeb36a6dee108f44284fad9f0dfb998b3 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 29 Aug 2003 03:54:06 +0000 Subject: [PATCH] Apply the following change from 06/28/2003 04:44:10 by gibbs to the FreeBSD ahd driver: Use clr instead of an explicit mov from ALLZEROS to clear SCB_FIFO_USE_COUNT. This is just a syntactic change. --- sys/dev/microcode/aic7xxx/aic79xx.seq | 8 ++++---- sys/dev/microcode/aic7xxx/aic79xx_reg.h | 2 +- sys/dev/microcode/aic7xxx/aic79xx_seq.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/microcode/aic7xxx/aic79xx.seq b/sys/dev/microcode/aic7xxx/aic79xx.seq index e2c8a07649b4..316e77419359 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx.seq +++ b/sys/dev/microcode/aic7xxx/aic79xx.seq @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.seq,v 1.7 2003/08/29 03:51:50 thorpej Exp $ */ +/* $NetBSD: aic79xx.seq,v 1.8 2003/08/29 03:54:06 thorpej Exp $ */ /* * Adaptec U320 device driver firmware for Linux and FreeBSD. @@ -39,10 +39,10 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.seq,v 1.12 2003/06/28 04:40:46 gibbs Exp $ + * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.seq,v 1.13 2003/06/28 04:44:10 gibbs Exp $ */ -VERSION = "Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#95 $" +VERSION = "Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#96 $" PATCH_ARG_LIST = "struct ahd_softc *ahd" PREFIX = "ahd_" @@ -278,7 +278,7 @@ fetch_new_scb_done: * knows the correct location to store the SCB. * Set it to zero before processing the SCB. */ - mov SCB_FIFO_USE_COUNT, ALLZEROS; + clr SCB_FIFO_USE_COUNT; /* Update the next SCB address to download. */ bmov NEXT_QUEUED_SCB_ADDR, SCB_NEXT_SCB_BUSADDR, 4; mvi SCB_NEXT[1], SCB_LIST_NULL; diff --git a/sys/dev/microcode/aic7xxx/aic79xx_reg.h b/sys/dev/microcode/aic7xxx/aic79xx_reg.h index cebe19215b88..f527dda49145 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx_reg.h +++ b/sys/dev/microcode/aic7xxx/aic79xx_reg.h @@ -2,7 +2,7 @@ * DO NOT EDIT - This file is automatically generated * from the following source files: * - * Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#95 $ + * Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#96 $ * Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#70 $ */ typedef int (ahd_reg_print_t)(u_int, u_int *, u_int); diff --git a/sys/dev/microcode/aic7xxx/aic79xx_seq.h b/sys/dev/microcode/aic7xxx/aic79xx_seq.h index 3ae3cbf93ed6..56fe0c9bcb3a 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx_seq.h +++ b/sys/dev/microcode/aic7xxx/aic79xx_seq.h @@ -2,7 +2,7 @@ * DO NOT EDIT - This file is automatically generated * from the following source files: * - * Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#95 $ + * Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#96 $ * Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#70 $ */ static uint8_t seqprog[] = { @@ -114,7 +114,7 @@ static uint8_t seqprog[] = { 0x01, 0x4e, 0x9d, 0x1a, 0x00, 0x4f, 0x9f, 0x22, 0x01, 0x94, 0x6d, 0x33, - 0x01, 0xea, 0x20, 0x33, + 0xff, 0xea, 0x20, 0x0b, 0x04, 0xac, 0x49, 0x32, 0xff, 0xea, 0x5a, 0x03, 0xff, 0xea, 0x5e, 0x03,