diff options
| author | Kenneth D. Merry <ken@FreeBSD.org> | 2015-02-18 18:30:19 +0000 |
|---|---|---|
| committer | Kenneth D. Merry <ken@FreeBSD.org> | 2015-02-18 18:30:19 +0000 |
| commit | e8577fb489cfcf475d9ab58e3e0e74756c776505 (patch) | |
| tree | fbdf42f02e780692dcfd2949682c32c724681cb3 /sys/dev/mps | |
| parent | 13952267037d013b68f622cc414bcc8f93bdf0a4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mps')
| -rw-r--r-- | sys/dev/mps/mps_sas.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c index b2481e1c993c..831ecd263c77 100644 --- a/sys/dev/mps/mps_sas.c +++ b/sys/dev/mps/mps_sas.c @@ -3235,7 +3235,11 @@ mpssas_async(void *callback_arg, uint32_t code, struct cam_path *path, cdai.ccb_h.func_code = XPT_DEV_ADVINFO; cdai.ccb_h.flags = CAM_DIR_IN; cdai.buftype = CDAI_TYPE_RCAPLONG; +#if __FreeBSD_version >= 1100061 + cdai.flags = CDAI_FLAG_NONE; +#else cdai.flags = 0; +#endif cdai.bufsiz = sizeof(rcap_buf); cdai.buf = (uint8_t *)&rcap_buf; xpt_action((union ccb *)&cdai); |
