Page MenuHomeFreeBSD

D6101.diff
No OneTemporary

D6101.diff

Index: head/sys/dev/mpr/mpr_sas.c
===================================================================
--- head/sys/dev/mpr/mpr_sas.c
+++ head/sys/dev/mpr/mpr_sas.c
@@ -1929,8 +1929,13 @@
cm->cm_desc.SCSIIO.DevHandle = htole16(targ->handle);
}
+#if __FreeBSD_version >= 1000029
callout_reset_sbt(&cm->cm_callout, SBT_1MS * ccb->ccb_h.timeout, 0,
mprsas_scsiio_timeout, cm, 0);
+#else //__FreeBSD_version < 1000029
+ callout_reset(&cm->cm_callout, (ccb->ccb_h.timeout * hz) / 1000,
+ mprsas_scsiio_timeout, cm);
+#endif //__FreeBSD_version >= 1000029
targ->issued++;
targ->outstanding++;

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 2:58 PM (33 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15723478
Default Alt Text
D6101.diff (611 B)

Event Timeline