edac_pci.c (bf61c8840efe60fd8f91446860b63338fb424158) edac_pci.c (7270a6085a20a9c6aecb0be8c70510702118dc71)
1/*
2 * EDAC PCI component
3 *
4 * Author: Dave Jiang <djiang@mvista.com>
5 *
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express

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

353 pci->op_state = OP_RUNNING_POLL;
354
355 edac_pci_workq_setup(pci, 1000);
356 } else {
357 pci->op_state = OP_RUNNING_INTERRUPT;
358 }
359
360 edac_pci_printk(pci, KERN_INFO,
1/*
2 * EDAC PCI component
3 *
4 * Author: Dave Jiang <djiang@mvista.com>
5 *
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express

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

353 pci->op_state = OP_RUNNING_POLL;
354
355 edac_pci_workq_setup(pci, 1000);
356 } else {
357 pci->op_state = OP_RUNNING_INTERRUPT;
358 }
359
360 edac_pci_printk(pci, KERN_INFO,
361 "Giving out device to module '%s' controller '%s':"
362 " DEV '%s' (%s)\n",
363 pci->mod_name,
364 pci->ctl_name,
365 edac_dev_name(pci), edac_op_state_to_string(pci->op_state));
361 "Giving out device to module %s controller %s: DEV %s (%s)\n",
362 pci->mod_name, pci->ctl_name, pci->dev_name,
363 edac_op_state_to_string(pci->op_state));
366
367 mutex_unlock(&edac_pci_ctls_mutex);
368 return 0;
369
370 /* error unwind stack */
371fail1:
372 del_edac_pci_from_global_list(pci);
373fail0:

--- 127 unchanged lines hidden ---
364
365 mutex_unlock(&edac_pci_ctls_mutex);
366 return 0;
367
368 /* error unwind stack */
369fail1:
370 del_edac_pci_from_global_list(pci);
371fail0:

--- 127 unchanged lines hidden ---