Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 14:49:22 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Alexey Dokuchaev <danfe@inet.ssc.nsu.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Some PCI-related programming things 
Message-ID:  <200103212249.f2LMnNh02785@mass.dis.org>
In-Reply-To: Your message of "Wed, 21 Mar 2001 15:25:34 %2B0600." <Pine.LNX.4.10.10103211522410.16182-100000@inet.ssc.nsu.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Because dinking with PCI configuration space is usually the wrong thing 
> > to do from userland.
> 
> So what about pciconf(8)?

It's a special case.

> > > This code is used, actually, in char device driver.
> > 
> > Mm, so what's it doing in userspace? 8)
> 
> Did I say I'm doing it from userspace?!  If I did (too lazy to dig into
> sent-mail), I beg your pardon :)

Your FreeBSD sample involved making an ioctl call, so it must have been 
from userspace.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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?200103212249.f2LMnNh02785>