]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add support for using MSI instead of INTx, controllable via the tunable
authormarius <marius@FreeBSD.org>
Sun, 29 Dec 2013 22:43:14 +0000 (22:43 +0000)
committermarius <marius@FreeBSD.org>
Sun, 29 Dec 2013 22:43:14 +0000 (22:43 +0000)
commiteb35dbf43666498a9f0e4779e032f88c79d4ad73
tree87b91374deeec8acc140fa35fae13d5e019bdeb5
parent5bc18c5e57d34348235997040ef215a071cde899
- Add support for using MSI instead of INTx, controllable via the tunable
  hw.ral.msi_disable (defaulting to using MSI).
- Probe with BUS_PROBE_DEFAULT instead of 0.
- Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0
  devices.
- Use PCIR_BAR instead of a homegrown macro.
- There's no need to keep track of resource IDs.
- Release resources again in case attaching fails.
- Quiesce the interrupt before detaching.
- Sprinkle const.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
- Trim headers.
- Nuke dupe $FreeBSD$.

MFC after: 1 week
sys/dev/ral/if_ral_pci.c