summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-17 02:05:10 +0000
committerpeter <peter@FreeBSD.org>2003-05-17 02:05:10 +0000
commit2d59e009c8df7f8d741e512d149c8b14f12eeef6 (patch)
treee176f754b9eecd160e723bee39affe5f07a508f9 /sys
parentf8918f9a1c0770c69cd2a7723f9831099b1be082 (diff)
downloadFreeBSD-src-2d59e009c8df7f8d741e512d149c8b14f12eeef6.zip
FreeBSD-src-2d59e009c8df7f8d741e512d149c8b14f12eeef6.tar.gz
Actually get all the bits for sd_hibase.. it was 16 bits short. oops.
Approved by: re (amd64/* blanket)
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index a5d85f1..c9c4d93 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -722,7 +722,7 @@ ssdtosyssd(ssd, sd)
{
sd->sd_lobase = (ssd->ssd_base) & 0xffffff;
- sd->sd_hibase = (ssd->ssd_base >> 24) & 0xffffff;
+ sd->sd_hibase = (ssd->ssd_base >> 24) & 0xfffffffffful;
sd->sd_lolimit = (ssd->ssd_limit) & 0xffff;
sd->sd_hilimit = (ssd->ssd_limit >> 16) & 0xf;
sd->sd_type = ssd->ssd_type;
OpenPOWER on IntegriCloud