Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 21:13:48 +0800
From:      dmitry@www.asbaikaltv.ru
To:        hackers@freebsd.org
Subject:   pci_map_mem return 0
Message-ID:  <200001261313.VAA00802@www.asbaikaltv.ru>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001261313.VAA00802>