Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6959
b: refs/heads/master
c: e2de849
h: refs/heads/master
i:
  6957: 27425f4
  6955: 55c7206
  6951: be46f58
  6943: 09f17c9
v: v3
  • Loading branch information
Yoichi Yuasa authored and Linus Torvalds committed Sep 5, 2005
1 parent 322cdb4 commit 30ac451
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ce588cd563e6b817adb0c7d03b3ed9c74cadc27
refs/heads/master: e2de84920d9489f7fd87fa4b04d996d569def4fa
13 changes: 13 additions & 0 deletions trunk/include/asm-mips/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,17 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
/* Do platform specific device initialization at pci_enable_device() time */
extern int pcibios_plat_dev_init(struct pci_dev *dev);

static inline struct resource *
pcibios_select_root(struct pci_dev *pdev, struct resource *res)
{
struct resource *root = NULL;

if (res->flags & IORESOURCE_IO)
root = &ioport_resource;
if (res->flags & IORESOURCE_MEM)
root = &iomem_resource;

return root;
}

#endif /* _ASM_PCI_H */

0 comments on commit 30ac451

Please sign in to comment.