patch-2.4.0-test7 linux/drivers/sound/emu10k1/emu_wrapper.h

Next file: linux/drivers/sound/emu10k1/emuadxmg.c
Previous file: linux/drivers/sound/emu10k1/efxmgr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/drivers/sound/emu10k1/emu_wrapper.h linux/drivers/sound/emu10k1/emu_wrapper.h
@@ -3,9 +3,11 @@
 
 #include <linux/wrapper.h>
 
-#define UP_INODE_SEM(a)
-#define DOWN_INODE_SEM(a)
+#define PCI_SET_DMA_MASK(pdev,mask)        (((pdev)->dma_mask) = (mask))
 
-#define GET_INODE_STRUCT()
+#ifndef PCI_GET_DRIVER_DATA
+  #define PCI_GET_DRIVER_DATA(pdev)             ((pdev)->driver_data)
+  #define PCI_SET_DRIVER_DATA(pdev,data)        (((pdev)->driver_data) = (data))
+#endif /* PCI_GET_DRIVER_DATA */
 
 #endif

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