Module Name: src
Committed By: hikaru
Date: Fri Feb 12 09:24:15 UTC 2016
Modified Files:
src/sys/dev/marvell: if_mvxpereg.h
Log Message:
Fix the bitmask of MVXPE_PMACC0_FRAMESIZELIMIT. It did no harm.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/marvell/if_mvxpereg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/marvell/if_mvxpereg.h
diff -u src/sys/dev/marvell/if_mvxpereg.h:1.2 src/sys/dev/marvell/if_mvxpereg.h:1.3
--- src/sys/dev/marvell/if_mvxpereg.h:1.2 Wed Jun 3 03:55:47 2015
+++ src/sys/dev/marvell/if_mvxpereg.h Fri Feb 12 09:24:15 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: if_mvxpereg.h,v 1.2 2015/06/03 03:55:47 hsuenaga Exp $ */
+/* $NetBSD: if_mvxpereg.h,v 1.3 2016/02/12 09:24:15 hikaru Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@@ -608,7 +608,7 @@
/* Port MAC Control 0 (MVXPE_PMACC0) */
#define MVXPE_PMACC0_PORTEN (1 << 0)
#define MVXPE_PMACC0_PORTTYPE (1 << 1)
-#define MVXPE_PMACC0_FRAMESIZELIMIT(x) ((((x) >> 1) & 0x7ffc) << 2)
+#define MVXPE_PMACC0_FRAMESIZELIMIT(x) ((((x) >> 1) & 0x1fff) << 2)
#define MVXPE_PMACC0_MUSTSET (1 << 15)
/* Port MAC Control 1 (MVXPE_PMACC1) */