diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-06-11 23:18:25 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-06-11 23:18:25 +0000 |
commit | 5cc0b1e9ff5ad9c76b3499964b3a8bd967427e77 (patch) | |
tree | b11f1494b59fe2c4bdc7ca13514950ba23321d3e | |
parent | cb7157f7d254cb62f0a154eb2c14d5188c0cc7f1 (diff) |
My spec says that bit 28 is reserved and that 29 is width parameter. Not the
other way around.
-rw-r--r-- | sys/dev/ic/mpireg.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <dlg@openbsd.org> @@ -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; |