hal: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Wed Apr 25 12:20:39 PDT 2007
hald/linux/probing/probe-ieee1394-unit.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
New commits:
diff-tree f2b0e5ae7eb888ea332bc66217f9612b73255711 (from 8e6daa796eec0bf639567ed94a784838c1fc5fdb)
Author: Kristian Høgsberg <krh at redhat.com>
Date: Wed Apr 25 15:20:39 2007 -0400
update firewire prober to use correct ioctl codes
diff --git a/hald/linux/probing/probe-ieee1394-unit.c b/hald/linux/probing/probe-ieee1394-unit.c
index bfa3ed0..70facfd 100644
--- a/hald/linux/probing/probe-ieee1394-unit.c
+++ b/hald/linux/probing/probe-ieee1394-unit.c
@@ -83,14 +83,11 @@ struct fw_cdev_event_request {
__u32 data[0];
};
-#define FW_CDEV_IOC_GET_INFO _IO('#', 0x00)
-#define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01)
-#define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02)
-#define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03)
-#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04)
-#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05)
-#define FW_CDEV_IOC_ADD_DESCRIPTOR _IO('#', 0x06)
-#define FW_CDEV_IOC_REMOVE_DESCRIPTOR _IO('#', 0x07)
+#define FW_CDEV_IOC_GET_INFO _IOWR('#', 0x00, struct fw_cdev_get_info)
+#define FW_CDEV_IOC_SEND_REQUEST _IOW('#', 0x01, struct fw_cdev_send_request)
+#define FW_CDEV_IOC_ALLOCATE _IOWR('#', 0x02, struct fw_cdev_allocate)
+#define FW_CDEV_IOC_DEALLOCATE _IOW('#', 0x03, struct fw_cdev_deallocate)
+#define FW_CDEV_IOC_SEND_RESPONSE _IOW('#', 0x04, struct fw_cdev_send_response)
/* FW_CDEV_VERSION History
*
More information about the hal-commit
mailing list