From owner-freebsd-current Sat Mar 20 6:16:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id 3D9C214DB8 for ; Sat, 20 Mar 1999 06:16:24 -0800 (PST) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.9.2/8.9.1) with ESMTP id HAA66474; Sat, 20 Mar 1999 07:14:19 -0700 (MST) (envelope-from gibbs@plutotech.com) Message-Id: <199903201414.HAA66474@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm Cc: Soren Schmidt , gibbs@plutotech.com (Justin T. Gibbs), current@FreeBSD.ORG Subject: Re: How to add a new bootdevice to the new boot code ??? In-reply-to: Your message of "Sat, 20 Mar 1999 20:53:02 +0800." <199903201253.UAA45807@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 20 Mar 1999 07:05:18 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I half suspect that what Justin had in mind at some point was a set of common >code that is either #ifdef'ed or otherwise preprocessed to produce a >standalone 'SCSI-CAM' system versus an 'ATA[PI]-CAM' system. This would >have the advantage of having all the common code together in one place and >shared, while at compile time it built two seperate subsystems that were >compiled specifically for the target peripheral bus with definitions to >suit each so that "translation" was never used. The plan has always been to migrate the SCSI knowledge in the XPT layer into a 'personality' module leaving the generic portions of the CAM XPT intact. The personalities would be compiled in using the "atapibus0" and "scbus0" keywords in config. I don't think it would be that hard, but it would require time I don't have right now. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message