summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2014-09-18 17:22:42 +0000
committerwill <will@FreeBSD.org>2014-09-18 17:22:42 +0000
commitae0fd509347654ab2767ae15c219994d2071f68e (patch)
tree2a95addaff9d503748c9b44333f5465f8b26cd13
parentdf3aac1cc50f57af1c03165c6350899748c1f213 (diff)
downloadFreeBSD-src-ae0fd509347654ab2767ae15c219994d2071f68e.zip
FreeBSD-src-ae0fd509347654ab2767ae15c219994d2071f68e.tar.gz
Silence noisy firewire logging.
MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 974594 on 2013/08/02
-rw-r--r--sys/dev/firewire/firewire.c13
-rw-r--r--sys/dev/firewire/fwohci.c4
2 files changed, 0 insertions, 17 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index 0a6180a..cf98698 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -1560,8 +1560,6 @@ fw_explore_node(struct fw_device *dfwdev)
/* First quad */
err = fw_explore_read_quads(dfwdev, CSRROMOFF, &csr[0], 1);
if (err) {
- device_printf(fc->bdev, "%s: node%d: explore_read_quads failure\n",
- __func__, node);
dfwdev->status = FWDEVINVAL;
return (-1);
}
@@ -1577,15 +1575,11 @@ fw_explore_node(struct fw_device *dfwdev)
/* bus info */
err = fw_explore_read_quads(dfwdev, CSRROMOFF + 0x04, &csr[1], 4);
if (err) {
- device_printf(fc->bdev, "%s: node%d: error reading 0x04\n",
- __func__, node);
dfwdev->status = FWDEVINVAL;
return (-1);
}
binfo = (struct bus_info *)&csr[1];
if (binfo->bus_name != CSR_BUS_NAME_IEEE1394) {
- device_printf(fc->bdev, "%s: node%d: invalid bus name 0x%08x\n",
- __func__, node, binfo->bus_name);
dfwdev->status = FWDEVINVAL;
return (-1);
}
@@ -1668,10 +1662,6 @@ fw_explore_node(struct fw_device *dfwdev)
STAILQ_INSERT_HEAD(&fc->devices, fwdev, link);
else
STAILQ_INSERT_AFTER(&fc->devices, pfwdev, fwdev, link);
-
- device_printf(fc->bdev, "New %s device ID:%08x%08x\n",
- linkspeed[fwdev->speed],
- fwdev->eui.hi, fwdev->eui.lo);
} else {
fwdev->dst = node;
fwdev->status = FWDEVINIT;
@@ -1828,9 +1818,6 @@ fw_attach_dev(struct firewire_comm *fc)
* Remove devices which have not been seen
* for a while.
*/
- device_printf(fc->bdev, "%s:"
- "Removing missing device ID:%08x%08x\n",
- __func__, fwdev->eui.hi, fwdev->eui.lo);
STAILQ_REMOVE(&fc->devices, fwdev, fw_device,
link);
free(fwdev, M_FW);
diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c
index 4ac4302..0179012 100644
--- a/sys/dev/firewire/fwohci.c
+++ b/sys/dev/firewire/fwohci.c
@@ -1126,12 +1126,10 @@ fwohci_txd(struct fwohci_softc *sc, struct fwohci_dbch *dbch)
case FWOHCIEV_ACKBSA:
case FWOHCIEV_ACKBSB:
case FWOHCIEV_ACKBSX:
- device_printf(sc->fc.dev, "txd err=%2x %s\n", stat, fwohcicode[stat]);
err = EBUSY;
break;
case FWOHCIEV_FLUSHED:
case FWOHCIEV_ACKTARD:
- device_printf(sc->fc.dev, "txd err=%2x %s\n", stat, fwohcicode[stat]);
err = EAGAIN;
break;
case FWOHCIEV_MISSACK:
@@ -1145,8 +1143,6 @@ fwohci_txd(struct fwohci_softc *sc, struct fwohci_dbch *dbch)
case FWOHCIEV_ACKDERR:
case FWOHCIEV_ACKTERR:
default:
- device_printf(sc->fc.dev, "txd err=%2x %s\n",
- stat, fwohcicode[stat]);
err = EINVAL;
break;
}
OpenPOWER on IntegriCloud