From owner-freebsd-mobile Mon Mar 29 5:26:52 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by hub.freebsd.org (Postfix) with ESMTP id 7BDBF15808 for ; Mon, 29 Mar 1999 05:26:49 -0800 (PST) (envelope-from furuta@sra.co.jp) Received: from ext105.sra.co.jp (ext105 [133.137.20.200]) by sraigw.sra.co.jp (8.8.7/3.6Wbeta7-sraigw) with SMTP id WAA26912 for ; Mon, 29 Mar 1999 22:26:28 +0900 (JST) Received: by ext105.sra.co.jp; id AA23126; Mon, 29 Mar 1999 22:26:27 +0900 To: hosokawa@ntc.keio.ac.jp Cc: freebsd-mobile@freebsd.org Subject: Re: Which LAN PCCARD for FreeBSD (no PAO!) In-Reply-To: Your message of "Mon, 29 Mar 1999 10:21:42 +0900 (JST)" <199903290121.KAA06196@afs.ntc.mita.keio.ac.jp> References: <199903290121.KAA06196@afs.ntc.mita.keio.ac.jp> X-Mailer: Mew version 1.92.4 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990329222627V.furuta@sra.co.jp> Date: Mon, 29 Mar 1999 22:26:27 +0900 From: Atsushi Furuta X-Dispatcher: imput version 980905(IM100) Lines: 44 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> In article <199903290121.KAA06196@afs.ntc.mita.keio.ac.jp>, hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) writes: > At least, *I* haven't moved to newconfig and neutral about it. I > agree that new bus architecture is disired. But I have little > knowledge about the technical differences between newconfig and > new-bus. Somebody can explain it briefly? I am one of developers of newconfig, so I can not fairly evaluate difference between newconfig and new-bus. Instead of it, please let me explain why we are developing newconfig. Newconfig was derived from an opinion that there were not enough framework of device configuration in FreeBSD (at least in those days). We decided that we don't do temporary workarounds, and should reform basis of the devices. There were some people (including me) who ports drivers from NetBSD to FreeBSD for PAO. They were aware of elegant device framework of NetBSD, so we tried to port it to FreeBSD. After we began the project, we were notified another framework "new-bus". Then we discussed which we should change to new-bus or not. We decided not to adopt new-bus. (If you can read Japanese, you can read the discussion archive http://www.jp.freebsd.org/mail-list/newconfig-jp/199806-month.html ) The reasons (which I understand) are: * We already have a framework "subr_autoconf.c". It is not needed to invent new wheel. * new-bus does not provide to "priority probe" feature. * new-bus remains old config(8) and old bus such as ISA. What we need is the reformation of them, so we can not adopt it. * There is no framework to separate bus-dependent part of a driver from bus-independent part in new-bus, but newconfig has. Many PC-card driver shares core code from another buses, so we reuqire such a framework. * new-bus scatters device tree structure informations into each driver codes. Aproach to center the informations is better than scatter it. (Please imagine "LINT" file informations are scattered to each driver.) -- furuta@sra.co.jp (Atsushi Furuta) Advanced Technology Group. Software Research Associates, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message