]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260053
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 21:42:52 +0000 (21:42 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 21:42:52 +0000 (21:42 +0000)
commit7186ef7c9510520ae6e4804563ea0524594d7c54
tree10d50d192418b7f88ea8a556e5db65f9472b0fb9
parent109c310ad00b566165038becf8d3514dac9723a7
MFC: r260053

- There's no need to keep track of resource IDs.
- Simplify MSI allocation and release. For a single one, we don't need to
  fiddle with the MSI count and pci_release_msi(9) is smart enough to just
  do nothing in case of INTx.
- Don't allocate MSI as RF_SHAREABLE.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@264945 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/iwn/if_iwn.c
sys/dev/iwn/if_iwnvar.h