]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260061
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:04:40 +0000 (22:04 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:04:40 +0000 (22:04 +0000)
commitca07cf52ceb10a1ce3726ccb495344d6943d43ae
tree3ac9cd55001a1832ada0daeaa02e8b5898cf5a82
parent59f388d5b82fa57a97df3fced4039cd162d24762
MFC: r260061

- 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$.

git-svn-id: svn://svn.freebsd.org/base/stable/10@264952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ral/if_ral_pci.c