PERFORCE change 149825 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Sep 15 20:56:27 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149825

Change 149825 by hselasky at hselasky_laptop001 on 2008/09/15 20:55:33

	
	Add new softc variables introduced by change 149824.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/serial/usb2_serial.h#6 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/serial/usb2_serial.h#6 (text+ko) ====

@@ -125,6 +125,7 @@
 
 struct usb2_com_softc {
 	struct termios sc_termios_copy;
+	struct cv sc_cv;
 	const struct usb2_com_callback *sc_callback;
 	struct usb2_com_super_softc *sc_super;
 	struct tty *sc_tty;
@@ -144,6 +145,7 @@
 	uint8_t	sc_lsr;
 	uint8_t	sc_msr;
 	uint8_t	sc_mcr;
+	uint8_t	sc_ttyfreed;		/* set when TTY has been freed */
 };
 
 int	usb2_com_attach(struct usb2_com_super_softc *ssc, struct usb2_com_softc *sc, uint32_t sub_units, void *parent, const struct usb2_com_callback *callback, struct mtx *p_mtx);


More information about the p4-projects mailing list