tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] MI root filesystem detection



dyoung%pobox.com@localhost (David Young) writes:

>> The MD code should pass the proper information, there is no need to fix up 
>> the
>> error in the MI part.

>You have a patch for that, right?  Will you commit it?

I thought you wanted to try it before commiting :)

Index: x86_autoconf.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/x86_autoconf.c,v
retrieving revision 1.65
diff -r1.65 x86_autoconf.c
349c349,352
<       if ((biw = lookup_bootinfo(BTINFO_BOOTWEDGE)) != NULL) {
---
>       bid = lookup_bootinfo(BTINFO_BOOTDISK);
>       biw = lookup_bootinfo(BTINFO_BOOTWEDGE);
> 
>       if (biw != NULL) {
385c388
<                       booted_partition = 0;
---
>                       booted_partition = bid != NULL ? bid->partition : 0;
395c398
<       if ((bid = lookup_bootinfo(BTINFO_BOOTDISK)) != NULL) {
---
>       if (bid != NULL) {


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index