summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2004-02-07 03:42:17 +0000
committermjacob <mjacob@FreeBSD.org>2004-02-07 03:42:17 +0000
commit3f8b850980fc23d07b46b10c03ca807e1ca77a9c (patch)
tree3190a2237b4e78ca6ff44dd7756869361597bf58 /sys
parent7b1a699610125741fad060fe671f1cc9908a6416 (diff)
downloadFreeBSD-src-3f8b850980fc23d07b46b10c03ca807e1ca77a9c.zip
FreeBSD-src-3f8b850980fc23d07b46b10c03ca807e1ca77a9c.tar.gz
Add case to handle ISPCTL_GET_PDB.
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/isp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index 40dbf93..060a106 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -3461,6 +3461,15 @@ isp_control(struct ispsoftc *isp, ispctl_t ctl, void *arg)
}
break;
+
+ case ISPCTL_GET_PDB:
+ if (IS_FC(isp) && arg) {
+ int id = *((int *)arg);
+ isp_pdb_t *pdb = arg;
+ return (isp_getpdb(isp, id, pdb));
+ }
+ break;
+
case ISPCTL_RUN_MBOXCMD:
isp_mboxcmd(isp, arg, MBLOGALL);
OpenPOWER on IntegriCloud