[patch] isa_writeb args interchanged

Andries.Brouwer@cwi.nl
Fri, 23 May 2003 00:26:25 +0200 (MEST)


diff -u --recursive --new-file -X /linux/dontdiff a/drivers/scsi/g_NCR5380.h b/drivers/scsi/g_NCR5380.h
--- a/drivers/scsi/g_NCR5380.h Thu May 22 13:17:01 2003
+++ b/drivers/scsi/g_NCR5380.h Fri May 23 01:23:21 2003
@@ -102,7 +102,7 @@
#define NCR5380_region_size 0x3a00

#define NCR5380_read(reg) isa_readb(NCR5380_map_name + NCR53C400_mem_base + (reg))
-#define NCR5380_write(reg, value) isa_writeb(NCR5380_map_name + NCR53C400_mem_base + (reg), value)
+#define NCR5380_write(reg, value) isa_writeb(value, NCR5380_map_name + NCR53C400_mem_base + (reg))
#endif

#define NCR5380_implementation_fields \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/