PATCH: header update for arcnet updates (again to match 2.4)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 15 Feb 2003 19:31:04 +0000 (GMT)


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/include/linux/com20020.h linux-2.5.61-ac1/include/linux/com20020.h
--- linux-2.5.61/include/linux/com20020.h 2003-02-10 18:37:58.000000000 +0000
+++ linux-2.5.61-ac1/include/linux/com20020.h 2003-02-14 23:32:27.000000000 +0000
@@ -32,7 +32,7 @@
void com20020_remove(struct net_device *dev);

/* The number of low I/O ports used by the card. */
-#define ARCNET_TOTAL_SIZE 9
+#define ARCNET_TOTAL_SIZE 8

/* various register addresses */
#define _INTMASK (ioaddr+0) /* writable */
@@ -59,6 +59,8 @@

/* in SETUP register */
#define PROMISCset 0x10 /* enable RCV_ALL */
+#define P1MODE 0x80 /* enable P1-MODE for Backplane */
+#define SLOWARB 0x01 /* enable Slow Arbitration for >=5Mbps */

/* COM2002x */
#define SUB_TENTATIVE 0 /* tentative node ID */
-
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/