In message <200009180220.TAA12263@h4.private> papo...@astart.com 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 majo...@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message