atom feed4 messages in org.freebsd.freebsd-hackersRe: Device driver, memory map failing...
FromSent OnAttachments
papo...@astart.comSep 17, 2000 7:20 pm 
Warner LoshSep 17, 2000 8:01 pm 
papo...@astart.comSep 19, 2000 7:01 am 
Mike SmithSep 19, 2000 10:35 pm 
Subject:Re: Device driver, memory map failing, and it is probably obvious
From:Warner Losh (im@village.org)
Date:Sep 17, 2000 8:01:22 pm
List:org.freebsd.freebsd-hackers

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