diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-10 15:00:21 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:12:46 -0500 |
commit | 0e331bf1c44401a5b6d7b778dd1f254724132dff (patch) | |
tree | 2c38080ac65a9c060c20edbfda3e1154420685cf | |
parent | 0663a36284586ac9a9781be8aa7e8ca9fff16d06 (diff) |
PCI: pcie port driver: remove extra printks
These printks don't contain enough information to be useful. I think it
would be more useful to have a message when a service driver binds to a
root port. That could contain the service type, the interrupt mode and
IRQ, etc.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | drivers/pci/pcie/portdrv_core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c index 75f501ab6468..6a9f83ccaff4 100644 --- a/drivers/pci/pcie/portdrv_core.c +++ b/drivers/pci/pcie/portdrv_core.c | |||
@@ -103,7 +103,6 @@ static int pcie_port_resume_service(struct device *dev) | |||
103 | */ | 103 | */ |
104 | static void release_pcie_device(struct device *dev) | 104 | static void release_pcie_device(struct device *dev) |
105 | { | 105 | { |
106 | dev_printk(KERN_DEBUG, dev, "free port service\n"); | ||
107 | kfree(to_pcie_device(dev)); | 106 | kfree(to_pcie_device(dev)); |
108 | } | 107 | } |
109 | 108 | ||
@@ -150,7 +149,6 @@ static int assign_interrupt_mode(struct pci_dev *dev, int *vectors, int mask) | |||
150 | if (pos) { | 149 | if (pos) { |
151 | struct msix_entry msix_entries[PCIE_PORT_DEVICE_MAXSERVICES] = | 150 | struct msix_entry msix_entries[PCIE_PORT_DEVICE_MAXSERVICES] = |
152 | {{0, 0}, {0, 1}, {0, 2}, {0, 3}}; | 151 | {{0, 0}, {0, 1}, {0, 2}, {0, 3}}; |
153 | dev_info(&dev->dev, "found MSI-X capability\n"); | ||
154 | status = pci_enable_msix(dev, msix_entries, nvec); | 152 | status = pci_enable_msix(dev, msix_entries, nvec); |
155 | if (!status) { | 153 | if (!status) { |
156 | int j = 0; | 154 | int j = 0; |
@@ -165,7 +163,6 @@ static int assign_interrupt_mode(struct pci_dev *dev, int *vectors, int mask) | |||
165 | if (status) { | 163 | if (status) { |
166 | pos = pci_find_capability(dev, PCI_CAP_ID_MSI); | 164 | pos = pci_find_capability(dev, PCI_CAP_ID_MSI); |
167 | if (pos) { | 165 | if (pos) { |
168 | dev_info(&dev->dev, "found MSI capability\n"); | ||
169 | status = pci_enable_msi(dev); | 166 | status = pci_enable_msi(dev); |
170 | if (!status) { | 167 | if (!status) { |
171 | interrupt_mode = PCIE_PORT_MSI_MODE; | 168 | interrupt_mode = PCIE_PORT_MSI_MODE; |
@@ -239,7 +236,6 @@ static struct pcie_device* alloc_pcie_device(struct pci_dev *parent, | |||
239 | return NULL; | 236 | return NULL; |
240 | 237 | ||
241 | pcie_device_init(parent, device, port_type, service_type, irq,irq_mode); | 238 | pcie_device_init(parent, device, port_type, service_type, irq,irq_mode); |
242 | dev_printk(KERN_DEBUG, &device->device, "allocate port service\n"); | ||
243 | return device; | 239 | return device; |
244 | } | 240 | } |
245 | 241 | ||