diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-06-13 21:48:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-06-13 21:48:04 +0000 |
commit | 7e97643755bb45a839c99309ba46c6c5b31c0669 (patch) | |
tree | 8aaa44aa51ce9cc3dcaf2b8040ca22675ebb1188 /sys/arch/sgi/include | |
parent | c66a555036d7337a47d930b3b23f88dacad8aaef (diff) |
Enumerate all available nodes for hardware on IP27/IP35 systems; works to some
extent, but isp(4) on other nodes do not work correctly yet.
Diffstat (limited to 'sys/arch/sgi/include')
-rw-r--r-- | sys/arch/sgi/include/autoconf.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/sys/arch/sgi/include/autoconf.h b/sys/arch/sgi/include/autoconf.h index d91fc883b1d..0b16587d677 100644 --- a/sys/arch/sgi/include/autoconf.h +++ b/sys/arch/sgi/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.17 2009/05/21 16:28:11 miod Exp $ */ +/* $OpenBSD: autoconf.h,v 1.18 2009/06/13 21:48:03 miod Exp $ */ /* * Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -71,24 +71,27 @@ struct sys_rec { extern struct sys_rec sys_config; -/**/ -struct confargs; - struct confargs { - char *ca_name; /* Device name. */ - bus_space_tag_t ca_iot; - bus_space_tag_t ca_memt; - bus_dma_tag_t ca_dmat; - int32_t ca_intr; - bus_addr_t ca_baseaddr; + char *ca_name; + int16_t ca_nasid; + bus_space_tag_t ca_iot; + bus_dma_tag_t ca_dmat; + /* XXX the following are macebus-specific */ + bus_space_tag_t ca_memt; + int32_t ca_intr; + bus_addr_t ca_baseaddr; }; void enaddr_aton(const char *, u_int8_t *); +struct device; + void ip27_setup(void); +void ip27_autoconf(struct device *); void ip30_setup(void); void ip32_setup(void); extern char osloadpartition[256]; +extern int16_t masternasid; #endif /* _MACHINE_AUTOCONF_H_ */ |