summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/sbp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/sbp.c')
-rw-r--r--sys/dev/firewire/sbp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 0967652..ed4178a 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1915,6 +1915,11 @@ sbp_attach(device_t dev)
struct fw_xfer *xfer;
int i, s, error;
+ if (DFLTPHYS > SBP_MAXPHYS)
+ device_printf(dev, "Warning, DFLTPHYS(%dKB) is larger than "
+ "SBP_MAXPHYS(%dKB).\n", DFLTPHYS / 1024,
+ SBP_MAXPHYS / 1024);
+
SBP_DEBUG(0)
printf("sbp_attach (cold=%d)\n", cold);
END_DEBUG
OpenPOWER on IntegriCloud