In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
: I am making a driver for a VERY old PCI device.
: >     digic->digic_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
: >                                         &digic->digic_mem_rid,
: >                                         0, ~0, 256, RF_ACTIVE|RF_SHAREABLE);

: Could this be the problem?

Where do you initialize digic_mem_rid?  You should set this equal to
the BAR offset in the PCI config space that corresponds to this
memory.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to