diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-01 05:53:25 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-01 05:53:25 +0000 |
commit | b96a44b39e90e6347ec0da869e8164985a03b92d (patch) | |
tree | da2752bc06ddf1bcba441fedf88563ef929c5805 /sys/dev/ic/mpireg.h | |
parent | e238df506e30675b0cdb34e46a7f0f341e608c56 (diff) |
oops, i dont know how to count bits. fix the OFFSET bitmasks in the device
config pages.
Diffstat (limited to 'sys/dev/ic/mpireg.h')
-rw-r--r-- | sys/dev/ic/mpireg.h | 6 |
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) |