From cc330eadff2a39f891fd85fe3282fedd4aa03113 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sat, 7 Feb 2004 03:42:17 +0000 Subject: [PATCH] Add case to handle ISPCTL_GET_PDB. MFC after: 1 week --- sys/dev/isp/isp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 40dbf931602..060a1060f3d 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);