diff -Naurp -X /home/jbarnes/dontdiff 240-qla2xxx-driver.patch/include/asm-ia64/ioctl.h 290-ioctl-additions.patch/include/asm-ia64/ioctl.h --- 240-qla2xxx-driver.patch/include/asm-ia64/ioctl.h Thu Jan 8 22:59:27 2004 +++ 290-ioctl-additions.patch/include/asm-ia64/ioctl.h Mon Jan 12 10:17:04 2004 @@ -59,6 +59,9 @@ #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) +#define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) +#define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) +#define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) /* used to decode ioctl numbers.. */ #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)