Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nosy.c File Reference
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/kref.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/timex.h>
#include <linux/uaccess.h>
#include <linux/wait.h>
#include <linux/dma-mapping.h>
#include <linux/atomic.h>
#include <asm/byteorder.h>
#include "nosy.h"
#include "nosy-user.h"

Go to the source code of this file.

Data Structures

struct  pcl
 
struct  packet
 
struct  packet_buffer
 
struct  pcilynx
 
struct  client
 

Macros

#define TCODE_PHY_PACKET   0x10
 
#define PCI_DEVICE_ID_TI_PCILYNX   0x8000
 
#define PHY_PACKET_SIZE   12 /* 1 payload, 1 inverse, 1 ack = 3 quadlets */
 
#define RCV_BUFFER_SIZE   (16 * 1024)
 

Functions

 MODULE_DEVICE_TABLE (pci, pci_table)
 
 module_pci_driver (lynx_pci_driver)
 
 MODULE_AUTHOR ("Kristian Hoegsberg")
 
 MODULE_DESCRIPTION ("Snoop mode driver for TI pcilynx 1394 controllers")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PCI_DEVICE_ID_TI_PCILYNX   0x8000

Definition at line 47 of file nosy.c.

#define PHY_PACKET_SIZE   12 /* 1 payload, 1 inverse, 1 ack = 3 quadlets */

Definition at line 410 of file nosy.c.

#define RCV_BUFFER_SIZE   (16 * 1024)

Definition at line 530 of file nosy.c.

#define TCODE_PHY_PACKET   0x10

Definition at line 46 of file nosy.c.

Function Documentation

MODULE_AUTHOR ( "Kristian Hoegsberg"  )
MODULE_DESCRIPTION ( "Snoop mode driver for TI pcilynx 1394 controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
pci_table   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( lynx_pci_driver  )