Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
io.c File Reference
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/wait.h>
#include <asm/io.h>
#include <mach/microdev.h>

Go to the source code of this file.

Macros

#define PVR   0xff000030 /* Processor Version Register */
 
#define IO_IDE2_BASE   0x170ul /* I/O base for SMSC FDC37C93xAPM IDE #2 */
 
#define IO_IDE1_BASE   0x1f0ul /* I/O base for SMSC FDC37C93xAPM IDE #1 */
 
#define IO_ISP1161_BASE   0x290ul /* I/O port for Philips ISP1161x USB chip */
 
#define IO_SERIAL2_BASE   0x2f8ul /* I/O base for SMSC FDC37C93xAPM Serial #2 */
 
#define IO_LAN91C111_BASE   0x300ul /* I/O base for SMSC LAN91C111 Ethernet chip */
 
#define IO_IDE2_MISC   0x376ul /* I/O misc for SMSC FDC37C93xAPM IDE #2 */
 
#define IO_SUPERIO_BASE   0x3f0ul /* I/O base for SMSC FDC37C93xAPM SuperIO chip */
 
#define IO_IDE1_MISC   0x3f6ul /* I/O misc for SMSC FDC37C93xAPM IDE #1 */
 
#define IO_SERIAL1_BASE   0x3f8ul /* I/O base for SMSC FDC37C93xAPM Serial #1 */
 
#define IO_ISP1161_EXTENT   0x04ul /* I/O extent for Philips ISP1161x USB chip */
 
#define IO_LAN91C111_EXTENT   0x10ul /* I/O extent for SMSC LAN91C111 Ethernet chip */
 
#define IO_SUPERIO_EXTENT   0x02ul /* I/O extent for SMSC FDC37C93xAPM SuperIO chip */
 
#define IO_IDE_EXTENT   0x08ul /* I/O extent for IDE Task Register set */
 
#define IO_SERIAL_EXTENT   0x10ul
 
#define IO_LAN91C111_PHYS   0xa7500000ul /* Physical address of SMSC LAN91C111 Ethernet chip */
 
#define IO_ISP1161_PHYS   0xa7700000ul /* Physical address of Philips ISP1161x USB chip */
 
#define IO_SUPERIO_PHYS   0xa7800000ul /* Physical address of SMSC FDC37C93xAPM SuperIO chip */
 

Functions

void __iomemmicrodev_ioport_map (unsigned long offset, unsigned int len)
 

Macro Definition Documentation

#define IO_IDE1_BASE   0x1f0ul /* I/O base for SMSC FDC37C93xAPM IDE #1 */

Definition at line 35 of file io.c.

#define IO_IDE1_MISC   0x3f6ul /* I/O misc for SMSC FDC37C93xAPM IDE #1 */

Definition at line 41 of file io.c.

#define IO_IDE2_BASE   0x170ul /* I/O base for SMSC FDC37C93xAPM IDE #2 */

Definition at line 34 of file io.c.

#define IO_IDE2_MISC   0x376ul /* I/O misc for SMSC FDC37C93xAPM IDE #2 */

Definition at line 39 of file io.c.

#define IO_IDE_EXTENT   0x08ul /* I/O extent for IDE Task Register set */

Definition at line 47 of file io.c.

#define IO_ISP1161_BASE   0x290ul /* I/O port for Philips ISP1161x USB chip */

Definition at line 36 of file io.c.

#define IO_ISP1161_EXTENT   0x04ul /* I/O extent for Philips ISP1161x USB chip */

Definition at line 44 of file io.c.

#define IO_ISP1161_PHYS   0xa7700000ul /* Physical address of Philips ISP1161x USB chip */

Definition at line 51 of file io.c.

#define IO_LAN91C111_BASE   0x300ul /* I/O base for SMSC LAN91C111 Ethernet chip */

Definition at line 38 of file io.c.

#define IO_LAN91C111_EXTENT   0x10ul /* I/O extent for SMSC LAN91C111 Ethernet chip */

Definition at line 45 of file io.c.

#define IO_LAN91C111_PHYS   0xa7500000ul /* Physical address of SMSC LAN91C111 Ethernet chip */

Definition at line 50 of file io.c.

#define IO_SERIAL1_BASE   0x3f8ul /* I/O base for SMSC FDC37C93xAPM Serial #1 */

Definition at line 42 of file io.c.

#define IO_SERIAL2_BASE   0x2f8ul /* I/O base for SMSC FDC37C93xAPM Serial #2 */

Definition at line 37 of file io.c.

#define IO_SERIAL_EXTENT   0x10ul

Definition at line 48 of file io.c.

#define IO_SUPERIO_BASE   0x3f0ul /* I/O base for SMSC FDC37C93xAPM SuperIO chip */

Definition at line 40 of file io.c.

#define IO_SUPERIO_EXTENT   0x02ul /* I/O extent for SMSC FDC37C93xAPM SuperIO chip */

Definition at line 46 of file io.c.

#define IO_SUPERIO_PHYS   0xa7800000ul /* Physical address of SMSC FDC37C93xAPM SuperIO chip */

Definition at line 52 of file io.c.

#define PVR   0xff000030 /* Processor Version Register */

Definition at line 31 of file io.c.

Function Documentation

void __iomem* microdev_ioport_map ( unsigned long  offset,
unsigned int  len 
)

Definition at line 57 of file io.c.