From b96a44b39e90e6347ec0da869e8164985a03b92d Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 1 Jun 2006 05:53:25 +0000 Subject: oops, i dont know how to count bits. fix the OFFSET bitmasks in the device config pages. --- sys/dev/ic/mpireg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic/mpireg.h') 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 @@ -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) -- cgit v1.2.3