1 #ifndef __LINUX_PCI_GAMEPORT_H
2 #define __LINUX_PCI_GAMEPORT_H
5 * Public interfaces for attaching a PCI gameport directly to the
6 * soundcard when it shares the same PCI ident
9 #define PCIGAME_4DWAVE 0
10 #define PCIGAME_VORTEX 1
11 #define PCIGAME_VORTEX2 2
15 int gcr; /* Gameport control register */
16 int legacy; /* Legacy port location */
17 int axes; /* Axes start */
18 int axsize; /* Axis field size */
19 int axmax; /* Axis field max value */
20 int adcmode; /* Value to enable ADC mode in GCR */
24 struct gameport gameport;
27 struct pcigame_data *data;
31 #if defined(CONFIG_INPUT_PCIGAME) || defined(CONFIG_INPUT_PCIGAME_MODULE)
32 extern struct pcigame *pcigame_attach(struct pci_dev *dev, int type);
33 extern void pcigame_detach(struct pcigame *game);
35 #define pcigame_attach(a,b) NULL
36 #define pcigame_detach(a)