From 5c0fe262365556072e53aa65c7e6d3304d05ffa8 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 17 May 2003 02:05:10 +0000 Subject: [PATCH] Actually get all the bits for sd_hibase.. it was 16 bits short. oops. Approved by: re (amd64/* blanket) --- sys/amd64/amd64/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index a5d85f1339a9..c9c4d93a9c88 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;