From owner-freebsd-hackers Thu Nov 5 13:56:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07894 for freebsd-hackers-outgoing; Thu, 5 Nov 1998 13:56:26 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from st-lcremean.tidalwave.net (host-e186.tidalwave.net [208.213.203.186] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA07854 for ; Thu, 5 Nov 1998 13:56:19 -0800 (PST) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from lee@localhost) by st-lcremean.tidalwave.net (8.9.1/8.8.8) id QAA01002 for hackers@freebsd.org; Thu, 5 Nov 1998 16:56:18 -0500 (EST) (envelope-from lee) Message-ID: <19981105165613.A955@tidalwave.net> Date: Thu, 5 Nov 1998 16:56:13 -0500 From: Lee Cremeans To: hackers@FreeBSD.ORG Subject: Coprocessor board--which I/O method should I use? Reply-To: lcremean@tidalwave.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-OS: FreeBSD 3.0-CURRENT X-Evil: microsoft.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm writing a device driver for a board we're de3veloping at work that does encryption and compression in hardware. This board is going to be used in embedded applications (it's a PCI board), like VPNs and firewalls, so it'll be handling a good amount of data. For something like this, what would be the best way to do I/O from userland to the card? I'm thinking character would do, but I'd appreciate other opinions, and also being told if I'm off-base. Also, I'd need to know which interrupt level (net, bio, tty, etc.) this thing should be in. PS: this card is just a processor board, it is not a network protocol controller. -- Lee Cremeans -- Manassas, VA, USA (WakkyMouse on DALnet and WTnet) A! JW223 YWD+++^ri P&B++ SL+++^i GDF B&M KK--i MD+++i P++ I++++ Did $++ E5/10/70/3c/73ac/95/96 H2 PonPippi Ay77 M | mailto:lcremean@tidalwave.net http://st-lcremean.tidalwave.net | Powered by FreeBSD 3.0-CURRENT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message