diff options
author | yongari <yongari@FreeBSD.org> | 2012-05-23 03:35:08 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-05-23 03:35:08 +0000 |
commit | f424aba68abe8838508f46c333c31026298215ab (patch) | |
tree | b6cbb1ce6a565d082a28458dd5d25abcacd82757 /sys/dev/bge | |
parent | 0c90b7cf737318a63627b3dc00bcdd04016d959f (diff) | |
download | FreeBSD-src-f424aba68abe8838508f46c333c31026298215ab.zip FreeBSD-src-f424aba68abe8838508f46c333c31026298215ab.tar.gz |
Don't force max payload size to 128. Root complex and Endpoint will
negotiate with each other on the TLP payload size so blindly
forcing the size to 128 can cause a completion error which in turn
will stop device.
Reported by: Geans Pin < geanspin <> broadcom dot com >
MFC after: 5 days
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 5557218..1f4e5a8d 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -3638,8 +3638,6 @@ bge_reset(struct bge_softc *sc) /* Clear enable no snoop and disable relaxed ordering. */ devctl &= ~(PCIM_EXP_CTL_RELAXED_ORD_ENABLE | PCIM_EXP_CTL_NOSNOOP_ENABLE); - /* Set PCIE max payload size to 128. */ - devctl &= ~PCIM_EXP_CTL_MAX_PAYLOAD; pci_write_config(dev, sc->bge_expcap + PCIR_EXPRESS_DEVICE_CTL, devctl, 2); /* Clear error status. */ |