From 3f8b850980fc23d07b46b10c03ca807e1ca77a9c Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 7 Feb 2004 03:42:17 +0000 Subject: Add case to handle ISPCTL_GET_PDB. MFC after: 1 week --- sys/dev/isp/isp.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys') 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); -- cgit v1.1