]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/sk98lin/h/skdrv1st.h
* Patches by Xianghua Xiao, 15 Oct 2003:
[karo-tx-uboot.git] / drivers / sk98lin / h / skdrv1st.h
index 2d49941758b12878d51db84a70bba7817e140021..af34d7b96f5ea4084715a4be0f297ac9027ffeb2 100644 (file)
  *     $Log: skdrv1st.h,v $
  *     Revision 1.11  2003/02/25 14:16:40  mlindner
  *     Fix: Copyright statement
- *     
+ *
  *     Revision 1.10  2002/10/02 12:46:02  mlindner
  *     Add: Support for Yukon
- *     
+ *
  *     Revision 1.9.2.2  2001/12/07 12:06:42  mlindner
  *     Fix: malloc -> slab changes
- *     
+ *
  *     Revision 1.9.2.1  2001/03/12 16:50:59  mlindner
  *     chg: kernel 2.4 adaption
- *     
+ *
  *     Revision 1.9  2001/01/22 14:16:04  mlindner
  *     added ProcFs functionality
  *     Dual Net functionality integrated
  *     Rlmt networks added
- *     
+ *
  *     Revision 1.8  2000/02/21 12:19:18  cgoos
  *     Added default for SK_DEBUG_CHKMOD/_CHKCAT
- *     
+ *
  *     Revision 1.7  1999/11/22 13:50:00  cgoos
  *     Changed license header to GPL.
  *     Added overwrite for several functions.
  *     Removed linux 2.0.x definitions.
  *     Removed PCI vendor ID definition (now in kernel).
- *     
+ *
  *     Revision 1.6  1999/07/27 08:03:33  cgoos
  *     Changed SK_IN/OUT macros to readX/writeX instead of memory
  *     accesses (necessary for ALPHA).
- *     
+ *
  *     Revision 1.5  1999/07/23 12:10:21  cgoos
  *     Removed SK_RLMT_SLOW_LOOKAHEAD define.
- *     
+ *
  *     Revision 1.4  1999/07/14 12:31:13  cgoos
  *     Added SK_RLMT_SLOW_LOOKAHEAD define.
- *     
+ *
  *     Revision 1.3  1999/04/07 10:12:54  cgoos
  *     Added check for KERNEL and OPTIMIZATION defines.
- *     
+ *
  *     Revision 1.2  1999/03/01 08:51:47  cgoos
  *     Fixed pcibios_read/write definitions.
- *     
+ *
  *     Revision 1.1  1999/02/16 07:40:49  cgoos
  *     First version.
- *     
- *     
+ *
+ *
  *
  ******************************************************************************/
 
@@ -179,7 +179,7 @@ typedef struct s_AC SK_AC;
 
 #define        SK_MEM_MAPPED_IO
 
-// #define SK_RLMT_SLOW_LOOKAHEAD
+/* #define SK_RLMT_SLOW_LOOKAHEAD */
 
 #define SK_MAX_MACS            2
 #define SK_MAX_NETS            2
@@ -199,9 +199,9 @@ typedef struct s_DrvRlmtMbuf SK_MBUF;
 #define SK_STRCMP(pStr1,pStr2)         strcmp((char*)(pStr1),(char*)(pStr2))
 
 /* macros to access the adapter */
-#define SK_OUT8(b,a,v)         writeb((v), ((b)+(a)))  
-#define SK_OUT16(b,a,v)                writew((v), ((b)+(a)))  
-#define SK_OUT32(b,a,v)                writel((v), ((b)+(a)))  
+#define SK_OUT8(b,a,v)         writeb((v), ((b)+(a)))
+#define SK_OUT16(b,a,v)                writew((v), ((b)+(a)))
+#define SK_OUT32(b,a,v)                writel((v), ((b)+(a)))
 #define SK_IN8(b,a,pv)         (*(pv) = readb((b)+(a)))
 #define SK_IN16(b,a,pv)                (*(pv) = readw((b)+(a)))
 #define SK_IN32(b,a,pv)                (*(pv) = readl((b)+(a)))
@@ -262,4 +262,3 @@ extern void SkDbgPrintf(const char *format,...);
 extern void SkErrorLog(SK_AC*, int, int, char*);
 
 #endif
-