From owner-freebsd-questions Wed Feb 22 09:18:51 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA22440 for questions-outgoing; Wed, 22 Feb 1995 09:18:51 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id JAA22418 for ; Wed, 22 Feb 1995 09:18:27 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA24001; Wed, 22 Feb 95 10:12:00 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9502221712.AA24001@cs.weber.edu> Subject: Re: Writing Device Drivers in FreeBSD 2.0 To: licau@ebs08.eb.uah.edu (Luis Verissimo) Date: Wed, 22 Feb 95 10:11:59 MST Cc: questions@FreeBSD.org In-Reply-To: from "Luis Verissimo" at Feb 21, 95 10:21:22 pm X-Mailer: ELM [version 2.4dev PL52] Sender: questions-owner@FreeBSD.org Precedence: bulk > One of the assignments in this class is to write a Device Driver, which > will be a SCSI controller. > > Can someone tell me if install the device driver in the kernel in FreeBSD > 2.0 without having to recompile the kernel? I know that you don't need > to do that in Solaris. Yes and no. If the SCSI device is going to be the boot device, you MUST link it into the kernel. If it's not a boot device, you can load it as a kernel module -- there is a large amount of kernel module sample code thanks mainly to Garrett. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.