patch-2.3.3 linux/drivers/misc/parport_init.c

Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/macintosh/macserial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/misc/parport_init.c linux/drivers/misc/parport_init.c
@@ -20,10 +20,11 @@
 
 #ifndef MODULE
 static int io[PARPORT_MAX+1] __initdata = { [0 ... PARPORT_MAX] = 0 };
+static int io_hi[PARPORT_MAX+1] __initdata = { [0 ... PARPORT_MAX] = 0 };
 static int irq[PARPORT_MAX] __initdata = { [0 ... PARPORT_MAX-1] = PARPORT_IRQ_PROBEONLY };
 static int dma[PARPORT_MAX] __initdata = { [0 ... PARPORT_MAX-1] = PARPORT_DMA_NONE };
 
-extern int parport_pc_init(int *io, int *irq, int *dma);
+extern int parport_pc_init(int *io, int *io_hi, int *irq, int *dma);
 extern int parport_ax_init(void);
 
 static int parport_setup_ptr __initdata = 0;
@@ -121,7 +122,7 @@
 	parport_proc_init();
 #endif
 #ifdef CONFIG_PARPORT_PC
-	parport_pc_init(io, irq, dma);
+	parport_pc_init(io, io_hi, irq, dma);
 #endif
 #ifdef CONFIG_PARPORT_AX
 	parport_ax_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)