Skip to contentSkip to conversation

PATCH: NCR53c406 missing release_region

PATCH Marcus Meissner 1 participant 1 message May 16, 2001

lore
Share & tools
lore
#0 lore raw

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

scsi/NCR53c406a.c +1 -0
diff -u -r1.6 NCR53c406a.c
@@ -508,6 +508,7 @@
                     VDEB(printk("port_base=%x\n", port_base));
                     break;
                 }
+                release_region(ports[i], 0x10);
             }
         }
     }