From owner-freebsd-isdn@FreeBSD.ORG Tue May 17 00:20:16 2005 Return-Path: Delivered-To: freebsd-isdn@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBD916A4CE for ; Tue, 17 May 2005 00:20:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C87043DC1 for ; Tue, 17 May 2005 00:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4H0KENb058115 for ; Tue, 17 May 2005 00:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4H0KEJ6058114; Tue, 17 May 2005 00:20:14 GMT (envelope-from gnats) Date: Tue, 17 May 2005 00:20:14 GMT Message-Id: <200505170020.j4H0KEJ6058114@freefall.freebsd.org> To: freebsd-isdn@FreeBSD.org From: Sergio de Souza Prallon Subject: kern/76611: i4b itjc bad enums for PIB cycle time X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergio de Souza Prallon List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 00:20:16 -0000 The following reply was made to PR kern/76611; it has been noted by GNATS. From: Sergio de Souza Prallon 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 Date: Mon, 16 May 2005 21:19:42 -0300 --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--