From owner-freebsd-hackers Tue Mar 20 21:32:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id C0AAC37B71E for ; Tue, 20 Mar 2001 21:32:09 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2L30rO00891; Tue, 20 Mar 2001 19:00:58 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103210300.f2L30rO00891@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Alexey Dokuchaev Cc: freebsd-hackers@FreeBSD.org Subject: Re: Some PCI-related programming things In-reply-to: Your message of "Mon, 19 Mar 2001 16:23:35 +0600." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Mar 2001 19:00:53 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Under linux, PCI stuff is generally done thru set of pci* functions, while > > > under FreeBSD there are ioctls provided by pci driver. I've been doing > > > some code migration from linux to FreeBSD, and got thru most of it, except > > > for things like this one: > > > > You are probably doing something very wrong here, but rather than try to > > convince you to do it, right, I'll just answer your question. 8) > > Hey, that's not fair :-) I'd like to know how to do things the rigth way. You'll need to tell us what it is that you're actually doing, then, since it's hard to guess from a tiny snippet like that. 8) -- ... 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