From 2fc4bfec8dacfbf83aac65a36a5cae60ab994b4a Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 5 Jul 2007 00:17:20 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches. --- hardsid.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hardsid.h (limited to 'hardsid.h') diff --git a/hardsid.h b/hardsid.h new file mode 100644 index 0000000..9516f81 --- /dev/null +++ b/hardsid.h @@ -0,0 +1,36 @@ +/* + * + * Linux HardSID Ioctl calls + * + * Copyright (C) 2001-2002 Jarno Paananen + * Copyright (C) 2001 Simon White + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + * + */ + +#ifndef _hardsid_h_ +#define _hardsid_h_ + +#ifdef __KERNEL__ +# include +#else +# include +#endif + +/* The ioctls we use */ +#define HSID_IOCTL_RESET _IOW('S', 0, int) +#define HSID_IOCTL_FIFOSIZE _IOR('S', 1, int) +#define HSID_IOCTL_FIFOFREE _IOR('S', 2, int) +#define HSID_IOCTL_SIDTYPE _IOR('S', 3, int) +#define HSID_IOCTL_CARDTYPE _IOR('S', 4, int) +#define HSID_IOCTL_MUTE _IOW('S', 5, int) +#define HSID_IOCTL_NOFILTER _IOW('S', 6, int) +#define HSID_IOCTL_FLUSH _IO ('S', 7) +#define HSID_IOCTL_DELAY _IOW('S', 8, int) +#define HSID_IOCTL_READ _IOWR('S', 9, int*) + +#endif /* _hardsid_h_ */ -- cgit v1.2.3