Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mcf8390.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/jiffies.h>
#include <linux/io.h>
#include <asm/mcf8390.h>
#include "lib8390.c"

Go to the source code of this file.

Macros

#define NE_CMD   0x00
 
#define NE_DATAPORT   0x10 /* NatSemi-defined port window offset */
 
#define NE_RESET   0x1f /* Issue a read to reset ,a write to clear */
 
#define NE_EN0_ISR   0x07
 
#define NE_EN0_DCFG   0x0e
 
#define NE_EN0_RSARLO   0x08
 
#define NE_EN0_RSARHI   0x09
 
#define NE_EN0_RCNTLO   0x0a
 
#define NE_EN0_RXCR   0x0c
 
#define NE_EN0_TXCR   0x0d
 
#define NE_EN0_RCNTHI   0x0b
 
#define NE_EN0_IMR   0x0f
 
#define NESM_START_PG   0x40 /* First page of TX buffer */
 
#define NESM_STOP_PG   0x80 /* Last page +1 of RX ring */
 
#define ei_inb   inb
 
#define ei_outb   outb
 
#define ei_insb   insb
 
#define ei_insw   insw
 
#define ei_outsb   outsb
 
#define ei_outsw   outsw
 
#define ei_inb_p   ei_inb
 
#define ei_outb_p   ei_outb
 

Functions

 module_platform_driver (mcf8390_drv)
 
 MODULE_DESCRIPTION ("MCF8390 ColdFire NS8390 driver")
 
 MODULE_AUTHOR ("Greg Ungerer <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:mcf8390")
 

Macro Definition Documentation

#define ei_inb   inb

Definition at line 134 of file mcf8390.c.

#define ei_inb_p   ei_inb

Definition at line 143 of file mcf8390.c.

#define ei_insb   insb

Definition at line 136 of file mcf8390.c.

#define ei_insw   insw

Definition at line 137 of file mcf8390.c.

#define ei_outb   outb

Definition at line 135 of file mcf8390.c.

#define ei_outb_p   ei_outb

Definition at line 144 of file mcf8390.c.

#define ei_outsb   outsb

Definition at line 138 of file mcf8390.c.

#define ei_outsw   outsw

Definition at line 139 of file mcf8390.c.

#define NE_CMD   0x00

Definition at line 27 of file mcf8390.c.

#define NE_DATAPORT   0x10 /* NatSemi-defined port window offset */

Definition at line 28 of file mcf8390.c.

#define NE_EN0_DCFG   0x0e

Definition at line 31 of file mcf8390.c.

#define NE_EN0_IMR   0x0f

Definition at line 38 of file mcf8390.c.

#define NE_EN0_ISR   0x07

Definition at line 30 of file mcf8390.c.

#define NE_EN0_RCNTHI   0x0b

Definition at line 37 of file mcf8390.c.

#define NE_EN0_RCNTLO   0x0a

Definition at line 34 of file mcf8390.c.

#define NE_EN0_RSARHI   0x09

Definition at line 33 of file mcf8390.c.

#define NE_EN0_RSARLO   0x08

Definition at line 32 of file mcf8390.c.

#define NE_EN0_RXCR   0x0c

Definition at line 35 of file mcf8390.c.

#define NE_EN0_TXCR   0x0d

Definition at line 36 of file mcf8390.c.

#define NE_RESET   0x1f /* Issue a read to reset ,a write to clear */

Definition at line 29 of file mcf8390.c.

#define NESM_START_PG   0x40 /* First page of TX buffer */

Definition at line 40 of file mcf8390.c.

#define NESM_STOP_PG   0x80 /* Last page +1 of RX ring */

Definition at line 41 of file mcf8390.c.

Function Documentation

MODULE_ALIAS ( "platform:mcf8390"  )
MODULE_AUTHOR ( "Greg Ungerer <[email protected]>"  )
MODULE_DESCRIPTION ( "MCF8390 ColdFire NS8390 driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mcf8390_drv  )