freebsd-dev/sys/dev/nvme
Warner Losh 08a607e0f3 Widen the type for to.
The timeout field in the CAPS register is defined to be 8 bits, so its type was
uint8_t. We recently started adding 1 to it to cope with rogue devices that
listed 0 timeout time (which is impossible). However, in so doing, other devices
that list 0xff (for a 2 minute timeout) were broken when adding 1
overflowed. Widen the type to be uint32_t like its source register to avoid the
issue.

Reported by: bapt@
2019-07-25 20:26:21 +00:00
..
nvme_ctrlr_cmd.c Make NVMe compatible with the original API 2018-08-22 04:29:24 +00:00
nvme_ctrlr.c Widen the type for to. 2019-07-25 20:26:21 +00:00
nvme_ns_cmd.c Make NVMe compatible with the original API 2018-08-22 04:29:24 +00:00
nvme_ns.c Unconditionally support unmapped BIOs. This was another shim for 2019-02-27 22:16:59 +00:00
nvme_private.h Keep track of the number of commands that exhaust their retry limit. 2019-07-19 18:39:24 +00:00
nvme_qpair.c Keep track of the number of commands that exhaust their retry limit. 2019-07-19 18:39:24 +00:00
nvme_sim.c Fix nda(4) PCIe link status output 2019-06-07 18:34:48 +00:00
nvme_sysctl.c Keep track of the number of commands that exhaust their retry limit. 2019-07-19 18:39:24 +00:00
nvme_test.c Remove #ifdef code to support FreeBSD versions that haven't been 2019-02-27 22:05:01 +00:00
nvme_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme.c Use sysctl + CTLRWTUN for hw.nvme.verbose_cmd_dump. 2019-07-19 00:32:56 +00:00
nvme.h Provide macros to extract the sub-fields of the CAP_LO and CAP_HI registers. 2019-07-18 15:41:10 +00:00