Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
kl5kusb105.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <asm/unaligned.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include "kl5kusb105.h"

Go to the source code of this file.

Data Structures

struct  klsi_105_port_settings
 
struct  klsi_105_private
 

Macros

#define DRIVER_VERSION   "v0.4"
 
#define DRIVER_AUTHOR   "Utz-Uwe Haus <[email protected]>, Johan Hovold <[email protected]>"
 
#define DRIVER_DESC   "KLSI KL5KUSB105 chipset USB->Serial Converter driver"
 
#define KLSI_TIMEOUT   5000 /* default urb timeout */
 
#define KLSI_STATUSBUF_LEN   2
 
#define KLSI_HDR_LEN   2
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table)
 
struct klsi_105_port_settings __attribute__ ((packed))
 
 module_usb_serial_driver (serial_drivers, id_table)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 

Variables

__u8 pktlen
 
__u8 baudrate
 
__u8 databits
 
__u8 unknown1
 
__u8 unknown2
 
struct klsi_105_private __attribute__
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Utz-Uwe Haus <[email protected]>, Johan Hovold <[email protected]>"

Definition at line 56 of file kl5kusb105.c.

#define DRIVER_DESC   "KLSI KL5KUSB105 chipset USB->Serial Converter driver"

Definition at line 57 of file kl5kusb105.c.

#define DRIVER_VERSION   "v0.4"

Definition at line 55 of file kl5kusb105.c.

#define KLSI_HDR_LEN   2

Definition at line 376 of file kl5kusb105.c.

#define KLSI_STATUSBUF_LEN   2

Definition at line 178 of file kl5kusb105.c.

#define KLSI_TIMEOUT   5000 /* default urb timeout */

Definition at line 135 of file kl5kusb105.c.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_serial_driver ( serial_drivers  ,
id_table   
)

Variable Documentation

__u8 baudrate

Definition at line 122 of file kl5kusb105.c.

__u8 databits

Definition at line 123 of file kl5kusb105.c.

__u8 pktlen

Definition at line 121 of file kl5kusb105.c.

__u8 unknown1

Definition at line 124 of file kl5kusb105.c.

__u8 unknown2

Definition at line 125 of file kl5kusb105.c.