Add case to handle ISPCTL_GET_PDB.

MFC after:	1 week
This commit is contained in:
Matt Jacob 2004-02-07 03:42:17 +00:00
parent 87ab7d39a4
commit cc330eadff

View File

@ -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);