Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 21:19:42 -0300
From:      Sergio de Souza Prallon <prallon@tmp.com.br>
To:        bug-followup@FreeBSD.org, mauritz.sundell@home.se
Cc:        freebsd-isdn@FreeBSD.org
Subject:   kern/76611: i4b itjc bad enums for PIB cycle time
Message-ID:  <20050516211942.A5259@tmp.com.br>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii

Hi,

Thank you for noticing the typo. While fixing it, I found another couple.
Attached is the diff with the fixes.

[]'s

--
Prallon

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="itjc.diff"

--- i4b_itjc_pci.c.orig	Mon May 16 20:59:39 2005
+++ i4b_itjc_pci.c	Mon May 16 21:05:40 2005
@@ -211,8 +211,8 @@
 
 	TIGER_PIB_CYCLE_TIMING_MASK	= 0x30,
 		TIGER_PIB_3_CYCLES	= 0x00,
-		TIGER_PIB_5_CYCLES	= 0x01,
-		TIGER_PIB_12_CYCLES	= 0x10,
+		TIGER_PIB_5_CYCLES	= 0x10,
+		TIGER_PIB_12_CYCLES	= 0x20,
 
 	TIGER_RESET_MASK		= 0x0F,
 		TIGER_RESET_PULSE_COUNT	= 0x08,
@@ -224,7 +224,7 @@
 /* DMA Operation */
 	TIGER_DMA_RESTART_MASK		= 0x02,
 		TIGER_HOLD_DMA		= 0x00,
-		TIGER_RESTART_DMA	= 0x00,
+		TIGER_RESTART_DMA	= 0x02,
 
 	TIGER_DMA_ENABLE_MASK		= 0x01,
 		TIGER_ENABLE_DMA	= 0x01,
@@ -251,13 +251,13 @@
 		TIGER_AUX_4_IS_INPUT	= 0x00,
 		TIGER_AUX_4_IS_OUTPUT	= 0x10,
 		TIGER_AUX_3_IS_INPUT	= 0x00,
-		TIGER_AUX_3_IS_OUTPUT	= 0x80,
+		TIGER_AUX_3_IS_OUTPUT	= 0x08,
 		TIGER_AUX_2_IS_INPUT	= 0x00,
-		TIGER_AUX_2_IS_OUTPUT	= 0x40,
+		TIGER_AUX_2_IS_OUTPUT	= 0x04,
 		TIGER_AUX_1_IS_INPUT	= 0x00,
-		TIGER_AUX_1_IS_OUTPUT	= 0x20,
+		TIGER_AUX_1_IS_OUTPUT	= 0x02,
 		TIGER_AUX_0_IS_INPUT	= 0x00,
-		TIGER_AUX_0_IS_OUTPUT	= 0x10,
+		TIGER_AUX_0_IS_OUTPUT	= 0x01,
 		TIGER_AUX_NJ_DEFAULT	= 0xEF, /* All but ISAC int is output */
 
 /* Interrupt 0 Mask & Status */

--6c2NcOVqGQ03X4Wi--



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