lkml.org 
[lkml]   [2000]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectin2000
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.038 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site