From owner-freebsd-hackers Wed Jan 26 5:14:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from www.asbaikaltv.ru (www.asbaikaltv.ru [195.239.202.100]) by hub.freebsd.org (Postfix) with ESMTP id EB84214CD0 for ; Wed, 26 Jan 2000 05:14:33 -0800 (PST) (envelope-from dmitry@www.asbaikaltv.ru) Received: (from dmitry@localhost) by www.asbaikaltv.ru (8.9.1/8.9.1) id VAA00802 for hackers@freebsd.org; Wed, 26 Jan 2000 21:13:48 +0800 Date: Wed, 26 Jan 2000 21:13:48 +0800 From: dmitry@www.asbaikaltv.ru Message-Id: <200001261313.VAA00802@www.asbaikaltv.ru> To: hackers@freebsd.org Subject: pci_map_mem return 0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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