hi all there!

i am working on a specific dev driver for pci genlock
based on Cirrus Logic GD5446 chip.
when i try to map the cards memory, pci_map_mem return 0

my verbose boot message is:

found-> vendor=0x1013, dev=0x00b8, revid=0x45
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=12
        map[0]: type 3, range 32, base e4000000, size 25
        map[1]: type 1, range 32, base e6000000, size 12
strm0: <Stream Labs PCI Genlock on GD5446> rev 0x45 int a irq 12 on pci0.11.0

but map[0] is for Display Memory Base Address, but type = 3
it's not a PCI_MAPMEM type and
map[1] for card registers, but type = 1. it's PCI_MAPMEM type
HELP plz! what should i do?

i am working on 3.1
thanks.


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

Reply via email to