summaryrefslogtreecommitdiffstats
path: root/drivers/net/cosa.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
commitdb7d4daea91e105e3859cf461d7e53b9b77454b2 (patch)
tree9bb65b95440af09e8aca63abe56970dd3360cc57 /drivers/net/cosa.h
parent9c1c01ead627bdda9211c9abd5b758d6c687d8ac (diff)
Merge with Linux 2.2.8.
Diffstat (limited to 'drivers/net/cosa.h')
-rw-r--r--drivers/net/cosa.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/cosa.h b/drivers/net/cosa.h
index 09f2e243d..7b5a39018 100644
--- a/drivers/net/cosa.h
+++ b/drivers/net/cosa.h
@@ -1,4 +1,4 @@
-/* $Id: cosa.h,v 1.5 1998/12/24 12:40:18 kas Exp $ */
+/* $Id: cosa.h,v 1.6 1999/01/06 14:02:44 kas Exp $ */
/*
* Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz>
@@ -99,4 +99,13 @@ struct cosa_download {
/* Get the number of channels on this card */
#define COSAIONRCHANS _IO('C',0xf8)
+/* Set the driver for the bus-master operations */
+#define COSAIOBMSET _IOW('C', 0xf9, sizeof(unsigned short))
+
+#define COSA_BM_OFF 0 /* Bus-mastering off - use ISA DMA (default) */
+#define COSA_BM_ON 1 /* Bus-mastering on - faster but untested */
+
+/* Gets the busmaster status */
+#define COSAIOBMGET _IO('C', 0xfa)
+
#endif /* !COSA_H__ */