aboutsummaryrefslogtreecommitdiff
path: root/sys/sun4v/include
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-05-10 18:47:52 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-05-10 18:47:52 +0000
commit7a735d2d1a5a1ad9741200f6328baacc73c68a11 (patch)
tree53c1c30bb2b8c8dfe7511d1c2ea6992b7f46ff64 /sys/sun4v/include
parent1ffc8e33a9f3d13611eeaec503fb75dfc3f4f826 (diff)
downloadsrc-7a735d2d1a5a1ad9741200f6328baacc73c68a11.tar.gz
src-7a735d2d1a5a1ad9741200f6328baacc73c68a11.zip
MFC: r207243
Add OF_getscsinitid(), a helper similar to OF_getetheraddr() but for obtaining the initiator ID to be used for SPI controllers from the Open Firmware device tree.
Notes
Notes: svn path=/stable/8/; revision=207863
Diffstat (limited to 'sys/sun4v/include')
-rw-r--r--sys/sun4v/include/ofw_machdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sun4v/include/ofw_machdep.h b/sys/sun4v/include/ofw_machdep.h
index 625b13137adc..658d9c7b0d25 100644
--- a/sys/sun4v/include/ofw_machdep.h
+++ b/sys/sun4v/include/ofw_machdep.h
@@ -36,6 +36,7 @@ typedef uint64_t cell_t;
int OF_decode_addr(phandle_t, int, int *, bus_addr_t *);
void OF_getetheraddr(device_t, u_char *);
+u_int OF_getscsinitid(device_t);
void cpu_shutdown(void *);
int ofw_entry(void *);
void ofw_exit(void *);