aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-10-22 09:45:18 -0400
committerHelge Deller <deller@gmx.de>2015-10-22 09:45:18 -0400
commitb696e5e93835cee114f24b5b106c73f9f8503ec0 (patch)
treec5ba92fc16a476e41a771f214d44f71d79c99afa /drivers/parisc
parentaa0bdd2995fb991f0c0f0145303803a0474c93e2 (diff)
parisc: reduce syslog debug output
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/lba_pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index a32c1f6c252c..42844c2bc065 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -624,6 +624,10 @@ extend_lmmio_len(unsigned long start, unsigned long end, unsigned long lba_len)
624{ 624{
625 struct resource *tmp; 625 struct resource *tmp;
626 626
627 /* exit if not a C8000 */
628 if (boot_cpu_data.cpu_type < mako)
629 return end;
630
627 pr_debug("LMMIO mismatch: PAT length = 0x%lx, MASK register = 0x%lx\n", 631 pr_debug("LMMIO mismatch: PAT length = 0x%lx, MASK register = 0x%lx\n",
628 end - start, lba_len); 632 end - start, lba_len);
629 633
@@ -631,10 +635,6 @@ extend_lmmio_len(unsigned long start, unsigned long end, unsigned long lba_len)
631 635
632 pr_debug("LBA: lmmio_space [0x%lx-0x%lx] - original\n", start, end); 636 pr_debug("LBA: lmmio_space [0x%lx-0x%lx] - original\n", start, end);
633 637
634 if (boot_cpu_data.cpu_type < mako) {
635 pr_info("LBA: Not a C8000 system - not extending LMMIO range.\n");
636 return end;
637 }
638 638
639 end += lba_len; 639 end += lba_len;
640 if (end < start) /* fix overflow */ 640 if (end < start) /* fix overflow */
@@ -1557,9 +1557,9 @@ lba_driver_probe(struct parisc_device *dev)
1557 pci_add_resource_offset(&resources, &lba_dev->hba.lmmio_space, 1557 pci_add_resource_offset(&resources, &lba_dev->hba.lmmio_space,
1558 lba_dev->hba.lmmio_space_offset); 1558 lba_dev->hba.lmmio_space_offset);
1559 if (lba_dev->hba.gmmio_space.flags) { 1559 if (lba_dev->hba.gmmio_space.flags) {
1560 /* Not registering GMMIO space - according to docs it's not
1561 * even used on HP-UX. */
1560 /* pci_add_resource(&resources, &lba_dev->hba.gmmio_space); */ 1562 /* pci_add_resource(&resources, &lba_dev->hba.gmmio_space); */
1561 pr_warn("LBA: Not registering GMMIO space %pR\n",
1562 &lba_dev->hba.gmmio_space);
1563 } 1563 }
1564 1564
1565 pci_add_resource(&resources, &lba_dev->hba.bus_num); 1565 pci_add_resource(&resources, &lba_dev->hba.bus_num);