ichwd for ICH8
Mike Tancsa
mike at sentex.net
Fri Aug 10 12:36:09 PDT 2007
At 02:55 PM 8/10/2007, John Baldwin wrote:
>Don't use ~0ul for the end address, but use the real one. However, the
>resource management in this driver is all wrong. What it should be doing, is
>to identify as a child of 'isab' and create a child device of 'isab'. It
>should then allocate the appropriate BAR from the 'isab' device (the isab
>driver can "proxy" alloc_resource requests from direct children to its bars
>just like the vgapci(4) device) and use that single BAR resource for I/O.
>However, just fixing the end address to be appropriate should fix the driver
>for now.
Hi,
Apart from the FreeBSD Architecture Handbook, are there any other
resources you can point to that will help me better understand
FreeBSD and PCI drivers ? I am trying to make a watchdog driver for
http://wwwd.amd.com/support/PCSGtech.nsf/FAQTablookup/FAQ.49?OpenDocument
as a learning exercise and am trying to understand how to get
"The base address of the MFGPT hardware is typically located in PCI
configuration space at 80007818h. This is Bus 0h, Device Fh, Function
0h, Offset 18h."
from FreeBSD. I have the Linux driver as an example as well. I was
using the ichwd as a template, but if thats the "wrong way of doing
it", I will look elsewhere :)
---Mike
More information about the freebsd-acpi
mailing list