summaryrefslogtreecommitdiffstats
path: root/sys/dev/mps/mps.c
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2011-02-25 17:30:25 +0000
committerken <ken@FreeBSD.org>2011-02-25 17:30:25 +0000
commit41410d4d9bb5cbb4ca673d99864f603842c44804 (patch)
tree630c2717236b69152e9ea976695ffff2b87c409e /sys/dev/mps/mps.c
parent7d4c7b1304581c3271a1ded2c9595ec5df95f8eb (diff)
downloadFreeBSD-src-41410d4d9bb5cbb4ca673d99864f603842c44804.zip
FreeBSD-src-41410d4d9bb5cbb4ca673d99864f603842c44804.tar.gz
Silence 'out of chain frames' warnings and bump the number of frames.
mps.c: Hide the 'out of chain frames' warning behind MPS_INFO. mps_sas.c: Hide the SIM queue freeze/unfreeze messages behind MPS_INFO. mpsvar.h: Bump the number of chain frames from 1024 to 2048. From testing, it looks like this makes it less likely that we'll run out of chain frames, and it doesn't cost much memory (32K). MFC after: 3 days
Diffstat (limited to 'sys/dev/mps/mps.c')
-rw-r--r--sys/dev/mps/mps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c
index 593ba7e..ed70c43 100644
--- a/sys/dev/mps/mps.c
+++ b/sys/dev/mps/mps.c
@@ -1705,7 +1705,7 @@ mps_data_cb(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
sflags, nsegs - i);
if (error != 0) {
/* Resource shortage, roll back! */
- mps_printf(sc, "out of chain frames\n");
+ mps_dprint(sc, MPS_INFO, "out of chain frames\n");
cm->cm_flags |= MPS_CM_FLAGS_CHAIN_FAILED;
mps_complete_command(cm);
return;
OpenPOWER on IntegriCloud