patch-2.4.21 linux-2.4.21/drivers/ieee1394/amdtp.h
Next file: linux-2.4.21/drivers/ieee1394/cmp.c
Previous file: linux-2.4.21/drivers/ieee1394/amdtp.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
2003-06-13 07:51:34.000000000 -0700
- Orig file:
linux-2.4.20/drivers/ieee1394/amdtp.h
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/ieee1394/amdtp.h linux-2.4.21/drivers/ieee1394/amdtp.h
@@ -3,8 +3,8 @@
#ifndef __AMDTP_H
#define __AMDTP_H
-#include <asm/ioctl.h>
#include <asm/types.h>
+#include "ieee1394-ioctl.h"
/* The userspace interface for the Audio & Music Data Transmission
* Protocol driver is really simple. First, open /dev/amdtp, use the
@@ -57,13 +57,6 @@
*
*/
-/* We use '#' for our ioctl magic number because it's cool. */
-
-#define AMDTP_IOC_CHANNEL _IOW('#', 0, sizeof (struct amdtp_ioctl))
-#define AMDTP_IOC_PLUG _IOW('#', 1, sizeof (struct amdtp_ioctl))
-#define AMDTP_IOC_PING _IOW('#', 2, sizeof (struct amdtp_ioctl))
-#define AMDTP_IOC_ZAP _IO('#', 3)
-
enum {
AMDTP_FORMAT_RAW,
AMDTP_FORMAT_IEC958_PCM,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)