Bug 112477 - [ofw] [patch] Add support to set the node and type on a device on an ofw_bus bus
Summary: [ofw] [patch] Add support to set the node and type on a device on an ofw_bus bus
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marius Strobl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 10:30 UTC by Andrew Turner
Modified: 2017-08-26 03:38 UTC (History)
2 users (show)

See Also:


Attachments
freebsd-ofw-bus.diff (5.11 KB, patch)
2007-05-07 10:30 UTC, Andrew Turner
no flags Details | Diff
freebsd-ofw-bus-2.diff (1.40 KB, patch)
2007-05-23 10:13 UTC, Andrew Turner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Turner 2007-05-07 10:30:05 UTC
	The attached patch adds the ability to set the Openfirmware node and device type on a bus. This will be used by the PowerPC nexus bus to replace nexus_set_device_type and nexus_set_node.

	This patch has been tested on a PowerPC G4 with a patch to call this rather than the nexus_* calls.
Comment 1 Marius Strobl freebsd_committer freebsd_triage 2007-05-13 15:40:42 UTC
Responsible Changed
From-To: freebsd-bugs->marius


Grab as the author of the ofw_bus subroutines.
Comment 2 Andrew Turner 2007-05-23 10:13:48 UTC
The attached patch is a replacement for the ofw_bus_subr.c parts of the
first patch. It replaces the union with the __DECONST macro.

Andrew