diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-05-10 12:48:25 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-05-10 12:48:25 +0000 |
commit | da12ece13ca7f672d0684397783a2e461122cfaa (patch) | |
tree | 53c9dd8f364e7d7363fc6b6009a70986e7887933 /sys/arch/sparc64/dev/cbusvar.h | |
parent | 80456b3dab6d46705e8788be2b9539bbe115337e (diff) |
Handle devices with multiple ports.
Diffstat (limited to 'sys/arch/sparc64/dev/cbusvar.h')
-rw-r--r-- | sys/arch/sparc64/dev/cbusvar.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/cbusvar.h b/sys/arch/sparc64/dev/cbusvar.h index 014bae856de..d222c361b83 100644 --- a/sys/arch/sparc64/dev/cbusvar.h +++ b/sys/arch/sparc64/dev/cbusvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cbusvar.h,v 1.2 2009/01/01 23:24:59 kettenis Exp $ */ +/* $OpenBSD: cbusvar.h,v 1.3 2009/05/10 12:48:24 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -19,8 +19,9 @@ #define _SPARC64_DEV_CBUSVAR_H_ struct cbus_attach_args { - char *ca_name; + const char *ca_name; int ca_node; + int ca_idx; bus_space_tag_t ca_bustag; bus_dma_tag_t ca_dmatag; @@ -33,6 +34,7 @@ struct cbus_attach_args { u_int64_t ca_rx_ino; }; -int cbus_intr_map(int, int, uint64_t *); +int cbus_print(void *, const char *); +int cbus_intr_map(int, int, uint64_t *); #endif |