patch-2.3.17 linux/include/linux/stallion.h

Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/serialP.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/include/linux/stallion.h linux/include/linux/stallion.h
@@ -4,7 +4,7 @@
  *	stallion.h  -- stallion multiport serial driver.
  *
  *	Copyright (C) 1996-1998  Stallion Technologies (support@stallion.oz.au).
- *	Copyright (C) 1994-1996  Greg Ungerer (gerg@stallion.oz.au).
+ *	Copyright (C) 1994-1996  Greg Ungerer.
  *
  *	This program is free software; you can redistribute it and/or modify
  *	it under the terms of the GNU General Public License as published by
@@ -95,8 +95,13 @@
 	unsigned long		hwid;
 	void			*uartp;
 	struct tty_struct	*tty;
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0))
+	struct wait_queue	*open_wait;
+	struct wait_queue	*close_wait;
+#else
 	wait_queue_head_t	open_wait;
 	wait_queue_head_t	close_wait;
+#endif
 	struct termios		normaltermios;
 	struct termios		callouttermios;
 	struct tq_struct	tqueue;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)