summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-06-01 05:53:25 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-06-01 05:53:25 +0000
commitb96a44b39e90e6347ec0da869e8164985a03b92d (patch)
treeda2752bc06ddf1bcba441fedf88563ef929c5805
parente238df506e30675b0cdb34e46a7f0f341e608c56 (diff)
oops, i dont know how to count bits. fix the OFFSET bitmasks in the device
config pages.
-rw-r--r--sys/dev/ic/mpireg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index 75ad886c396..9a48e0b99d2 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.6 2006/06/01 05:45:21 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.7 2006/06/01 05:53:24 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -858,7 +858,7 @@ struct mpi_cfg_spi_dev_pg0 {
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_RTI (1<<6)
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_PCOMP_EN (1<<7)
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_XFER_PERIOD (0x0000ff00)
-#define MPI_CFG_SPI_DEV_0_NEGPARAMS_XFER_OFFSET (0x000f0000)
+#define MPI_CFG_SPI_DEV_0_NEGPARAMS_XFER_OFFSET (0x00ff0000)
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_IDP_EN (1<<27)
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_WIDTH (1<<28)
#define MPI_CFG_SPI_DEV_0_NEGPARAMS_WIDTH_NARROW (0<<28)
@@ -885,7 +885,7 @@ struct mpi_cfg_spi_dev_pg1 {
#define MPI_CFG_SPI_DEV_1_REQPARAMS_RTI (1<<6)
#define MPI_CFG_SPI_DEV_1_REQPARAMS_PCOMP_EN (1<<7)
#define MPI_CFG_SPI_DEV_1_REQPARAMS_XFER_PERIOD (0x0000ff00)
-#define MPI_CFG_SPI_DEV_1_REQPARAMS_XFER_OFFSET (0x000f0000)
+#define MPI_CFG_SPI_DEV_1_REQPARAMS_XFER_OFFSET (0x00ff0000)
#define MPI_CFG_SPI_DEV_1_REQPARAMS_IDP_EN (1<<27)
#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH (1<<28)
#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH_NARROW (0<<28)