summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-03-20 19:02:46 +0000
committerscottl <scottl@FreeBSD.org>2004-03-20 19:02:46 +0000
commit6db7668ab0a3c2792cb9abf450bd73ffc9bbf34d (patch)
treeaaa70d1e25a36086d831014848d98f10b64fd8f6 /sys/dev
parent717b499348f1e47ac5c995f01501b844c7cb7326 (diff)
downloadFreeBSD-src-6db7668ab0a3c2792cb9abf450bd73ffc9bbf34d.zip
FreeBSD-src-6db7668ab0a3c2792cb9abf450bd73ffc9bbf34d.tar.gz
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/iir/iir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iir/iir.h b/sys/dev/iir/iir.h
index 38c29bf..e29f769 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 */
OpenPOWER on IntegriCloud