summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2019-03-27 07:55:25 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2019-03-27 07:55:25 +0000
commit768e26f787bfd7cacdecd9779df5e08e8ea29e35 (patch)
tree1c155f4c9cf49474ec7966cf079263757b5b9952 /sys/dev
parent8fd537c3b7c978a8de670c729372cf4d30daa4c3 (diff)
Add AR8152 PCI ids to alc_phy_down(), based on FreeBSD r272730.
From Brad
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_alc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c
index 0014824c2db..7f455029bec 100644
--- a/sys/dev/pci/if_alc.c
+++ b/sys/dev/pci/if_alc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_alc.c,v 1.46 2019/03/25 02:28:20 kevlo Exp $ */
+/* $OpenBSD: if_alc.c,v 1.47 2019/03/27 07:55:24 kevlo Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -921,6 +921,8 @@ alc_phy_down(struct alc_softc *sc)
break;
case PCI_PRODUCT_ATTANSIC_L1D:
case PCI_PRODUCT_ATTANSIC_L1D_1:
+ case PCI_PRODUCT_ATTANSIC_L2C_1:
+ case PCI_PRODUCT_ATTANSIC_L2C_2:
/*
* GPHY power down caused more problems on AR8151 v2.0.
* When driver is reloaded after GPHY power down,