From 368a4360af103cf67185c23d8061bab692a57b91 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sat, 1 Nov 2008 21:25:35 +0000 Subject: Fix bogus shift. --- sys/dev/ic/mpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic') 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 @@ -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; -- cgit v1.2.3