]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r260064
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:23:26 +0000 (22:23 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:23:26 +0000 (22:23 +0000)
commit1b2894434ac62f86583444ce636b1e36b3b9d48c
tree3e01347b3c077bf1b7bb2d06ab969172b8f55a30
parent43f62a5ad4d40a4ae380d4f0c1c513411a2114c9
MFC: r260064

- Probe with BUS_PROBE_DEFAULT instead of 0.
- Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0
  devices.
- 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/9@264955 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/wpi/if_wpi.c
sys/dev/wpi/if_wpivar.h