generic.c (ec3ee5086c1e1b883292eaf795b5c1b0c25bcffe) generic.c (f26788da3b342099d2b02d99ba1cb7f154d6ef7b)
1/*
2 * USB Serial Converter Generic functions
3 *
4 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License version
8 * 2 as published by the Free Software Foundation.

--- 165 unchanged lines hidden (view full) ---

174 }
175}
176
177void usb_serial_generic_close(struct usb_serial_port *port)
178{
179 dbg("%s - port %d", __func__, port->number);
180 generic_cleanup(port);
181}
1/*
2 * USB Serial Converter Generic functions
3 *
4 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License version
8 * 2 as published by the Free Software Foundation.

--- 165 unchanged lines hidden (view full) ---

174 }
175}
176
177void usb_serial_generic_close(struct usb_serial_port *port)
178{
179 dbg("%s - port %d", __func__, port->number);
180 generic_cleanup(port);
181}
182EXPORT_SYMBOL_GPL(usb_serial_generic_close);
182
183static int usb_serial_multi_urb_write(struct tty_struct *tty,
184 struct usb_serial_port *port, const unsigned char *buf, int count)
185{
186 unsigned long flags;
187 struct urb *urb;
188 unsigned char *buffer;
189 int status;

--- 464 unchanged lines hidden ---
183
184static int usb_serial_multi_urb_write(struct tty_struct *tty,
185 struct usb_serial_port *port, const unsigned char *buf, int count)
186{
187 unsigned long flags;
188 struct urb *urb;
189 unsigned char *buffer;
190 int status;

--- 464 unchanged lines hidden ---