pci_pci.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Don't consider PCIe hot-plug command timeout fatal.

According to my tests and errata to several generations of Intel CPUs,

PCIe hot-plug command completion reporting is not very reliable thing.

At least on my Supermicro X11DPi-NT board I never saw it reported.

Before this change timeout code detached devices and tried to disable

the slot, that in my case resulted in hot-plugged device being detached

just a second after it was successfully detected and attached. This

change removes that, so in case of timeout it just prints the error and

continue operation. Linux does the same.

Obtained from: FreeBSD

start working on dev updates.

  1. … 2042 more files in changeset.
sync pci

  1. … 17 more files in changeset.
always enable bus mastering on bridges so that transactions on teh secondary are passed to the primary

tag and remove dead code.

  1. … 1873 more files in changeset.
sync with freebsd 9 stable.

  1. … 2449 more files in changeset.
Merge several changes from FreeBSD 7-stable.

Introduce virtualization detection. The kernel knows if it's running with VMWar

e, VirtualBox, Parallels, etc and changes the hz level as well as disables MSI a

s appropriate. We will need to drop the loader support for part of this once it

's tested further. This is more general and allows us to make more changes for s

pecail hardware emulation.

Update alc(4), bge(4), mii(4) and cardbus as well as pci. This fixes several pr

oblems with various devices, particularly alc(4) which often had difficulty dete

cting cables were plugged in and DHCP. bge(4) gains support for several newer ch

ips and disables UDP offloading for stability reasons.

We also had to hack zfs so that the kernel memmove can be used now rather than t

he macro bcopy hack.

  1. … 83 more files in changeset.
merge and sync with freebsd 7

  1. … 13 more files in changeset.
Sync with FreeBSD 6-Stable

  1. … 4 more files in changeset.