Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
numaq_32.c File Reference
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/nodemask.h>
#include <asm/apic.h>
#include <asm/mpspec.h>
#include <asm/pci_x86.h>
#include <asm/numaq.h>

Go to the source code of this file.

Macros

#define BUS2QUAD(global)   (mp_bus_id_to_node[global])
 
#define BUS2LOCAL(global)   (mp_bus_id_to_local[global])
 
#define QUADLOCAL2BUS(quad, local)   (quad_local_to_mp_bus_id[quad][local])
 
#define PCI_CONF1_MQ_ADDRESS(bus, devfn, reg)   (0x80000000 | (BUS2LOCAL(bus) << 16) | (devfn << 8) | (reg & ~3))
 

Functions

 DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82451NX, pci_fixup_i450nx)
 
int __init pci_numaq_init (void)
 

Macro Definition Documentation

#define BUS2LOCAL (   global)    (mp_bus_id_to_local[global])

Definition at line 15 of file numaq_32.c.

#define BUS2QUAD (   global)    (mp_bus_id_to_node[global])

Definition at line 13 of file numaq_32.c.

#define PCI_CONF1_MQ_ADDRESS (   bus,
  devfn,
  reg 
)    (0x80000000 | (BUS2LOCAL(bus) << 16) | (devfn << 8) | (reg & ~3))

Definition at line 19 of file numaq_32.c.

#define QUADLOCAL2BUS (   quad,
  local 
)    (quad_local_to_mp_bus_id[quad][local])

Definition at line 17 of file numaq_32.c.

Function Documentation

DECLARE_PCI_FIXUP_HEADER ( PCI_VENDOR_ID_INTEL  ,
PCI_DEVICE_ID_INTEL_82451NX  ,
pci_fixup_i450nx   
)
int __init pci_numaq_init ( void  )

Definition at line 149 of file numaq_32.c.