From 5cc0b1e9ff5ad9c76b3499964b3a8bd967427e77 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sun, 11 Jun 2006 23:18:25 +0000 Subject: My spec says that bit 28 is reserved and that 29 is width parameter. Not the other way around. --- sys/dev/ic/mpireg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/ic/mpireg.h') diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h index a8d61b9266e..c27f7b33e16 100644 --- a/sys/dev/ic/mpireg.h +++ b/sys/dev/ic/mpireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpireg.h,v 1.10 2006/06/10 13:27:58 dlg Exp $ */ +/* $OpenBSD: mpireg.h,v 1.11 2006/06/11 23:18:24 marco Exp $ */ /* * Copyright (c) 2005 David Gwynne @@ -950,9 +950,9 @@ struct mpi_cfg_spi_dev_pg1 { #define MPI_CFG_SPI_DEV_1_REQPARAMS_XFER_OFFSET(x) ((x) << 16) #define MPI_CFG_SPI_DEV_1_REQPARAMS_XFER_OFFSET_MASK (0xff<<16) #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) -#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH_WIDE (1<<28) +#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH (1<<29) +#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH_NARROW (0<<29) +#define MPI_CFG_SPI_DEV_1_REQPARAMS_WIDTH_WIDE (1<<29) #define MPI_CFG_SPI_DEV_1_REQPARAMS_AIP (1<<31) u_int32_t reserved; -- cgit v1.2.3