aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/scsi/scsi_low.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-12-25 17:52:02 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-12-25 17:52:02 +0000
commit3de213cc00f2889d2cd693968fd38c10a7f5def1 (patch)
treeae45f86ab6fb75519ba2d9dbc206616dba84cc13 /sys/cam/scsi/scsi_low.h
parent6862d27ecd3a641713fe08d9572a27bf218cc8d9 (diff)
downloadsrc-3de213cc00f2889d2cd693968fd38c10a7f5def1.tar.gz
src-3de213cc00f2889d2cd693968fd38c10a7f5def1.zip
Add a new 'why' argument to kdb_enter(), and a set of constants to use
for that argument. This will allow DDB to detect the broad category of reason why the debugger has been entered, which it can use for the purposes of deciding which DDB script to run. Assign approximate why values to all current consumers of the kdb_enter() interface.
Notes
Notes: svn path=/head/; revision=174898
Diffstat (limited to 'sys/cam/scsi/scsi_low.h')
-rw-r--r--sys/cam/scsi/scsi_low.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_low.h b/sys/cam/scsi/scsi_low.h
index 4dfa6021533d..8d6dbede240d 100644
--- a/sys/cam/scsi/scsi_low.h
+++ b/sys/cam/scsi/scsi_low.h
@@ -87,7 +87,7 @@
#ifdef __FreeBSD__
#undef MSG_IDENTIFY
-#define SCSI_LOW_DEBUGGER(dev) kdb_enter(dev)
+#define SCSI_LOW_DEBUGGER(dev) kdb_enter(KDB_WHY_CAM, dev)
#define SCSI_LOW_DELAY(mu) DELAY((mu))
#define SCSI_LOW_SPLSCSI splcam
#define SCSI_LOW_BZERO(pt, size) bzero((pt), (size))