From owner-freebsd-questions Mon Apr 1 18:40:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web12505.mail.yahoo.com (web12505.mail.yahoo.com [216.136.173.197]) by hub.freebsd.org (Postfix) with SMTP id 7035B37B405 for ; Mon, 1 Apr 2002 18:40:12 -0800 (PST) Message-ID: <20020402024012.86710.qmail@web12505.mail.yahoo.com> Received: from [216.69.69.196] by web12505.mail.yahoo.com via HTTP; Mon, 01 Apr 2002 18:40:12 PST Date: Mon, 1 Apr 2002 18:40:12 -0800 (PST) From: Anuranjan Shukla Subject: dma mastering device To: questions@freebsd.org Cc: anuranjan@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I've written a driver for a wireless networking device on freeBSD 4.3. the device is a pci, DMA Bus Matering one memory mapped to the host. I create a transmit descriptor queue using contigmalloc (PAGE_SIZE) and the give the "vtophys" of the descriptor pointer to the relevant register on the device. But it looks like it's sending something else altogether. the device output doesn't change even if I change the contents of the descriptor , which makes me feel that there's a problem with memory access by the device. Apart from the it works ok (interrupt handler etc are giving no trouble). can anyone point out where I should look (which part of the kernel code ) to resolve this? Any help will be greatly appreciated! Anu __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message