priv->rx_processed = 0; 
static int  ftdi_open (struct usb_serial_port *port, struct file *filp){ /* ftdi_open */	struct termios tmp_termios;	struct usb_device *dev = port->serial->dev;	struct ftdi_private *priv = usb_get_serial_port_data(port);	unsigned long flags;		int result = 0;	char buf[1]; /* Needed for the usb_control_msg I think */	dbg("%s", __FUNCTION__);	port->tty->low_latency = (priv->flags & ASYNC_LOW_LATENCY) ? 1 : 0;	/* No error checking for this (will get errors later anyway) */	/* See ftdi_sio.h for description of what is reset */	usb_control_msg(dev, usb_sndctrlpipe(dev, 0),			FTDI_SIO_RESET_REQUEST, FTDI_SIO_RESET_REQUEST_TYPE, 			FTDI_SIO_RESET_SIO, 			priv->interface, buf, 0, WDR_TIMEOUT);	/* Termios defaults are set by usb_serial_init. We don't change	   port->tty->termios - this would loose speed settings, etc.	   This is same behaviour as serial.c/rs_open() - Kuba */	/* ftdi_set_termios  will send usb control messages */	ftdi_set_termios(port, &tmp_termios);	/* FIXME: Flow control might be enabled, so it should be checked -	   we have no control of defaults! */	/* Turn on RTS and DTR since we are not flow controlling by default */	if (set_dtr(port, HIGH) < 0) {		err("%s Error from DTR HIGH urb", __FUNCTION__);	}	if (set_rts(port, HIGH) < 0){		err("%s Error from RTS HIGH urb", __FUNCTION__);	}	/* Not throttled */	spin_lock_irqsave(&priv->rx_lock, flags);	priv->rx_flags &= ~(THROTTLED | ACTUALLY_THROTTLED);	spin_unlock_irqrestore(&priv->rx_lock, flags);	/* Start reading from the device */	usb_fill_bulk_urb(port->read_urb, dev,		      usb_rcvbulkpipe(dev, port->bulk_in_endpointAddress),		      port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length,		      ftdi_read_bulk_callback, port);	result = usb_submit_urb(port->read_urb, GFP_KERNEL);	if (result)		err("%s - failed submitting read urb, error %d", __FUNCTION__, result);	return result;} /* ftdi_open */
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/76854ceac3ef3408ab9a50a2521147fb14779f58/ftdi_sio.c/buggy/drivers/usb/serial/ftdi_sio.c