[665] in linux-scsi channel archive
Re: scsi tape hiccup with 1.3.31
daemon@ATHENA.MIT.EDU (Brettski)
Fri Oct 6 05:18:17 1995
Date: Fri, 6 Oct 1995 14:46:51 +1000 (EST)
From: Brettski <n1135350@student.fit.qut.edu.au>
To: Richard Waltham <dormouse@farsrobt.demon.co.uk>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199510051950.UAA08510@farsrobt.demon.co.uk>
On Thu, 5 Oct 1995, Richard Waltham wrote:
> The following patch in ./include/asm-i386/ioctl.h fixes the problem - this
> is the correct fix isn't it? I'm not a kernel hacker but it seemed the
> obvious place.
>
>
> --- ioctl.h~ Thu Oct 5 19:29:05 1995
> +++ ioctl.h Thu Oct 5 19:29:05 1995
> @@ -84,5 +84,6 @@
> #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
> #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
> #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
> +#define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
>
> #endif /* _ASMI386_IOCTL_H */
I refer you to the following excerpt from the linux-kernel mailing list :-
On Wed, 4 Oct 1995, Linus Torvalds wrote:
> Also, if you have SCSI tapes enabled it turns out that 1.3.31 won't
> compile on the x86 architecture. Just add this one line to
> include/asm-i386/ioctl.h and you should be ok (or just upgrade to an
> alpha ;-)
>
> #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
>
> Hope that fixes it..
Brett :)
--
*******************************************************************************
*** Brett Gersekowski *** Experience is directly- ***
*** bgerseko@enterprise.powerup.com.au *** proportional to the amount ***
*** e1135350@watt.lab.eesse.bee.qut.edu.au *** of equipment ruined. ***
*** n1135350@student.fit.qut.edu.au *** ***
*******************************************************************************