From owner-freebsd-questions Fri Mar 20 10:16:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17720 for freebsd-questions-outgoing; Fri, 20 Mar 1998 10:16:13 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from multi36.netcomi.com (root@multi36.netcomi.com [204.58.155.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17682 for ; Fri, 20 Mar 1998 10:16:02 -0800 (PST) (envelope-from dsetia@hotmail.com) Received: from hotmail.com (sjx-ca81-22.ix.netcom.com [207.94.112.54]) by multi36.netcomi.com (8.8.7/8.7.3) with ESMTP id MAA00845 for ; Fri, 20 Mar 1998 12:15:18 -0600 Message-ID: <3512B305.EAC0C52A@hotmail.com> Date: Fri, 20 Mar 1998 10:18:45 -0800 From: Deepinder Setia Reply-To: dsetia@hotmail.com Organization: Netscalar X-Mailer: Mozilla 4.04 [en] (Win95; U) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: user level driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to write a user level driver for a PCI device. Is that possible? The device will not generate interrupts. Can I do the following from user land?: 1) probe pci devices configured so I can detect if mine is installed? 2) Allocate contiguous memory, lock it and get its physical address so I can pass it to controller for DMA? 3) Perform IO operations on device registers. Thanks. Deepinder. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message