Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
8250_hub6.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/serial_8250.h>

Go to the source code of this file.

Macros

#define HUB6(card, port)
 

Functions

 module_init (hub6_init)
 
 MODULE_AUTHOR ("Russell King")
 
 MODULE_DESCRIPTION ("8250 serial probe module for Hub6 cards")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define HUB6 (   card,
  port 
)
Value:
{ \
.iobase = 0x302, \
.irq = 3, \
.uartclk = 1843200, \
.iotype = UPIO_HUB6, \
.flags = UPF_BOOT_AUTOCONF, \
.hub6 = (card) << 6 | (port) << 3 | 1, \
}

Definition at line 13 of file 8250_hub6.c.

Function Documentation

MODULE_AUTHOR ( "Russell King"  )
MODULE_DESCRIPTION ( "8250 serial probe module for Hub6 cards )
module_init ( hub6_init  )
MODULE_LICENSE ( "GPL"  )