PATCH: lock for scc drivers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Apr 2003 01:35:44 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/include/linux/scc.h linux-2.5.67-ac1/include/linux/scc.h
--- linux-2.5.67/include/linux/scc.h 2003-02-10 18:38:45.000000000 +0000
+++ linux-2.5.67-ac1/include/linux/scc.h 2003-04-07 20:05:18.000000000 +0100
@@ -244,6 +244,9 @@
/* Timer */
struct timer_list tx_t; /* tx timer for this channel */
struct timer_list tx_wdog; /* tx watchdogs */
+
+ /* Channel lock */
+ spinlock_t lock; /* Channel guard lock */
};

#endif /* defined(__KERNEL__) */
-
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/