From a54e0b20ba527879bf81746abf84c4a58077ad9b Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Thu, 11 Aug 2005 13:55:06 +0000 Subject: [PATCH] 'Normal' mode didn't work. --- drivers/bios_wini/bios_wini.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bios_wini/bios_wini.c b/drivers/bios_wini/bios_wini.c index eb3da2e31..f02766854 100644 --- a/drivers/bios_wini/bios_wini.c +++ b/drivers/bios_wini/bios_wini.c @@ -240,8 +240,8 @@ unsigned nr_req; /* length of request vector */ reg86.u.b.intno = 0x13; reg86.u.b.ah = opcode == DEV_SCATTER ? 0x03 : 0x02; reg86.u.b.al = nbytes >> SECTOR_SHIFT; - reg86.u.w.bx = (bios_buf_phys + i13e_rw_off) % HCLICK_SIZE; - reg86.u.w.es = (bios_buf_phys + i13e_rw_off) / HCLICK_SIZE; + reg86.u.w.bx = bios_buf_phys % HCLICK_SIZE; + reg86.u.w.es = bios_buf_phys / HCLICK_SIZE; reg86.u.b.ch = cylinder & 0xFF; reg86.u.b.cl = sector | ((cylinder & 0x300) >> 2); reg86.u.b.dh = head; -- 2.44.0