1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/sys/dev/iir
John Baldwin 7ff829cb0e Lock iir(4) and mark it MPSAFE.
- Add a per-device mutex to the softc and use it for bus_dma tags,
  CAM SIMs, callouts, and interrupt handler.
- Switch from timeout(9) to callout(9).
- Add a separate global mutex to protect the global event buffer ring.
- Return completed index from iir_intr_locked() and remove the global
  gdt_wait_* variables.
- Remove global list of gdt softcs and replace its use with
  devclass_get_device().
- Use si_drv1 to store softc pointer in the SDEV_PER_HBA case instead
  of minor numbers.
- Do math on osreldate instead of dubious char math on osrelease[]
  that didn't work on 10.0+.
- Use bus_*() instead of bus_space_*().
- Use device_printf() instead of printf() with a unit number.

Tested by:	no one
2014-11-13 22:00:18 +00:00
..
iir_ctrl.c Lock iir(4) and mark it MPSAFE. 2014-11-13 22:00:18 +00:00
iir_pci.c Lock iir(4) and mark it MPSAFE. 2014-11-13 22:00:18 +00:00
iir.c Lock iir(4) and mark it MPSAFE. 2014-11-13 22:00:18 +00:00
iir.h Lock iir(4) and mark it MPSAFE. 2014-11-13 22:00:18 +00:00