Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/pci
In article <20150217101125.159109A%cvs.netbsd.org@localhost>,
SAITOH Masanobu <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name: src
>Committed By: msaitoh
>Date: Tue Feb 17 10:11:25 UTC 2015
>
>Modified Files:
> src/sys/dev/pci: if_bge.c
>
>Log Message:
> Print bit setting of bge_asf_mode if BGE_DEBUG is set.
>
>
>To generate a diff of this commit:
>cvs rdiff -u -r1.278 -r1.279 src/sys/dev/pci/if_bge.c
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.
>
>
>-=-=-=-=-=-
>
>Modified files:
>
>Index: src/sys/dev/pci/if_bge.c
>diff -u src/sys/dev/pci/if_bge.c:1.278 src/sys/dev/pci/if_bge.c:1.279
>--- src/sys/dev/pci/if_bge.c:1.278 Wed Feb 11 23:07:13 2015
>+++ src/sys/dev/pci/if_bge.c Tue Feb 17 10:11:24 2015
>@@ -1,4 +1,4 @@
>-/* $NetBSD: if_bge.c,v 1.278 2015/02/11 23:07:13 msaitoh Exp $ */
>+/* $NetBSD: if_bge.c,v 1.279 2015/02/17 10:11:24 msaitoh Exp $ */
>
> /*
> * Copyright (c) 2001 Wind River Systems
>@@ -79,7 +79,7 @@
> */
>
> #include <sys/cdefs.h>
>-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.278 2015/02/11 23:07:13
>msaitoh Exp $");
>+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.279 2015/02/17 10:11:24
>msaitoh Exp $");
>
> #include <sys/param.h>
> #include <sys/systm.h>
>@@ -6053,6 +6053,7 @@ bge_debug_info(struct bge_softc *sc)
> if (sc->bge_flags & BGEF_TSO)
> printf(" - TSO\n");
>
>+ /* PHY related */
> if (sc->bge_phy_flags & BGEPHYF_NO_3LED)
> printf(" - No 3 LEDs\n");
> if (sc->bge_phy_flags & BGEPHYF_CRC_BUG)
>@@ -6069,6 +6070,14 @@ bge_debug_info(struct bge_softc *sc)
> printf(" - adjust trim\n");
> if (sc->bge_phy_flags & BGEPHYF_NO_WIRESPEED)
> printf(" - no wirespeed\n");
>+
>+ /* ASF related */
>+ if (sc->bge_asf_mode & ASF_ENABLE)
>+ printf(" - ASF enable\n");
>+ if (sc->bge_asf_mode & ASF_NEW_HANDSHARE)
>+ printf(" - ASF new handshake\n");
>+ if (sc->bge_asf_mode & ASF_STACKUP)
>+ printf(" - ASF stackup\n");
Candidates for snprintb()?
christos
Home |
Main Index |
Thread Index |
Old Index