PATCH: NCR53c406 missing release_region

From: Marcus Meissner (Marcus.Meissner@caldera.de)
Date: Wed May 16 2001 - 04:48:42 EST


Hi,

There was a missing release_region in NCR53c406a.c, which fscked up
probing with 'modprobe NCR53c406' like one mode of our installer does.
(Tested by checking the contents of /proc/ioports before and after. After
 modprobe it contained junk for the probed port range. It no longer does.)

Ciao, Marcus

Index: drivers/scsi/NCR53c406a.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/NCR53c406a.c,v
retrieving revision 1.6
diff -u -r1.6 NCR53c406a.c
--- drivers/scsi/NCR53c406a.c 2001/05/03 13:03:53 1.6
+++ drivers/scsi/NCR53c406a.c 2001/05/16 09:38:11
@@ -508,6 +508,7 @@
                     VDEB(printk("port_base=%x\n", port_base));
                     break;
                 }
+ release_region(ports[i], 0x10);
             }
         }
     }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:16 EST