patch-2.3.41 linux/include/linux/parport_pc.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/include/linux/parport_pc.h linux/include/linux/parport_pc.h
@@ -37,6 +37,8 @@
 	/* buffer suitable for DMA, if DMA enabled */
 	char *dma_buf;
+	dma_addr_t dma_handle;
+	struct pci_dev *dev;
 extern __inline__ void parport_pc_write_data(struct parport *p, unsigned char d)
@@ -175,6 +177,7 @@
 /* PCMCIA code will want to get us to look at a port.  Provide a mechanism. */
 extern struct parport *parport_pc_probe_port (unsigned long base,
 					      unsigned long base_hi,
-					      int irq, int dma);
+					      int irq, int dma,
+					      struct pci_dev *dev);

TCL-scripts by Sam Shen (who was at: