]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Change the warning about PCI-e links narrower than x8 to only apply to
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 26 Jul 2010 17:31:15 +0000 (17:31 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 26 Jul 2010 17:31:15 +0000 (17:31 +0000)
commitb739a509f24bda598a7d0bea583369fb0bc4ee00
treeeb4bcd3d5cc72a481c361e0104a75565ae7b4df1
parent5593fdda180730527159a5d1c4cc683b6219749a
- Change the warning about PCI-e links narrower than x8 to only apply to
  10G cards.  1G cards are x4 only.
- Use constants from pcireg.h for reading the current link width.
- Use pci_set_max_read_req() rather than implementing it by hand.

Reviewed by: np
MFC after: 1 week
sys/dev/cxgb/cxgb_main.c