From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Date: Sat, 03 Jan 2004 01:03:20 +0000 Subject: Re: PCI config space Message-Id: <20040103010320.97106.qmail@web14911.mail.yahoo.com> List-Id: References: <20040102215557.97085.qmail@web14907.mail.yahoo.com> In-Reply-To: <20040102215557.97085.qmail@web14907.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org That's real simple. I was trying to find a more complicated, harder solution. I need the PCI space for the VM86 emulation of the VBIOS calls. Is libsysfs going to be part of klibc? I can link it in statically for now. And I should use something like execl (seems to be in klibc) to call udev to query for it's directory and my path? --- Greg KH wrote: > On Fri, Jan 02, 2004 at 01:55:57PM -0800, Jon Smirl wrote: > > Is there a standard API for read/write of PCI config space using sysfs? > > Open the "config" file and read and write the offset that you want to > read/write. > > Does that not work for you? > > greg k-h ==Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel