From owner-freebsd-questions Sun Jul 11 20: 2:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 6B43714F2A; Sun, 11 Jul 1999 20:02:22 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA03771; Mon, 12 Jul 1999 12:28:59 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA28745; Mon, 12 Jul 1999 12:28:58 +0930 (CST) Date: Mon, 12 Jul 1999 12:28:58 +0930 From: Greg Lehey To: Anthony Wyatt Cc: FreeBSD Hackers Subject: Re: Kernel Drivers Message-ID: <19990712122858.A21403@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Wyatt, Anthony on Mon, Jul 12, 1999 at 12:44:18PM +1000 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [redirecting to -hackers] On Monday, 12 July 1999 at 12:44:18 +1000, Anthony Wyatt wrote: > Hi, > I really don't know where to post this message, so if there is a better > place please let me know. Well, to quote the frequent posting to this newsgroup, If the question is of a general nature, ... ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. I think this qualifies as one of the last two, so -hackers is the place. > I want to write a driver for my video card, not for X, for my own home > grown app :-) > > I've just read Chap 5 of the Magic Garden Explained (SysVR4 Internals) so > I have some idea whats expected when writing a device driver. As you say, the Magic Garden is for System V. BSD is a little different, though not too much. > I've also read the technical programming doco for my video card. > The big hole in my plan is PCI. I don't know how to talk to my > video card on the PCI bus :-( > > So I guess my questions are: > Should I try and find out more about basic driver programming, > specifically freeBSD, Yes. > and if so where? UTSL. And -hackers. There's some stuff in section 9 of the manual, but it's not quite the level of completeness you'd find in the ddi/ddk docco. > Where can I find out about programming PCI devices? UTSL. And -hackers. In particular, the PCI drivers are in /usr/src/sys/pci. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message