Disable TSO on BCM5755M controller until I understand better for

the issue. I still have no idea why TSO does not work on this
controller. davidch@ also confirmed there is no known TSO related
issues for this controller.
This commit is contained in:
Pyun YongHyeon 2010-02-26 22:29:42 +00:00
parent 6401cf0ccc
commit be95548d86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204376

View file

@ -2656,9 +2656,11 @@ bge_attach(device_t dev)
/*
* BCM5754 and BCM5787 shares the same ASIC id so
* explicit device id check is required.
* Due to unknown reason TSO does not work on BCM5755M.
*/
if (pci_get_device(dev) != BCOM_DEVICEID_BCM5754 &&
pci_get_device(dev) != BCOM_DEVICEID_BCM5754M)
pci_get_device(dev) != BCOM_DEVICEID_BCM5754M &&
pci_get_device(dev) != BCOM_DEVICEID_BCM5755M)
sc->bge_flags |= BGE_FLAG_TSO;
}