git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
include
/
asm-ia64
/
pci.h
diff --git
a/include/asm-ia64/pci.h
b/include/asm-ia64/pci.h
index
48e565f
..
a8314ee
100644
(file)
--- a/
include/asm-ia64/pci.h
+++ b/
include/asm-ia64/pci.h
@@
-121,14
+121,9
@@
struct pci_controller {
extern struct pci_ops pci_root_ops;
extern struct pci_ops pci_root_ops;
-static inline int pci_
name_bus(char *name,
struct pci_bus *bus)
+static inline int pci_
proc_domain(
struct pci_bus *bus)
{
{
- if (pci_domain_nr(bus) == 0) {
- sprintf(name, "%02x", bus->number);
- } else {
- sprintf(name, "%04x:%02x", pci_domain_nr(bus), bus->number);
- }
- return 0;
+ return (pci_domain_nr(bus) != 0);
}
static inline void pcibios_add_platform_entries(struct pci_dev *dev)
}
static inline void pcibios_add_platform_entries(struct pci_dev *dev)