eeh.h (646a8499403e049845dda3141ec1ac021f029f11) eeh.h (55037d176107c33ac79528bf9ab282a6b0b51e16)
1/*
2 * Copyright (C) 2001 Dave Engebretsen & Todd Inglett IBM Corporation.
3 * Copyright 2001-2012 IBM Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 150 unchanged lines hidden (view full) ---

159}
160
161/*
162 * Max number of EEH freezes allowed before we consider the device
163 * to be permanently disabled.
164 */
165#define EEH_MAX_ALLOWED_FREEZES 5
166
1/*
2 * Copyright (C) 2001 Dave Engebretsen & Todd Inglett IBM Corporation.
3 * Copyright 2001-2012 IBM Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 150 unchanged lines hidden (view full) ---

159}
160
161/*
162 * Max number of EEH freezes allowed before we consider the device
163 * to be permanently disabled.
164 */
165#define EEH_MAX_ALLOWED_FREEZES 5
166
167int __devinit eeh_phb_pe_create(struct pci_controller *phb);
168
167void * __devinit eeh_dev_init(struct device_node *dn, void *data);
168void __devinit eeh_dev_phb_init_dynamic(struct pci_controller *phb);
169int __init eeh_ops_register(struct eeh_ops *ops);
170int __exit eeh_ops_unregister(const char *name);
171unsigned long eeh_check_failure(const volatile void __iomem *token,
172 unsigned long val);
173int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev);
174void __init pci_addr_cache_build(void);

--- 154 unchanged lines hidden ---
169void * __devinit eeh_dev_init(struct device_node *dn, void *data);
170void __devinit eeh_dev_phb_init_dynamic(struct pci_controller *phb);
171int __init eeh_ops_register(struct eeh_ops *ops);
172int __exit eeh_ops_unregister(const char *name);
173unsigned long eeh_check_failure(const volatile void __iomem *token,
174 unsigned long val);
175int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev);
176void __init pci_addr_cache_build(void);

--- 154 unchanged lines hidden ---