Messages in this thread Patch in this message | | | Subject | in2000 | Date | Sun, 19 Mar 2000 20:51:59 +0000 | From | Philip Blundell <> |
| |
This driver also contains i386 assembler. Luckily, there are generic equivalents provided too, so just a gentle nudge in the right direction is enough.
p.
--- linux/drivers/scsi/in2000.h Fri Mar 3 18:34:33 2000 +++ linux/drivers/scsi/in2000.h Sun Mar 19 19:55:12 2000 @@ -52,6 +52,7 @@ #define write1_io(b,a) (outb((b),hostdata->io_base+(a))) #define write2_io(w,a) (outw((w),hostdata->io_base+(a))) +#ifdef __i386__ /* These inline assembly defines are derived from a patch * sent to me by Bill Earnest. He's done a lot of very * valuable thinking, testing, and coding during his effort @@ -90,6 +91,7 @@ : "2" (f), "0" (sp), "1" (i) /* input */ \ ); /* trashed */ \ }) +#endif /* IN2000 io_port offsets */ #define IO_WD_ASR 0x00 /* R - 3393 auxstat reg */
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |