aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2004-04-04 12:52:22 +0000
committerThomas Moestl <tmm@FreeBSD.org>2004-04-04 12:52:22 +0000
commit6e7272f69d432b23e3db1d1a3867dcaec6520996 (patch)
treef79c4f6bab2b63a1e50ed3c576c28d23b2459cba /sys/sparc64
parente75dc792b76f24f73d4cffd030e78966ad8ff552 (diff)
downloadsrc-6e7272f69d432b23e3db1d1a3867dcaec6520996.tar.gz
src-6e7272f69d432b23e3db1d1a3867dcaec6520996.zip
- Use an ihandle_t to store the stdout instance handle instead of a
phandle_t. Since both are typedefed to unsigned int, this is more or less cosmetic. - Fix the code that determines whether a creator instance was used for firmware output (and should not be blanked on initialization). Since r1.2 of dev/fb/creator.c, this consisted comparing a handle of an instance of a package with a handle of the package itself. Use the test from r1.1, which utilizes OF_instance_to_package(). Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes
Notes: svn path=/head/; revision=127838
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/creator/creator_upa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/creator/creator_upa.c b/sys/sparc64/creator/creator_upa.c
index ee7384214587..255d70160211 100644
--- a/sys/sparc64/creator/creator_upa.c
+++ b/sys/sparc64/creator/creator_upa.c
@@ -158,7 +158,7 @@ creator_upa_attach(device_t dev)
struct upa_regs *reg;
video_switch_t *sw;
phandle_t chosen;
- phandle_t stdout;
+ ihandle_t stdout;
bus_addr_t phys;
bus_size_t size;
phandle_t node;