Fix a couple of issues with t4iov probe and attach.
authorjhb <jhb@FreeBSD.org>
Tue, 31 Jan 2017 18:54:13 +0000 (18:54 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 31 Jan 2017 18:54:13 +0000 (18:54 +0000)
commitff2da518de8a613d41e856bbcb73b82f3ebcd4b3
tree4ce1b4c2c0fb0644085d4914a7833d1572fab54a
parent73279c7326bc6558fb6669f4f97ab47717126806
Fix a couple of issues with t4iov probe and attach.

- Check for Chelsio vendor ID in probe routines.
- Fail attach instead of faulting if pci_find_dbsf() doesn't find a
  device.

PR: 216539
Reported by: asomers
Tested by: Dave Baukus <daveb@spectralogic.com>
MFC after: 3 days
Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_iov.c