diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2006-05-31 20:11:32 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2006-05-31 20:11:32 +0000 |
commit | 1d82367652ee3ac436c0acfca56805410a171b39 (patch) | |
tree | 06f67c0973ec98b6c859c045bfa342a080d114e3 /sys/arch/sparc64/include | |
parent | 9bb7cf18c9d40ab50ebe805b82f5c392aff28db3 (diff) |
extend the bootpath values to 64bits, and deal with fallout
extend str2hex to handle long's, and teach it that strings starting with 'w',
consisting of hex digits are really just hex digits
match fp to scsibus (fiber port)
match fiber channel portwwn/lun to it's bootpath variables
result: with a small change to isp(mailed to mjacob) we can correctly
autoconf with a boot path of:
/pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf948498,0:a/bsd
ie. schizo/ isp/ scsisbus/disk with port WWN of 21...98, lun 0, partition a
Diffstat (limited to 'sys/arch/sparc64/include')
-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 87f7dbb11b5..a766139a767 100644 --- a/sys/arch/sparc64/include/autoconf.h +++ b/sys/arch/sparc64/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.11 2006/03/04 10:31:50 miod Exp $ */ +/* $OpenBSD: autoconf.h,v 1.12 2006/05/31 20:11:31 jason Exp $ */ /* $NetBSD: autoconf.h,v 1.10 2001/07/24 19:32:11 eeh Exp $ */ /*- @@ -147,7 +147,7 @@ struct device; struct bootpath { char name[16]; /* name of this node */ char compatible[16]; /* "compatible" name of this node */ - int val[3]; /* up to three optional values */ + long val[3]; /* up to three optional values */ struct device *dev; /* device that recognised this component */ }; struct bootpath *bootpath_store(int, struct bootpath *); |