#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/hdlc.h>
#include <linux/init.h>
#include <linux/in.h>
#include <linux/if_arp.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/inet.h>
#include <linux/bitops.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/uaccess.h>
#include "lmc.h"
#include "lmc_var.h"
#include "lmc_ioctl.h"
#include "lmc_debug.h"
#include "lmc_proto.h"
Go to the source code of this file.
|
| MODULE_DEVICE_TABLE (pci, lmc_pci_tbl) |
|
| MODULE_LICENSE ("GPL v2") |
|
int | lmc_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd) |
|
| module_pci_driver (lmc_driver) |
|
unsigned | lmc_mii_readreg (lmc_softc_t *const sc, unsigned devaddr, unsigned regno) |
|
void | lmc_mii_writereg (lmc_softc_t *const sc, unsigned devaddr, unsigned regno, unsigned data) |
|
void | lmc_gpio_mkinput (lmc_softc_t *const sc, u32 bits) |
|
void | lmc_gpio_mkoutput (lmc_softc_t *const sc, u32 bits) |
|
void | lmc_led_on (lmc_softc_t *const sc, u32 led) |
|
void | lmc_led_off (lmc_softc_t *const sc, u32 led) |
|
#define DRIVER_MAJOR_VERSION 1 |
#define DRIVER_MINOR_VERSION 34 |
#define DRIVER_SUB_VERSION 0 |
unsigned lmc_mii_readreg |
( |
lmc_softc_t *const |
sc, |
|
|
unsigned |
devaddr, |
|
|
unsigned |
regno |
|
) |
| |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
lmc_pci_tbl |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_pci_driver |
( |
lmc_driver |
| ) |
|