diff options
author | jdp <jdp@FreeBSD.org> | 2006-12-15 00:27:06 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2006-12-15 00:27:06 +0000 |
commit | 15d896acbb2c1a9b347ffa8d6e887dbd706dcfc3 (patch) | |
tree | 97147fa9bd1f11dbbec7cd0e69906baa805efc0b /sys/dev/bge | |
parent | 266ea347bfec53da0a03ca12451bfe46d7d41349 (diff) | |
download | FreeBSD-src-15d896acbb2c1a9b347ffa8d6e887dbd706dcfc3.zip FreeBSD-src-15d896acbb2c1a9b347ffa8d6e887dbd706dcfc3.tar.gz |
Disable bge MSI support for now. A couple of people warned me that there
are problems with it on several revisions of this chip. I'll
re-enable it after I've sorted out which chip revisions work and which
don't.
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 4022b0b..378f1c2 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -114,6 +114,12 @@ __FBSDID("$FreeBSD$"); #define BGE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP) #define ETHER_MIN_NOPAD (ETHER_MIN_LEN - ETHER_CRC_LEN) /* i.e., 60 */ +/* + * Disable the use of MSI until we sort out on which chip revisions support + * it properly. + */ +#define BGE_DISABLE_MSI 1 + MODULE_DEPEND(bge, pci, 1, 1, 1); MODULE_DEPEND(bge, ether, 1, 1, 1); MODULE_DEPEND(bge, miibus, 1, 1, 1); @@ -2143,6 +2149,9 @@ bge_attach(device_t dev) */ if ((msicount = pci_msi_count(dev)) > 1) msicount = 1; +#ifdef BGE_DISABLE_MSI + msicount = 0; +#endif if (msicount == 1 && pci_alloc_msi(dev, &msicount) == 0) { rid = 1; sc->bge_flags |= BGE_FLAG_MSI; |