[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-i386
Subject:    mbr & MINDRV
From:       Hubert Feyrer <feyrer () rfhs8012 ! fh-regensburg ! de>
Date:       2001-08-31 0:57:06
[Download RAW message or body]


if the drive to be used is lower than MINDRV, 0x80 (== default MINDRV) is
used. Shouldn't that be MINDRV too, for people who don't want their first
harddisk touched? See patch below... someone please commit if it's deemed
appropriate (or let me know and I'll commit it).


 - Hubert

Index: mbr.S
===================================================================
RCS file: /cvsroot/basesrc/sbin/fdisk/mbr/mbr.S,v
retrieving revision 1.6
diff -u -r1.6 mbr.S
--- mbr.S       1999/05/02 13:48:30     1.6
+++ mbr.S       2001/08/31 00:54:43
@@ -114,7 +114,7 @@
        cmpb    $MAXDRV,%dl
        jle     3f
 2:
-       movb $0x80,%dl
+       movb $MINDRV,%dl
 3:
        movb_reg_mem(DL,drvno)
 /*

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic