Subject: port-i386/2303: IRQ 7 bad choice fori Intel EtherExpress cards
To: None <gnats-bugs@NetBSD.ORG>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 04/05/1996 15:59:51
>Number:         2303
>Category:       port-i386
>Synopsis:       IRQ 7 bad choice fori Intel EtherExpress cards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr  5 16:20:05 1996
>Last-Modified:
>Originator:     Andreas Wrede
>Organization:
Planix, Inx. Toronto, Ontario, Canada
>Release:        <NetBSD-current source date> Wed Apr  3 02:59:06 1996
>Environment:
	
System: NetBSD woffi 1.1B NetBSD 1.1B (WOFFI) #3: Wed Apr 3 13:07:18 EST 1996 root@woffi:/local/src/netbsd-current/src/sys/arch/i386/compile/WOFFI i386
>Description:
A number of kernel config files include ie0 with an IRQ of 7. The latest 
version of the Intel configuration utility (softset.exe) does not allow 
you to set the IRQ on EtherExpress cards to 7, which makes INSTALL/GENERIC 
kernels unusable with those cards. I believe the other cards supported by
the ie device driver also support IRQ 10, but I am not sure, someone please
correct me if this is not the case.

>How-To-Repeat:
run softset.exe, try setting IRQ to 7.
>Fix:
Apply following patch to change IRQ setting to 10 and adjust the entry in
i386/notes/hardware accordingly:

*** sys/arch/i386/conf.old/DISKLESS	Mon Mar 25 12:23:18 1996
--- sys/arch/i386/conf/DISKLESS	Fri Apr  5 15:28:06 1996
***************
*** 156,162 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  #el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN & 3C507 ethernet cards
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  
  sb0	at isa? port 0x220 irq 7 drq 1	# SoundBlaster
--- 156,162 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  #el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN & 3C507 ethernet cards
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  
  sb0	at isa? port 0x220 irq 7 drq 1	# SoundBlaster
*** sys/arch/i386/conf.old/GENERIC	Sun Mar 31 12:31:27 1996
--- sys/arch/i386/conf/GENERIC	Fri Apr  5 15:28:15 1996
***************
*** 169,175 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
--- 169,175 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
*** sys/arch/i386/conf.old/GENERICADP	Sun Mar 31 12:31:28 1996
--- sys/arch/i386/conf/GENERICADP	Fri Apr  5 15:28:23 1996
***************
*** 155,161 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
--- 155,161 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
*** sys/arch/i386/conf.old/GENERICOTHER	Sun Mar 31 12:31:28 1996
--- sys/arch/i386/conf/GENERICOTHER	Fri Apr  5 15:28:29 1996
***************
*** 159,165 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
--- 159,165 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
*** sys/arch/i386/conf.old/INSTADP	Mon Mar 25 12:23:19 1996
--- sys/arch/i386/conf/INSTADP	Fri Apr  5 15:28:38 1996
***************
*** 116,122 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
--- 116,122 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
*** sys/arch/i386/conf.old/INSTOTHER	Sat Mar 30 12:43:34 1996
--- sys/arch/i386/conf/INSTOTHER	Fri Apr  5 15:28:46 1996
***************
*** 120,126 ****
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
--- 120,126 ----
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
! ie0	at isa? port 0x360 iomem 0xd0000 irq 10	# StarLAN, 3C507, and Etherexpress
  #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
  le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
  de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
*** distrib/notes/i386/hardware.old	Fri Apr  5 15:48:34 1996
--- distrib/notes/i386/hardware	Fri Apr  5 15:49:50 1996
***************
*** 187,194 ****
  3COM 3c509 or 3COM 3c579 Ethernet boards
  		ep0	any	any
  
! AT&T StarLAN 10, EN100, or StarLAN Fiber, or 3COM 3c507 Ethernet boards
! 		ie0	0x360	7		iomem 0xd0000
  
  PCNet-PCI based Ethernet boards; see above for partial list
  		le0	any	any	[you must assign an interrupt in your
--- 187,195 ----
  3COM 3c509 or 3COM 3c579 Ethernet boards
  		ep0	any	any
  
! AT&T StarLAN 10, EN100, or StarLAN Fiber, or 3COM 3c507 or
! Intel EtherExpress 16 Ethernet boards
! 		ie0	0x360	10		iomem 0xd0000
  
  PCNet-PCI based Ethernet boards; see above for partial list
  		le0	any	any	[you must assign an interrupt in your
>Audit-Trail:
>Unformatted:
Intel EtherExpress cannot be configured for IRQ 7