From zah@relc.com  Fri May 23 11:19:33 2003
Return-Path: <zah@relc.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A6F2837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 May 2003 11:19:33 -0700 (PDT)
Received: from kiev.relc.com (scelto.ts.kiev.ua [194.183.162.193])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3F78543FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 May 2003 11:19:26 -0700 (PDT)
	(envelope-from zah@relc.com)
Received: from relc.com (localhost [127.0.0.1])
	by kiev.relc.com (8.12.9/8.12.9) with ESMTP id h4NIJHdZ069334
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 May 2003 21:19:19 +0300 (EEST)
Received: (from zah@localhost)
	by relc.com (8.12.9/8.12.9/Submit) id h4NIJGjv069333;
	Fri, 23 May 2003 21:19:16 +0300 (EEST)
Message-Id: <200305231819.h4NIJGjv069333@relc.com>
Date: Fri, 23 May 2003 21:19:16 +0300 (EEST)
From: Anatoly Zaharov <zah@relc.com>
Reply-To: Anatoly Zaharov <zah@relc.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Error in driver for the Intel EtherExpress Pro/10
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52623
>Category:       kern
>Synopsis:       [ex] [patch] IRQ error in driver for the Intel EtherExpress Pro/10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 11:20:03 PDT 2003
>Closed-Date:    
>Last-Modified:  Sun Oct 23 21:49:42 GMT 2005
>Originator:     Anatoly Zaharov
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Relcom-Ukraine ltd.	
>Environment:
System: FreeBSD scelto.relc.com 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Fri May 23 10:06:57 EEST 2003 zah@variag.relc.com:/usr/src/sys/compile/NIK i386


	
>Description:
	Intel EtherExpress Pro/10 configured to use IRQ 3,5 or 9
	not working.
>How-To-Repeat:
	
>Fix:
	fix maping irq number to internal table. 
	Patch :
	
--- if_ex.c.4.8	Fri May 23 14:36:23 2003
+++ sys/dev/ex/if_ex.c	Fri May 23 16:20:43 2003
@@ -81,9 +81,9 @@
 #endif
 
 char irq2eemap[] =
-	{ -1, -1, 0, 1, -1, 2, -1, -1, -1, 0, 3, 4, -1, -1, -1, -1 };
+	{ -1, -1, 2, 0, -1, 1, -1, -1, -1, 2, 3, 4, -1, -1, -1, -1 };
 u_char ee2irqmap[] =
-	{ 9, 3, 5, 10, 11, 0, 0, 0 };
+	{ 3, 5, 9, 10, 11, 0, 0, 0 };
                 
 char plus_irq2eemap[] =
 	{ -1, -1, -1, 0, 1, 2, -1, 3, -1, 4, 5, 6, 7, -1, -1, -1 };


>Release-Note:
>Audit-Trail:
>Unformatted:
