diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-08-04 20:14:03 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-08-04 20:14:03 +0000 |
commit | 9594cc01412b1b24a82ba7a885ca4deab53d8a2f (patch) | |
tree | 4374492224a31f4689b20728122a59fe52020366 /sys/dev/isp/isp_freebsd.c | |
parent | 4fa533ec15c745ebfe63163e48fd911d2ff9675d (diff) | |
download | FreeBSD-src-9594cc01412b1b24a82ba7a885ca4deab53d8a2f.zip FreeBSD-src-9594cc01412b1b24a82ba7a885ca4deab53d8a2f.tar.gz |
Rename ioctl driven task management functions so they
don't collide with task management definitions on other
platforms.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index e71e302..620d992 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -562,29 +562,29 @@ ispioctl(_DEV dev, u_long c, caddr_t addr, int flags, _IOP *td) loopid <<= 8; } switch (fct->action) { - case CLEAR_ACA: + case IPT_CLEAR_ACA: mbs.param[0] = MBOX_CLEAR_ACA; mbs.param[1] = loopid; mbs.param[2] = fct->lun; break; - case TARGET_RESET: + case IPT_TARGET_RESET: mbs.param[0] = MBOX_TARGET_RESET; mbs.param[1] = loopid; needmarker = 1; break; - case LUN_RESET: + case IPT_LUN_RESET: mbs.param[0] = MBOX_LUN_RESET; mbs.param[1] = loopid; mbs.param[2] = fct->lun; needmarker = 1; break; - case CLEAR_TASK_SET: + case IPT_CLEAR_TASK_SET: mbs.param[0] = MBOX_CLEAR_TASK_SET; mbs.param[1] = loopid; mbs.param[2] = fct->lun; needmarker = 1; break; - case ABORT_TASK_SET: + case IPT_ABORT_TASK_SET: mbs.param[0] = MBOX_ABORT_TASK_SET; mbs.param[1] = loopid; mbs.param[2] = fct->lun; |