DragonFly kernel List (threaded) for 2009-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Defining device resources
:
:AFAICS there are functions to read devices resources in kern/subr_bus.c,
:but how these should be used? How I should set resources - ie I as user?
:
:--
:Hasso Tepper
Most device resources are auto-configured by the kernel. The
kernel reads the PCI configuration space to see how things
are mapped. The functions are there to allow the device driver to
access them.
Almost none of it is user-configurable. For example, changing how
a PCI device is mapped is very difficult because you might have to
run through several layers of bridge hardware to make sure the
address space actually gets to the target device.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]