From owner-freebsd-hackers Tue Aug 4 21:39:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA06895 for freebsd-hackers-outgoing; Tue, 4 Aug 1998 21:39:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles85.castles.com [208.214.165.85]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06890 for ; Tue, 4 Aug 1998 21:39:26 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id VAA00535; Tue, 4 Aug 1998 21:38:06 -0700 (PDT) Message-Id: <199808050438.VAA00535@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Iani Brankov" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Want to write support for PCI variant of the arc0 driver. Help with info :) In-reply-to: Your message of "Wed, 05 Aug 1998 00:27:34 +0300." <000301bdbfee$b3140fc0$17b448c0@ian.oksys.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Aug 1998 21:38:05 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > we've bought a Digiboard 570 pci sync card, which isn't supported > by FreeBSD. There's support for the ISA variant only. > > The PCI card is almost the same and I'll try to write a pci > routines to detect and attach the pci card to the existing ISA > driver. (as i see it runs the same way). > > I need some information. Can I find some documentation > how to write a driver (pci, isa) for FreeBSD. Your best bet is to look at another driver that behaves like this (eg. if_ed_p). The code is really quite simple. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message