summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-31 11:22:33 +0000
committerandvar <andvar@NetBSD.org>2022-05-31 11:22:33 +0000
commit9c38e8789aaebcc98d933d6fd8bfb4ce0ddc7c8e (patch)
tree736ef00bf8df78042bfeda138beea667624825eb /sys/dev
parentd8e361d9940a3e372393c3761d1bab2424d75a6d (diff)
s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/dm9000reg.h6
-rw-r--r--sys/dev/pci/ixgbe/ixgbe_x550.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/dm9000reg.h b/sys/dev/ic/dm9000reg.h
index 977a8b154d9..02462bc560b 100644
--- a/sys/dev/ic/dm9000reg.h
+++ b/sys/dev/ic/dm9000reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dm9000reg.h,v 1.8 2022/05/31 08:43:15 andvar Exp $ */
+/* $NetBSD: dm9000reg.h,v 1.9 2022/05/31 11:22:33 andvar Exp $ */
/*
* Copyright (c) 2009 Paul Fleischer
@@ -68,9 +68,9 @@
#define DM9000_TCR 0x02 /* Tx control */
#define DM9000_TCR_TXREQ (1<<0) /* request to start Tx, self clear */
#define DM9000_TCR_CRC_DIS1 (1<<1) /* disable PAD op on Tx1 */
-#define DM9000_TCR_PAD_DIS1 (1<<2) /* disbale CRC append on Tx1 */
+#define DM9000_TCR_PAD_DIS1 (1<<2) /* disable CRC append on Tx1 */
#define DM9000_TCR_CRC_DIS2 (1<<3) /* disable PAD op on Tx2 */
-#define DM9000_TCR_PAD_DIS2 (1<<4) /* disbale CRC append on Tx2 */
+#define DM9000_TCR_PAD_DIS2 (1<<4) /* disable CRC append on Tx2 */
#define DM9000_TCR_EXCECM (1<<5) /* allow infinite colli. retries */
#define DM9000_TCR_TJDIS (1<<6) /* disable xmit jabber, otherwise on */
#define DM9000_TSR1 0x03 /* transmit completion status 1 */
diff --git a/sys/dev/pci/ixgbe/ixgbe_x550.c b/sys/dev/pci/ixgbe/ixgbe_x550.c
index 4396401739e..bb727b6b99b 100644
--- a/sys/dev/pci/ixgbe/ixgbe_x550.c
+++ b/sys/dev/pci/ixgbe/ixgbe_x550.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_x550.c,v 1.25 2021/12/24 05:02:11 msaitoh Exp $ */
+/* $NetBSD: ixgbe_x550.c,v 1.26 2022/05/31 11:22:33 andvar Exp $ */
/******************************************************************************
@@ -35,7 +35,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_x550.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_x550.c,v 1.25 2021/12/24 05:02:11 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_x550.c,v 1.26 2022/05/31 11:22:33 andvar Exp $");
#include "ixgbe_x550.h"
#include "ixgbe_x540.h"
@@ -1215,7 +1215,7 @@ s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw)
}
/**
- * ixgbe_set_source_address_pruning_X550 - Enable/Disbale source address pruning
+ * ixgbe_set_source_address_pruning_X550 - Enable/Disable source address pruning
* @hw: pointer to hardware structure
* @enable: enable or disable source address pruning
* @pool: Rx pool to set source address pruning for