OSDN Git Service

FreeBSD: Incorporate several fixes that have accumulated.
authorRobert Noland <rnoland@2hip.net>
Fri, 27 Feb 2009 06:34:28 +0000 (00:34 -0600)
committerRobert Noland <rnoland@2hip.net>
Fri, 27 Feb 2009 06:34:28 +0000 (00:34 -0600)
commit72e75b00e4f3f7df3badb10c916126253204ae45
tree970f2aa5ae90b0fc80df99537f0d78fb5c918122
parent5855cf5a2cc7ee920b42052372ab734003799d00
FreeBSD: Incorporate several fixes that have accumulated.

-Don't frob the BARs while they are enabled
-Find proper pci bios address / length
-Use the new PCIOCGETBAR ioctl if it exists
  rather than frob the BARs ourself
-Write must also be a power of two
src/freebsd_pci.c