Module Name: src Committed By: msaitoh Date: Wed Oct 18 03:52:55 UTC 2023
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: ixgbe: Whitespace. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.343 -r1.344 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.191 -r1.192 src/sys/dev/pci/ixgbe/ixv.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/ixgbe/ixgbe.c diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.343 src/sys/dev/pci/ixgbe/ixgbe.c:1.344 --- src/sys/dev/pci/ixgbe/ixgbe.c:1.343 Thu Oct 12 08:06:13 2023 +++ src/sys/dev/pci/ixgbe/ixgbe.c Wed Oct 18 03:52:55 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ixgbe.c,v 1.343 2023/10/12 08:06:13 msaitoh Exp $ */ +/* $NetBSD: ixgbe.c,v 1.344 2023/10/18 03:52:55 msaitoh Exp $ */ /****************************************************************************** @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.343 2023/10/12 08:06:13 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.344 2023/10/18 03:52:55 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -5080,7 +5080,7 @@ ixgbe_update_link_status(struct ixgbe_so for (int i = 0; i < sc->num_queues; i++, que++) que->eitr_setting = 0; - if (sc->link_speed == IXGBE_LINK_SPEED_10GB_FULL){ + if (sc->link_speed == IXGBE_LINK_SPEED_10GB_FULL) { /* * Discard count for both MAC Local Fault and * Remote Fault because those registers are @@ -6043,7 +6043,7 @@ ixgbe_sysctl_phy_overtemp_occurred(SYSCT return (EPERM); if ((hw->device_id != IXGBE_DEV_ID_X550EM_X_10G_T) && - (hw->device_id != IXGBE_DEV_ID_X550EM_A_10G_T)){ + (hw->device_id != IXGBE_DEV_ID_X550EM_A_10G_T)) { device_printf(sc->dev, "Device has no supported external thermal sensor.\n"); return (ENODEV); Index: src/sys/dev/pci/ixgbe/ixv.c diff -u src/sys/dev/pci/ixgbe/ixv.c:1.191 src/sys/dev/pci/ixgbe/ixv.c:1.192 --- src/sys/dev/pci/ixgbe/ixv.c:1.191 Thu Oct 12 08:06:13 2023 +++ src/sys/dev/pci/ixgbe/ixv.c Wed Oct 18 03:52:55 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ixv.c,v 1.191 2023/10/12 08:06:13 msaitoh Exp $ */ +/* $NetBSD: ixv.c,v 1.192 2023/10/18 03:52:55 msaitoh Exp $ */ /****************************************************************************** @@ -35,7 +35,7 @@ /*$FreeBSD: head/sys/dev/ixgbe/if_ixv.c 331224 2018-03-19 20:55:05Z erj $*/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.191 2023/10/12 08:06:13 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.192 2023/10/18 03:52:55 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -573,7 +573,7 @@ ixv_attach(device_t parent, device_t dev /* Check if VF was disabled by PF */ error = hw->mac.ops.get_link_state(hw, &sc->link_enabled); - if (error) { + if (error) { /* PF is not capable of controlling VF state. Enable the link. */ sc->link_enabled = TRUE; } @@ -807,7 +807,7 @@ ixv_init_locked(struct ixgbe_softc *sc) /* Config/Enable Link */ error = hw->mac.ops.get_link_state(hw, &sc->link_enabled); - if (error) { + if (error) { /* PF is not capable of controlling VF state. Enable the link. */ sc->link_enabled = TRUE; } else if (sc->link_enabled == FALSE)