From fa2ed236671ef7e0c6d8627817661ddd57ab8d60 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sat, 20 Mar 2004 19:02:46 +0000 Subject: [PATCH] Fix the ioctl types for two ioctls. I'm not sure if the switch was my fault or the vendor's fault when I brought in rev 1.5. This allows the 'storcon' utility to work again. Sponsored by: freebsdsystems.com --- sys/dev/iir/iir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/iir/iir.h b/sys/dev/iir/iir.h index 38c29bfd8b9..e29f769921a 100644 --- a/sys/dev/iir/iir.h +++ b/sys/dev/iir/iir.h @@ -152,8 +152,8 @@ /* IOCTLs */ #define GDT_IOCTL_GENERAL _IOWR('J', 0, gdt_ucmd_t) /* general IOCTL */ -#define GDT_IOCTL_DRVERS _IOR('J', 1, int) /* get driver version */ -#define GDT_IOCTL_CTRTYPE _IOWR('J', 2, gdt_ctrt_t) /* get ctr. type */ +#define GDT_IOCTL_DRVERS _IOWR('J', 1, int) /* get driver version */ +#define GDT_IOCTL_CTRTYPE _IOR('J', 2, gdt_ctrt_t) /* get ctr. type */ #define GDT_IOCTL_OSVERS _IOR('J', 3, gdt_osv_t) /* get OS version */ #define GDT_IOCTL_CTRCNT _IOR('J', 5, int) /* get ctr. count */ #define GDT_IOCTL_EVENT _IOWR('J', 8, gdt_event_t) /* get event */