merge another batch of code from michael buesch's wireless-dev tree, fix up extpci...