From: Philip Homburg Date: Thu, 11 Aug 2005 13:55:06 +0000 (+0000) Subject: 'Normal' mode didn't work. X-Git-Tag: v3.1.0~370 X-Git-Url: http://zhaoyanbai.com/repos/doc/html/static/gitweb.css?a=commitdiff_plain;h=a54e0b20ba527879bf81746abf84c4a58077ad9b;p=minix.git 'Normal' mode didn't work. --- 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;