Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add note about kumeran registers. No functional ...
details: https://anonhg.NetBSD.org/src/rev/80d18dc312ca
branches: trunk
changeset: 349035:80d18dc312ca
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Nov 21 03:57:37 2016 +0000
description:
Add note about kumeran registers. No functional change.
diffstat:
sys/dev/pci/if_wm.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r f8a8b9947b21 -r 80d18dc312ca sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Mon Nov 21 03:53:59 2016 +0000
+++ b/sys/dev/pci/if_wm.c Mon Nov 21 03:57:37 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.452 2016/11/18 11:46:04 joerg Exp $ */
+/* $NetBSD: if_wm.c,v 1.453 2016/11/21 03:57:37 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.452 2016/11/18 11:46:04 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.453 2016/11/21 03:57:37 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -738,6 +738,11 @@
static int wm_gmii_gs40g_readreg(device_t, int, int);
static void wm_gmii_gs40g_writereg(device_t, int, int, int);
static void wm_gmii_statchg(struct ifnet *);
+/*
+ * kumeran related (80003, ICH* and PCH*).
+ * These functions are not for accessing MII registers but for accessing
+ * kumeran specific registers.
+ */
static int wm_kmrn_readreg(struct wm_softc *, int);
static int wm_kmrn_readreg_locked(struct wm_softc *, int);
static void wm_kmrn_writereg(struct wm_softc *, int, int);
@@ -9290,6 +9295,8 @@
}
}
+/* kumeran related (80003, ICH* and PCH*) */
+
/*
* wm_kmrn_readreg:
*
@@ -10136,6 +10143,7 @@
return mediatype;
}
+
/*
* NVM related.
* Microwire, SPI (w/wo EERD) and Flash.
Home |
Main Index |
Thread Index |
Old Index