Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5998
b: refs/heads/master
c: 755528c
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 26, 2005
1 parent d3da341 commit 87b05c4
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: 26aad69e3dd854abe9028ca873fb40b410a39dd7
refs/heads/master: 755528c860b05fcecda1c88a2bdaffcb50760a7f
4 changes: 3 additions & 1 deletion trunk/drivers/pci/setup-res.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ pci_update_resource(struct pci_dev *dev, struct resource *res, int resno)
if (resno < 6) {
reg = PCI_BASE_ADDRESS_0 + 4 * resno;
} else if (resno == PCI_ROM_RESOURCE) {
new |= res->flags & IORESOURCE_ROM_ENABLE;
if (!(res->flags & IORESOURCE_ROM_ENABLE))
return;
new |= PCI_ROM_ADDRESS_ENABLE;
reg = dev->rom_base_reg;
} else {
/* Hmm, non-standard resource. */
Expand Down

0 comments on commit 87b05c4

Please sign in to comment.