31 #include <linux/module.h>
34 #include <linux/gameport.h>
35 #include <linux/slab.h>
36 #include <linux/pci.h>
67 port = gameport_allocate_port();
84 gameport_set_name(port,
"EMU10K1");
86 port->
dev.parent = &pdev->
dev;
93 goto err_out_disable_dev;
96 pci_set_drvdata(pdev, emu);
98 gameport_register_port(port);
105 gameport_free_port(port);
112 struct emu *emu = pci_get_drvdata(pdev);
122 .name =
"Emu10k1_gameport",