Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ecrc.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pci.h>
#include <linux/pci_regs.h>
#include <linux/errno.h>
#include "../../pci.h"

Go to the source code of this file.

Macros

#define ECRC_POLICY_DEFAULT   0 /* ECRC set by BIOS */
 
#define ECRC_POLICY_OFF   1 /* ECRC off for performance */
 
#define ECRC_POLICY_ON   2 /* ECRC on for data integrity */
 

Functions

void pcie_set_ecrc_checking (struct pci_dev *dev)
 
void pcie_ecrc_get_policy (char *str)
 

Macro Definition Documentation

#define ECRC_POLICY_DEFAULT   0 /* ECRC set by BIOS */

Definition at line 31 of file ecrc.c.

#define ECRC_POLICY_OFF   1 /* ECRC off for performance */

Definition at line 32 of file ecrc.c.

#define ECRC_POLICY_ON   2 /* ECRC on for data integrity */

Definition at line 33 of file ecrc.c.

Function Documentation

void pcie_ecrc_get_policy ( char str)

pcie_ecrc_get_policy - parse kernel command-line ecrc option

Definition at line 119 of file ecrc.c.

void pcie_set_ecrc_checking ( struct pci_dev dev)

pcie_set_ecrc_checking - set/unset PCIe ECRC checking for a device based on global policy : the PCI device

Definition at line 100 of file ecrc.c.