aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-11-07 13:12:23 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-11-07 13:12:23 +0000
commite9c7c6f5a021a02c5af2fa446d31cf3756b58d62 (patch)
tree35c20c90c298c268a78d5b469f8403fa1155349e
parent2b0f6ad444c0ec82facf55c0ee4806c2ba217daa (diff)
-rw-r--r--sys/dev/e1000/e1000_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/e1000_phy.c b/sys/dev/e1000/e1000_phy.c
index 872a5267bfdb..5c346b2163de 100644
--- a/sys/dev/e1000/e1000_phy.c
+++ b/sys/dev/e1000/e1000_phy.c
@@ -474,7 +474,7 @@ s32 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data)
DEBUGFUNC("e1000_write_phy_reg_i2c");
- /* Prevent overwritting SFP I2C EEPROM which is at A0 address.*/
+ /* Prevent overwriting SFP I2C EEPROM which is at A0 address.*/
if ((hw->phy.addr == 0) || (hw->phy.addr > 7)) {
DEBUGOUT1("PHY I2C Address %d is out of range.\n",
hw->phy.addr);