NetBSD/sys/dev/pci/eapvar.h
drochner 315673e79a support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)
2004-07-08 19:39:00 +00:00

10 lines
293 B
C

/* $NetBSD: eapvar.h,v 1.1 2004/07/08 19:39:00 drochner Exp $ */
struct eap_gameport_args {
bus_space_tag_t gpa_iot;
bus_space_handle_t gpa_ioh;
};
struct device *eap_joy_attach(struct device *, struct eap_gameport_args *);
int eap_joy_detach(struct device *, struct eap_gameport_args *);