summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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