Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269618AbUJFW6G (ORCPT ); Wed, 6 Oct 2004 18:58:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269531AbUJFWzJ (ORCPT ); Wed, 6 Oct 2004 18:55:09 -0400 Received: from chaos.analogic.com ([204.178.40.224]:10118 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id S269593AbUJFWwE (ORCPT ); Wed, 6 Oct 2004 18:52:04 -0400 Date: Wed, 6 Oct 2004 18:51:49 -0400 (EDT) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Alan Kilian cc: linux-kernel@vger.kernel.org Subject: Re: Driver access ito PCI card memory space question. In-Reply-To: <200410062020.i96KKPN13520@raceme.attbi.com> Message-ID: References: <200410062020.i96KKPN13520@raceme.attbi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 35 On Wed, 6 Oct 2004, Alan Kilian wrote: > > > Folks, > > I'm not sure how to access the memory spaces on my PCI card. > > I do > > From /var/log/messages: > > SSE: Start of card attachment. > SSE: Found a DeCypher card, interrupting on line 3 > SSE: Bar0 From 0xfeaff000 to 0xfeafffff F=0x200 MEMORY space > SSE: Bar1 From 0xfeafc000 to 0xfeafdfff F=0x200 MEMORY space > SSE: Bar2 From 0xfe000000 to 0xfe7fffff F=0x200 MEMORY space > > My driver detects the card, and asks about the memory areas. > Please look at a driver module that uses PCI. There are plenty in the kernel. Cheers, Dick Johnson Penguin : Linux version 2.6.5-1.358-noreg on an i686 machine (5537.79 BogoMips). Note 96.31% of all statistics are fiction. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/