diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-07 14:20:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-07 14:20:11 +0000 |
commit | 7bee71b610a2c9a77c8a47c859664cdf320f19d6 (patch) | |
tree | 55875fd43460c0bbdedc3166fb3176b04037d5f0 /sys/arch/sparc64 | |
parent | 931aa883323c7d7587f10a3da1158275eb4b4e04 (diff) |
Replace code that tries to find the boot device by pretending to walk the
device tree and matching locators in the bootpath string components with
code that tries to match the PROM node of the devices to bootpath components.
This way we don't need a list of possible boot devices that needs to be
tweaked whenever we try to support new Sun hardware (or when dlg plugs a
new fancy storage controller in a sparc64 machine).
Tested by many.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/autoconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h index a766139a767..834bee8b76f 100644 --- a/sys/arch/sparc64/include/autoconf.h +++ b/sys/arch/sparc64/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.12 2006/05/31 20:11:31 jason Exp $ */ +/* $OpenBSD: autoconf.h,v 1.13 2007/04/07 14:20:10 kettenis Exp $ */ /* $NetBSD: autoconf.h,v 1.10 2001/07/24 19:32:11 eeh Exp $ */ /*- @@ -145,8 +145,8 @@ char *clockfreq(long freq); /* Openprom V2 style boot path */ struct device; struct bootpath { + int node; char name[16]; /* name of this node */ - char compatible[16]; /* "compatible" name of this node */ long val[3]; /* up to three optional values */ struct device *dev; /* device that recognised this component */ }; |