lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.6.8.1-mm3, fix qla1280 build on visws
Hello,

attached patch fixes qla1280 SCSI driver build failure on visws
due to undefined RD_REG_WORD_dmasync() macro.

Please consider applying.

Best regards.

--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.netdiff -urpNX /usr/share/dontdiff -U 6 linux-2.6.8.1-mm3.vanilla/drivers/scsi/qla1280.h linux-2.6.8.1-mm3/drivers/scsi/qla1280.h
--- linux-2.6.8.1-mm3.vanilla/drivers/scsi/qla1280.h 2004-08-20 14:45:17.000000000 +0400
+++ linux-2.6.8.1-mm3/drivers/scsi/qla1280.h 2004-08-20 14:56:20.000000000 +0400
@@ -59,12 +59,13 @@
#if MEMORY_MAPPED_IO
#define RD_REG_WORD(addr) readw_relaxed(addr)
#define RD_REG_WORD_dmasync(addr) readw(addr)
#define WRT_REG_WORD(addr, data) writew(data, addr)
#else /* MEMORY_MAPPED_IO */
#define RD_REG_WORD(addr) inw((unsigned long)addr)
+#define RD_REG_WORD_dmasync(addr) RD_REG_WORD(addr)
#define WRT_REG_WORD(addr, data) outw(data, (unsigned long)addr)
#endif /* MEMORY_MAPPED_IO */

/*
* Host adapter default definitions.
*/[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2011 Jasper Spaans