]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add locking to the bt(4) driver and mark it MPSAFE.
authorjhb <jhb@FreeBSD.org>
Mon, 15 Oct 2012 16:13:55 +0000 (16:13 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 15 Oct 2012 16:13:55 +0000 (16:13 +0000)
commitb7ae8b66cecbc88664583fc7dc1b0a15a416f161
treed6f695a540d17d7e2aa9c7ca78689c9af531e604
parentfcf1c6db5250deb9191312a95f978e557d091b14
Add locking to the bt(4) driver and mark it MPSAFE.
- Use device_printf() and device_get_unit() instead of storing the unit
  number in the softc.
- Remove use of explicit bus space handles and tags.
- Return an errno value from bt_eisa_attach() if an error occurs rather
  than -1.
- Use BUS_PROBE_DEFAULT rather than 0.

Tested by: no one
sys/dev/buslogic/bt.c
sys/dev/buslogic/bt_eisa.c
sys/dev/buslogic/bt_isa.c
sys/dev/buslogic/bt_mca.c
sys/dev/buslogic/bt_pci.c
sys/dev/buslogic/btreg.h