]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260063
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:19:18 +0000 (22:19 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:19:18 +0000 (22:19 +0000)
commit281148ba5b17cd9f54d3d72592525a62645ae673
treef1a51c5fb8a68e4bde58b8d099057afdf729744f
parentca07cf52ceb10a1ce3726ccb495344d6943d43ae
MFC: r260063

- 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.
- Quiesce the interrupt before actually detaching.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@264954 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/iwi/if_iwi.c
sys/dev/iwi/if_iwivar.h