Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324216
b: refs/heads/master
c: f5725f4
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas committed Aug 22, 2012
1 parent c95374c commit 9b606bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd3768349b0ba7bac9e102a8f146f783a03926fe
refs/heads/master: f5725f4d3d9a69c647d6d2d504bd0ae87d9a08df
4 changes: 3 additions & 1 deletion trunk/drivers/parisc/lba_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ static void
lba_fixup_bus(struct pci_bus *bus)
{
struct list_head *ln;
struct pci_dev *dev;
#ifdef FBB_SUPPORT
u16 status;
#endif
Expand Down Expand Up @@ -712,8 +713,8 @@ lba_fixup_bus(struct pci_bus *bus)

list_for_each(ln, &bus->devices) {
int i;
struct pci_dev *dev = pci_dev_b(ln);

dev = pci_dev_b(ln);
DBG("lba_fixup_bus() %s\n", pci_name(dev));

/* Virtualize Device/Bridge Resources. */
Expand Down Expand Up @@ -771,6 +772,7 @@ lba_fixup_bus(struct pci_bus *bus)

/* Lastly enable FBB/PERR/SERR on all devices too */
list_for_each(ln, &bus->devices) {
dev = pci_dev_b(ln);
(void) pci_read_config_word(dev, PCI_COMMAND, &status);
status |= PCI_COMMAND_PARITY | PCI_COMMAND_SERR | fbb_enable;
(void) pci_write_config_word(dev, PCI_COMMAND, status);
Expand Down

0 comments on commit 9b606bd

Please sign in to comment.