]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260064
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:23:38 +0000 (22:23 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 22:23:38 +0000 (22:23 +0000)
commitbc1bee91d7b1640fe584001b768446928f1cf535
tree97c2dc106fd724330ab620288ab7528b87fac6d8
parent281148ba5b17cd9f54d3d72592525a62645ae673
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/10@264956 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/wpi/if_wpi.c
sys/dev/wpi/if_wpivar.h