kernel: Sync hptrr(4) with FreeBSD.
authorSascha Wildner <saw@online.de>
Thu, 29 Jun 2017 19:31:42 +0000 (21:31 +0200)
committerSascha Wildner <saw@online.de>
Thu, 29 Jun 2017 19:33:47 +0000 (21:33 +0200)
commit22d266d8035c9d6ab6fbb31195b633b7bbf262a5
tree20f6b04fb528776cd18250bea2b4fcbe4684c8d4
parent6daa0b127163a49f1737a0eb51b946790f5d3c47
kernel: Sync hptrr(4) with FreeBSD.

* A number of locking fixes, no longer grabs Giant in the ioctl() method
  (not relevant to us) and when scanning the bus. Also set D_MPSAFE and
  INTR_MPSAFE.

* Use bus_dmamap_load_ccb(). Thanks, sephe!

* Additional fixes supplied by HighPoint.

* Fix some typos in comments.
15 files changed:
share/man/man4/hptrr.4
sys/dev/raid/hptrr/Makefile
sys/dev/raid/hptrr/array.h
sys/dev/raid/hptrr/him.h
sys/dev/raid/hptrr/himfuncs.h
sys/dev/raid/hptrr/hptintf.h
sys/dev/raid/hptrr/hptrr_config.c
sys/dev/raid/hptrr/hptrr_config.h
sys/dev/raid/hptrr/hptrr_os_bsd.c
sys/dev/raid/hptrr/hptrr_osm_bsd.c
sys/dev/raid/hptrr/ldm.h
sys/dev/raid/hptrr/list.h
sys/dev/raid/hptrr/os_bsd.h
sys/dev/raid/hptrr/osm.h
sys/dev/raid/hptrr/x86_64-elf.hptrr_lib.o.uu