summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2016-06-18 15:43:09 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2016-06-18 15:43:09 +0000
commit84c0e93bdc33342a7fbeb293d361230e553884b3 (patch)
tree8d5f401b74350e03f7aaf1ec29ce2facd53ae725 /sys/arch
parentd298645fb0388b5937836b4025bcacf8a2364f6f (diff)
Fix PCS block size.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/dev/cn30xxgmxreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmxreg.h b/sys/arch/octeon/dev/cn30xxgmxreg.h
index d77a3733f54..7961cde436b 100644
--- a/sys/arch/octeon/dev/cn30xxgmxreg.h
+++ b/sys/arch/octeon/dev/cn30xxgmxreg.h
@@ -3,7 +3,7 @@
* DONT EDIT THIS FILE
*/
-/* $OpenBSD: cn30xxgmxreg.h,v 1.3 2016/06/09 15:29:22 visa Exp $ */
+/* $OpenBSD: cn30xxgmxreg.h,v 1.4 2016/06/18 15:43:08 visa Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -650,7 +650,7 @@
/* Low-level SGMII link control */
-#define PCS_BASE(g, i) (0x00011800b0001000ULL + 0x20000 * (g) + 0x400 * (i))
+#define PCS_BASE(g, i) (0x00011800b0001000ULL + 0x8000000 * (g) + 0x400 * (i))
#define PCS_SIZE 0x98
#define PCS_MR_CONTROL 0x00