diff options
author | itojun <itojun@FreeBSD.org> | 1998-03-16 05:32:01 +0800 |
---|---|---|
committer | itojun <itojun@FreeBSD.org> | 1998-03-16 05:32:01 +0800 |
commit | a6d265c1f9348dd44742bba4fb224caf12dc89a3 (patch) | |
tree | 3b86aa3b31f350da1f013c2d239467c9718eadd2 /sysutils | |
parent | bf0480cc97aa4fbea9dbe63a9dc22bd9c0f18a0f (diff) | |
download | freebsd-ports-gnome-a6d265c1f9348dd44742bba4fb224caf12dc89a3.tar.gz freebsd-ports-gnome-a6d265c1f9348dd44742bba4fb224caf12dc89a3.tar.zst freebsd-ports-gnome-a6d265c1f9348dd44742bba4fb224caf12dc89a3.zip |
update to handle SCSI changes made on FreeBSD 2.2.5-RELEASE.
Submitted by: Jun YAMASHITA <junkun@esys.tsukuba.ac.jp>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mei/files/patch-ba | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/mei/files/patch-ba b/sysutils/mei/files/patch-ba new file mode 100644 index 000000000000..75f1fcfbe4c0 --- /dev/null +++ b/sysutils/mei/files/patch-ba @@ -0,0 +1,34 @@ +for the changes made on FreeBSD-2.2.5. +From: Jun YAMASHITA <junkun@esys.tsukuba.ac.jp> + +*** fbsdscsi.c.orig Mon Sep 9 19:52:06 1996 +--- fbsdscsi.c Tue Dec 16 02:08:57 1997 +*************** +*** 26,38 **** + if (psrq->timeout == 0) + psrq->timeout = 2*1000; + psrq->senselen = SENSEBUFLEN; +! ioctl (fd, SCIOCCOMMAND, psrq); +! if ((SCSIDriverStatus = psrq->retsts) != SCCMD_OK) + stat = FAILURE; +! else if ((SCSIStatus = psrq->status) == S_GOOD) + stat = SUCCESS; + else + { + stat = FAILURE; + if (SCSIStatus == S_CHECK) + { +--- 26,38 ---- + if (psrq->timeout == 0) + psrq->timeout = 2*1000; + psrq->senselen = SENSEBUFLEN; +! if (ioctl (fd, SCIOCCOMMAND, psrq) == FAILURE) + stat = FAILURE; +! else if ((SCSIDriverStatus = psrq->retsts) == SCCMD_OK) + stat = SUCCESS; + else + { ++ SCSIStatus = psrq->status; + stat = FAILURE; + if (SCSIStatus == S_CHECK) + { |