diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2013-01-13 05:45:11 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2013-01-13 05:45:11 +0000 |
commit | d2e95a5ff8c27e5947318ebf35975bc02e230e02 (patch) | |
tree | ef8d880c7af23affde84131a904999642f07dc87 /sys/dev | |
parent | 46fe175326ca6e779670da58414fdf08a7a0e390 (diff) |
Enable flow control support with 5708S/5709S adapters.
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_bnx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c index 9c7b5094a36..5fb65f7f3de 100644 --- a/sys/dev/pci/if_bnx.c +++ b/sys/dev/pci/if_bnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnx.c,v 1.99 2012/12/10 10:38:56 mikeb Exp $ */ +/* $OpenBSD: if_bnx.c,v 1.100 2013/01/13 05:45:10 brad Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -910,9 +910,7 @@ bnx_attachhook(void *xsc) /* Look for our PHY. */ ifmedia_init(&sc->bnx_mii.mii_media, 0, bnx_ifmedia_upd, bnx_ifmedia_sts); - if (BNX_CHIP_NUM(sc) == BNX_CHIP_NUM_5706 || - (!(sc->bnx_phy_flags & BNX_PHY_SERDES_FLAG))) - mii_flags |= MIIF_DOPAUSE; + mii_flags |= MIIF_DOPAUSE; if (sc->bnx_phy_flags & BNX_PHY_SERDES_FLAG) mii_flags |= MIIF_HAVEFIBER; mii_attach(&sc->bnx_dev, &sc->bnx_mii, 0xffffffff, |