diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2006-04-21 18:46:35 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2006-04-21 18:46:35 +0000 |
| commit | 8c4e89e24907af9676ff4ded36ac750fe8427c79 (patch) | |
| tree | 0485041f09122d7ca22e66c91da5287f2640544b /sys/dev/isp/isp.c | |
| parent | 54302f8e50251c798d8c18c8f6d1a1c97199b363 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp.c')
| -rw-r--r-- | sys/dev/isp/isp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 8d28afcf2baa5..8fcb134e57f51 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -3515,7 +3515,10 @@ isp_control(ispsoftc_t *isp, ispctl_t ctl, void *arg) case ISPCTL_FCLINK_TEST: if (IS_FC(isp)) { - int usdelay = (arg)? *((int *) arg) : 250000; + int usdelay = *((int *) arg); + if (usdelay == 0) { + usdelay = 250000; + } return (isp_fclink_test(isp, usdelay)); } break; |
