Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
sata_via.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "sata_via"
 
#define DRV_VERSION   "2.6"
 

Enumerations

enum  board_ids_enum { vt6420, vt6421, vt8251 }
 
enum  {
  SATA_CHAN_ENAB = 0x40, SATA_INT_GATE = 0x41, SATA_NATIVE_MODE = 0x42, PATA_UDMA_TIMING = 0xB3,
  PATA_PIO_TIMING = 0xAB, PORT0 = (1 << 1), PORT1 = (1 << 0), ALL_PORTS = PORT0 | PORT1,
  NATIVE_MODE_ALL = (1 << 7) | (1 << 6) | (1 << 5) | (1 << 4), SATA_EXT_PHY = (1 << 6)
}
 

Functions

 MODULE_AUTHOR ("Jeff Garzik")
 
 MODULE_DESCRIPTION ("SCSI low-level driver for VIA SATA controllers")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, svia_pci_tbl)
 
 MODULE_VERSION (DRV_VERSION)
 
 module_pci_driver (svia_pci_driver)
 

Macro Definition Documentation

#define DRV_NAME   "sata_via"

Definition at line 48 of file sata_via.c.

#define DRV_VERSION   "2.6"

Definition at line 49 of file sata_via.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
SATA_CHAN_ENAB 
SATA_INT_GATE 
SATA_NATIVE_MODE 
PATA_UDMA_TIMING 
PATA_PIO_TIMING 
PORT0 
PORT1 
ALL_PORTS 
NATIVE_MODE_ALL 
SATA_EXT_PHY 

Definition at line 61 of file sata_via.c.

Enumerator:
vt6420 
vt6421 
vt8251 

Definition at line 55 of file sata_via.c.

Function Documentation

MODULE_AUTHOR ( "Jeff Garzik"  )
MODULE_DESCRIPTION ( "SCSI low-level driver for VIA SATA controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
svia_pci_tbl   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( svia_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )