Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
ahci.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/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <linux/dmi.h>
#include <linux/gfp.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>
#include <linux/libata.h>
#include "ahci.h"

Go to the source code of this file.

Macros

#define DRV_NAME   "ahci"
 
#define DRV_VERSION   "3.0"
 
#define ENCODE_BUSDEVFN(bus, slot, func)   (void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func)))
 

Enumerations

enum  { AHCI_PCI_BAR_STA2X11 = 0, AHCI_PCI_BAR_STANDARD = 5 }
 
enum  board_ids {
  board_acard_ahci, board_ahci, board_ahci_ign_iferr, board_ahci_nosntf,
  board_ahci_yes_fbs, board_ahci_mcp65, board_ahci_mcp77, board_ahci_mcp89,
  board_ahci_mv, board_ahci_sb600, board_ahci_sb700, board_ahci_vt8251,
  board_ahci_mcp_linux = board_ahci_mcp65, board_ahci_mcp67 = board_ahci_mcp65, board_ahci_mcp73 = board_ahci_mcp65, board_ahci_mcp79 = board_ahci_mcp77
}
 

Functions

 module_param (marvell_enable, int, 0644)
 
 MODULE_PARM_DESC (marvell_enable,"Marvell SATA via AHCI (1 = enabled)")
 
 module_pci_driver (ahci_pci_driver)
 
 MODULE_AUTHOR ("Jeff Garzik")
 
 MODULE_DESCRIPTION ("AHCI SATA low-level driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, ahci_pci_tbl)
 
 MODULE_VERSION (DRV_VERSION)
 

Macro Definition Documentation

#define DRV_NAME   "ahci"

Definition at line 51 of file ahci.c.

#define DRV_VERSION   "3.0"

Definition at line 52 of file ahci.c.

#define ENCODE_BUSDEVFN (   bus,
  slot,
  func 
)    (void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func)))

Enumeration Type Documentation

anonymous enum
Enumerator:
AHCI_PCI_BAR_STA2X11 
AHCI_PCI_BAR_STANDARD 

Definition at line 54 of file ahci.c.

enum board_ids
Enumerator:
board_acard_ahci 
board_ahci 
board_ahci_ign_iferr 
board_ahci_nosntf 
board_ahci_yes_fbs 
board_ahci_mcp65 
board_ahci_mcp77 
board_ahci_mcp89 
board_ahci_mv 
board_ahci_sb600 
board_ahci_sb700 
board_ahci_vt8251 
board_ahci_mcp_linux 
board_ahci_mcp67 
board_ahci_mcp73 
board_ahci_mcp79 

Definition at line 59 of file ahci.c.

Function Documentation

MODULE_AUTHOR ( "Jeff Garzik"  )
MODULE_DESCRIPTION ( "AHCI SATA low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
ahci_pci_tbl   
)
MODULE_LICENSE ( "GPL"  )
module_param ( marvell_enable  ,
int  ,
0644   
)
MODULE_PARM_DESC ( marvell_enable  ,
"Marvell SATA via AHCI (1 = enabled)"   
)
module_pci_driver ( ahci_pci_driver  )
MODULE_VERSION ( DRV_VERSION  )