if_bce.c (196969) | if_bce.c (196970) |
---|---|
1/*- 2 * Copyright (c) 2006-2009 Broadcom Corporation 3 * David Christensen <davidch@broadcom.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2006-2009 Broadcom Corporation 3 * David Christensen <davidch@broadcom.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/bce/if_bce.c 196969 2009-09-08 13:16:55Z phk $"); | 32__FBSDID("$FreeBSD: head/sys/dev/bce/if_bce.c 196970 2009-09-08 13:19:05Z phk $"); |
33 34/* 35 * The following controllers are supported by this driver: 36 * BCM5706C A2, A3 37 * BCM5706S A2, A3 38 * BCM5708C B1, B2 39 * BCM5708S B1, B2 40 * BCM5709C A1, C0 --- 562 unchanged lines hidden (view full) --- 603 printf("B/C (%s); Flags (", sc->bce_bc_ver); 604 605#ifdef ZERO_COPY_SOCKETS 606 printf("SPLT "); 607 i++; 608#endif 609 if (sc->bce_flags & BCE_USING_MSI_FLAG) { 610 if (i > 0) printf("|"); | 33 34/* 35 * The following controllers are supported by this driver: 36 * BCM5706C A2, A3 37 * BCM5706S A2, A3 38 * BCM5708C B1, B2 39 * BCM5708S B1, B2 40 * BCM5709C A1, C0 --- 562 unchanged lines hidden (view full) --- 603 printf("B/C (%s); Flags (", sc->bce_bc_ver); 604 605#ifdef ZERO_COPY_SOCKETS 606 printf("SPLT "); 607 i++; 608#endif 609 if (sc->bce_flags & BCE_USING_MSI_FLAG) { 610 if (i > 0) printf("|"); |
611 printf("MSI"); i++; | 611 printf("MSI"); i++; |
612 } 613 614 if (sc->bce_flags & BCE_USING_MSIX_FLAG) { 615 if (i > 0) printf("|"); | 612 } 613 614 if (sc->bce_flags & BCE_USING_MSIX_FLAG) { 615 if (i > 0) printf("|"); |
616 printf("MSI-X "); i++; | 616 printf("MSI-X "); i++; |
617 } 618 619 if (sc->bce_phy_flags & BCE_PHY_2_5G_CAPABLE_FLAG) { 620 if (i > 0) printf("|"); | 617 } 618 619 if (sc->bce_phy_flags & BCE_PHY_2_5G_CAPABLE_FLAG) { 620 if (i > 0) printf("|"); |
621 printf("2.5G"); i++; | 621 printf("2.5G"); i++; |
622 } 623 624 if (sc->bce_flags & BCE_MFW_ENABLE_FLAG) { 625 if (i > 0) printf("|"); 626 printf("MFW); MFW (%s)\n", sc->bce_mfw_ver); 627 } else { 628 printf(")\n"); 629 } 630 | 622 } 623 624 if (sc->bce_flags & BCE_MFW_ENABLE_FLAG) { 625 if (i > 0) printf("|"); 626 printf("MFW); MFW (%s)\n", sc->bce_mfw_ver); 627 } else { 628 printf(")\n"); 629 } 630 |
631 DBEXIT(BCE_VERBOSE_LOAD); | 631 DBEXIT(BCE_VERBOSE_LOAD); |
632} 633 634 635/****************************************************************************/ 636/* PCI Capabilities Probe Function. */ 637/* */ 638/* Walks the PCI capabiites list for the device to find what features are */ 639/* supported. */ --- 9738 unchanged lines hidden --- | 632} 633 634 635/****************************************************************************/ 636/* PCI Capabilities Probe Function. */ 637/* */ 638/* Walks the PCI capabiites list for the device to find what features are */ 639/* supported. */ --- 9738 unchanged lines hidden --- |