[2.1.33] Parallel port fix

Bri (palin@lance.ij.net)
Thu, 10 Apr 1997 22:06:39 -0400 (EDT)


Found an (incredibly minor) bug in parport_share.c in
drivers/pnp... and, I'm proud to say, I actually can attach a patch (even,
as I said, if it's an incredibly minor one.) :)

-Bri (happy to have actually possibly contributed something:)

--- parport_share.orig Thu Apr 10 22:00:45 1997
+++ parport_share.c Thu Apr 10 22:00:55 1997
@@ -64,7 +64,7 @@
if (new.dma >= 0) {
if (request_dma(new.dma, new.name)) {
printk(KERN_INFO "%s: unable to claim DMA %d\n",
- new.name, new..dma);
+ new.name, new.dma);
release_region(new.base, new.size);
if( new.modes & PARPORT_MODE_ECR )
release_region(new.base+0x400, 3);


-=- Brian Smith (palin@lance.ij.net)