Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci actually recognize the Yukon 2 variants up to SK...



details:   https://anonhg.NetBSD.org/src/rev/b2f9b5eb09ed
branches:  trunk
changeset: 323390:b2f9b5eb09ed
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Jun 13 20:17:03 2018 +0000

description:
actually recognize the Yukon 2 variants up to SK_YUKON_OPTIMA2 as such

diffstat:

 sys/dev/pci/if_skreg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f16849a2284a -r b2f9b5eb09ed sys/dev/pci/if_skreg.h
--- a/sys/dev/pci/if_skreg.h    Wed Jun 13 19:59:14 2018 +0000
+++ b/sys/dev/pci/if_skreg.h    Wed Jun 13 20:17:03 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_skreg.h,v 1.18 2018/06/12 21:36:34 jdolecek Exp $ */
+/* $NetBSD: if_skreg.h,v 1.19 2018/06/13 20:17:03 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -404,7 +404,7 @@
 #define SK_IS_YUKON(sc) \
     ((sc)->sk_type >= SK_YUKON && (sc)->sk_type <= SK_YUKON_LP)
 #define SK_IS_YUKON2(sc) \
-    ((sc)->sk_type >= SK_YUKON_XL && (sc)->sk_type <= SK_YUKON_FE_P)
+    ((sc)->sk_type >= SK_YUKON_XL && (sc)->sk_type <= SK_YUKON_OPTIMA2)
 
 /* Known revisions in SK_CONFIG */
 #define SK_YUKON_LITE_REV_A0   0x0 /* invented, see test in skc_attach */



Home | Main Index | Thread Index | Old Index