##################################################################
#
# to use this patch:
#    cd /usr/src/linux
#    patch -b -z .orig -p0 < /path/to/pci-irq-mode.patch
#
##################################################################
*** ./include/linux/pci_ids.h.orig	Wed Feb 18 13:36:32 2004
--- ./include/linux/pci_ids.h	Fri Mar 26 13:59:12 2004
***************
*** 637,644 ****
--- 637,647 ----
  #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC 0x0140
  #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER    0x1040
  #define PCI_DEVICE_ID_BUSLOGIC_FLASHPOINT     0x8130
  
+ #define PCI_VENDOR_ID_ENE		0x1524
+ #define PCI_DEVICE_ID_ENE_1410	0x1410
+ 
  #define PCI_VENDOR_ID_TI		0x104c
  #define PCI_DEVICE_ID_TI_TVP4010	0x3d04
  #define PCI_DEVICE_ID_TI_TVP4020	0x3d07
  #define PCI_DEVICE_ID_TI_1130		0xac12
*** ./drivers/pcmcia/ti113x.h.orig	Fri Mar 26 12:14:27 2004
--- ./drivers/pcmcia/ti113x.h	Fri Mar 26 16:34:27 2004
***************
*** 178,186 ****
  	if (!socket->cap.irq_mask) {
  		u8 irqmux, devctl;
  
  		devctl = config_readb(socket, TI113X_DEVICE_CONTROL);
! 		if ((devctl & TI113X_DCR_IMODE_MASK) != TI12XX_DCR_IMODE_ALL_SERIAL) {
  			printk (KERN_INFO "ti113x: Routing card interrupts to PCI\n");
  
  			devctl &= ~TI113X_DCR_IMODE_MASK;
  
--- 178,186 ----
  	if (!socket->cap.irq_mask) {
  		u8 irqmux, devctl;
  
  		devctl = config_readb(socket, TI113X_DEVICE_CONTROL);
! 		{
  			printk (KERN_INFO "ti113x: Routing card interrupts to PCI\n");
  
  			devctl &= ~TI113X_DCR_IMODE_MASK;
  
*** ./drivers/pcmcia/yenta.c.orig	Wed Feb 18 13:36:31 2004
--- ./drivers/pcmcia/yenta.c	Fri Mar 26 16:38:51 2004
***************
*** 870,877 ****
--- 870,879 ----
  	{ PD(TI,1420),	&ti_ops },
  	{ PD(TI,4410),	&ti_ops },
  	{ PD(TI,4451),	&ti_ops },
  
+ 	{ PD(ENE,1410),	&ti_ops },
+ 
  	{ PD(RICOH,RL5C465), &ricoh_ops },
  	{ PD(RICOH,RL5C466), &ricoh_ops },
  	{ PD(RICOH,RL5C475), &ricoh_ops },
  	{ PD(RICOH,RL5C476), &ricoh_ops },
*** ./Makefile.orig	Tue Mar 23 15:47:35 2004
--- ./Makefile	Thu Mar 25 10:04:09 2004
***************
*** 1,8 ****
  VERSION = 2
  PATCHLEVEL = 4
  SUBLEVEL = 25
! EXTRAVERSION =
  
  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
  
  ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
--- 1,8 ----
  VERSION = 2
  PATCHLEVEL = 4
  SUBLEVEL = 25
! EXTRAVERSION = "-pci-irq-mode"
  
  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
  
  ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
***************
*** 73,81 ****
  # INSTALL_PATH specifies where to place the updated kernel and system map
  # images.  Uncomment if you want to place them anywhere other than root.
  #
  
! #export	INSTALL_PATH=/boot
  
  #
  # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
  # relocations required by build roots.  This is not defined in the
--- 73,81 ----
  # INSTALL_PATH specifies where to place the updated kernel and system map
  # images.  Uncomment if you want to place them anywhere other than root.
  #
  
! export	INSTALL_PATH=/boot/2.4.25-pci-irq-mode
  
  #
  # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
  # relocations required by build roots.  This is not defined in the

