Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sgi_hotplug.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <asm/sn/addrs.h>
#include <asm/sn/geo.h>
#include <asm/sn/l1.h>
#include <asm/sn/module.h>
#include <asm/sn/pcibr_provider.h>
#include <asm/sn/pcibus_provider_defs.h>
#include <asm/sn/pcidev.h>
#include <asm/sn/sn_feature_sets.h>
#include <asm/sn/sn_sal.h>
#include <asm/sn/types.h>
#include <linux/acpi.h>
#include <asm/sn/acpi.h>
#include "../pci.h"

Go to the source code of this file.

Data Structures

struct  slot
 
struct  pcibr_slot_enable_resp
 
struct  pcibr_slot_disable_resp
 

Macros

#define PCI_SLOT_ALREADY_UP   2 /* slot already up */
 
#define PCI_SLOT_ALREADY_DOWN   3 /* slot already down */
 
#define PCI_L1_ERR   7 /* L1 console command error */
 
#define PCI_EMPTY_33MHZ   15 /* empty 33 MHz bus */
 
#define PCIIO_ASIC_TYPE_TIOCA   4
 
#define PCI_L1_QSIZE   128 /* our L1 message buffer size */
 
#define SN_MAX_HP_SLOTS   32 /* max hotplug slots */
 
#define SN_SLOT_NAME_SIZE   33 /* size of name string */
 

Enumerations

enum  sn_pci_req_e { PCI_REQ_SLOT_ELIGIBLE, PCI_REQ_SLOT_DISABLE }
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("SGI ([email protected], [email protected], [email protected])")
 
 MODULE_DESCRIPTION ("SGI Altix Hot Plug PCI Controller Driver")
 
 module_init (sn_pci_hotplug_init)
 
 module_exit (sn_pci_hotplug_exit)
 

Macro Definition Documentation

#define PCI_EMPTY_33MHZ   15 /* empty 33 MHz bus */

Definition at line 46 of file sgi_hotplug.c.

#define PCI_L1_ERR   7 /* L1 console command error */

Definition at line 45 of file sgi_hotplug.c.

#define PCI_L1_QSIZE   128 /* our L1 message buffer size */

Definition at line 50 of file sgi_hotplug.c.

#define PCI_SLOT_ALREADY_DOWN   3 /* slot already down */

Definition at line 44 of file sgi_hotplug.c.

#define PCI_SLOT_ALREADY_UP   2 /* slot already up */

Definition at line 43 of file sgi_hotplug.c.

#define PCIIO_ASIC_TYPE_TIOCA   4

Definition at line 49 of file sgi_hotplug.c.

#define SN_MAX_HP_SLOTS   32 /* max hotplug slots */

Definition at line 51 of file sgi_hotplug.c.

#define SN_SLOT_NAME_SIZE   33 /* size of name string */

Definition at line 52 of file sgi_hotplug.c.

Enumeration Type Documentation

Enumerator:
PCI_REQ_SLOT_ELIGIBLE 
PCI_REQ_SLOT_DISABLE 

Definition at line 77 of file sgi_hotplug.c.

Function Documentation

MODULE_DESCRIPTION ( "SGI Altix Hot Plug PCI Controller Driver"  )
module_exit ( sn_pci_hotplug_exit  )
module_init ( sn_pci_hotplug_init  )
MODULE_LICENSE ( "GPL"  )