diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-07-16 22:22:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 17:57:23 -0400 |
commit | 982245f01734e9d5a3ab98b2b2e9761ae7719094 (patch) | |
tree | 96ff56ff327f9a50f91a46886967f349d9a0a5e7 /drivers/infiniband | |
parent | 74d863ee8a9da2b0f31e0f977daf127807b2e9d2 (diff) |
[PATCH] PCI: remove CONFIG_PCI_NAMES
This patch removes CONFIG_PCI_NAMES.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_main.c | 8 | ||||
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_reset.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index 3241d6c9dc11..ffbcd40418d5 100644 --- a/drivers/infiniband/hw/mthca/mthca_main.c +++ b/drivers/infiniband/hw/mthca/mthca_main.c | |||
@@ -937,12 +937,12 @@ static int __devinit mthca_init_one(struct pci_dev *pdev, | |||
937 | ++mthca_version_printed; | 937 | ++mthca_version_printed; |
938 | } | 938 | } |
939 | 939 | ||
940 | printk(KERN_INFO PFX "Initializing %s (%s)\n", | 940 | printk(KERN_INFO PFX "Initializing %s\n", |
941 | pci_pretty_name(pdev), pci_name(pdev)); | 941 | pci_name(pdev)); |
942 | 942 | ||
943 | if (id->driver_data >= ARRAY_SIZE(mthca_hca_table)) { | 943 | if (id->driver_data >= ARRAY_SIZE(mthca_hca_table)) { |
944 | printk(KERN_ERR PFX "%s (%s) has invalid driver data %lx\n", | 944 | printk(KERN_ERR PFX "%s has invalid driver data %lx\n", |
945 | pci_pretty_name(pdev), pci_name(pdev), id->driver_data); | 945 | pci_name(pdev), id->driver_data); |
946 | return -ENODEV; | 946 | return -ENODEV; |
947 | } | 947 | } |
948 | 948 | ||
diff --git a/drivers/infiniband/hw/mthca/mthca_reset.c b/drivers/infiniband/hw/mthca/mthca_reset.c index 8ea801271a41..4f995391dd1d 100644 --- a/drivers/infiniband/hw/mthca/mthca_reset.c +++ b/drivers/infiniband/hw/mthca/mthca_reset.c | |||
@@ -71,8 +71,8 @@ int mthca_reset(struct mthca_dev *mdev) | |||
71 | bridge)) != NULL) { | 71 | bridge)) != NULL) { |
72 | if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && | 72 | if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && |
73 | bridge->subordinate == mdev->pdev->bus) { | 73 | bridge->subordinate == mdev->pdev->bus) { |
74 | mthca_dbg(mdev, "Found bridge: %s (%s)\n", | 74 | mthca_dbg(mdev, "Found bridge: %s\n", |
75 | pci_pretty_name(bridge), pci_name(bridge)); | 75 | pci_name(bridge)); |
76 | break; | 76 | break; |
77 | } | 77 | } |
78 | } | 78 | } |
@@ -83,8 +83,8 @@ int mthca_reset(struct mthca_dev *mdev) | |||
83 | * assume we're in no-bridge mode and hope for | 83 | * assume we're in no-bridge mode and hope for |
84 | * the best. | 84 | * the best. |
85 | */ | 85 | */ |
86 | mthca_warn(mdev, "No bridge found for %s (%s)\n", | 86 | mthca_warn(mdev, "No bridge found for %s\n", |
87 | pci_pretty_name(mdev->pdev), pci_name(mdev->pdev)); | 87 | pci_name(mdev->pdev)); |
88 | } | 88 | } |
89 | 89 | ||
90 | } | 90 | } |