*** ./drivers/pcmcia/yenta.c.orig	2004-04-14 14:05:31.000000000 +0100
--- ./drivers/pcmcia/yenta.c	2005-01-06 14:22:05.000000000 +0000
***************
*** 752,759 ****
--- 752,767 ----
  		return;
  
  	start = config_readl(socket, offset) & mask;
  	end = config_readl(socket, offset+4) | ~mask;
+ 
+         if (!(type & IORESOURCE_IO) && (((end - start) < BRIDGE_SIZE_MIN) ||
+             (start & (end - start))))
+         {
+               printk(KERN_INFO "yenta %s: Preassigned resource start %lx end %lx too small or not aligned.\n", socket->dev->slot_name, start, end);
+                 res->start = res->end = 0;
+         }
+         else
  	if (start && end > start) {
  		res->start = start;
  		res->end = end;
  		if (request_resource(root, res) == 0)
*** ./drivers/pcmcia/ti113x.h.orig	2005-01-06 14:50:03.000000000 +0000
--- ./drivers/pcmcia/ti113x.h	2005-01-07 10:32:13.000000000 +0000
***************
*** 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;
  
*** ./Makefile.orig	2004-04-14 14:05:41.000000000 +0100
--- ./Makefile	2005-01-06 14:24:03.000000000 +0000
***************
*** 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
  
  #
  # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
  # relocations required by build roots.  This is not defined in the
