]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix a bug in the MSI allocation logic so an MSI is also employed if a
authormarius <marius@FreeBSD.org>
Tue, 6 Aug 2013 19:14:02 +0000 (19:14 +0000)
committermarius <marius@FreeBSD.org>
Tue, 6 Aug 2013 19:14:02 +0000 (19:14 +0000)
commit281e37952d1ff13b3d56914bf7e8c9a8dc15460a
treea299d3802d6468cc680a281ed7261ac0928b7c82
parent576dff05bc71310c08c877c6555692807f2a997e
- Fix a bug in the MSI allocation logic so an MSI is also employed if a
  controller supports only a single message. I haven't seen such an adapter
  out in the wild, though, so this change likely is a NOP.
  While at it, further simplify the MSI allocation logic; there's no need
  to check the number of available messages on our own as pci_alloc_msi(9)
  will just fail if it can't provide us with the single message we want.
- Nuke the unused softc of aacch(4).

MFC after: 1 month
sys/dev/aac/aac_pci.c