patch-2.1.97 linux/include/linux/parport.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/asm-sparc64/xstat.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/include/linux/parport.h linux/include/linux/parport.h
@@ -283,6 +283,7 @@
 	if ((dev->port->waithead == NULL) || (timeslip < dev->timeslice))
 		return 0;
 	parport_release(dev);
+	schedule();
 	return parport_claim_or_block(dev);
 }
 
@@ -292,7 +293,7 @@
 
 #define PARPORT_FLAG_COMA		1
 
-extern void parport_parse_irqs(int, const char *, int irqval[]);
+extern void parport_parse_irqs(int, const char *[], int irqval[]);
 extern int parport_ieee1284_nibble_mode_ok(struct parport *, unsigned char);
 extern int parport_wait_peripheral(struct parport *, unsigned char, unsigned
 				   char);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov