diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-11-01 21:25:35 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-11-01 21:25:35 +0000 |
commit | 368a4360af103cf67185c23d8061bab692a57b91 (patch) | |
tree | 848ca6dd8e6d8f8255bd080f181c8d9ce88e3811 | |
parent | 46c89706e243f21bc846a7e496ab5ce4db1768e8 (diff) |
Fix bogus shift.
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index e7c8e6205ef..7432af36bc9 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.101 2008/11/01 18:18:16 marco Exp $ */ +/* $OpenBSD: mpi.c,v 1.102 2008/11/01 21:25:34 marco Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -2834,7 +2834,7 @@ mpi_ioctl_disk(struct mpi_softc *sc, struct bioc_disk *bd) physdisk += pdid; /* get raid phys disk page 0 */ - address = physdisk->phys_disk_num << 24; + address = physdisk->phys_disk_num; if (mpi_cfg_header(sc, MPI_CONFIG_REQ_PAGE_TYPE_RAID_PD, 0, address, &hdr) != 0) goto done; |