From owner-freebsd-current@FreeBSD.ORG Sat Dec 13 10:28:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E134116A4CE for ; Sat, 13 Dec 2003 10:28:46 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5CC43D5A for ; Sat, 13 Dec 2003 10:21:24 -0800 (PST) (envelope-from nork@ninth-nine.com) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id hBDILMjC022841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Dec 2003 03:21:23 +0900 (JST) (envelope-from nork@ninth-nine.com) Date: Sun, 14 Dec 2003 03:21:22 +0900 From: Norikatsu Shigemura To: "toxa" Message-Id: <20031214032122.2d0dfab1.nork@ninth-nine.com> In-Reply-To: <000f01c3c1a0$1c0b3310$0202a8c0@karputer> References: <200312121910.14245.postfix@sendmail.ru> <20031212.124333.73362266.imp@bsdimp.com> <20031214011007.3400fe79.nork@ninth-nine.com> <001e01c3c19a$ac1b9900$0202a8c0@karputer> <20031214022203.2cb9a232.nork@ninth-nine.com> <000f01c3c1a0$1c0b3310$0202a8c0@karputer> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: CURRENT state of modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2003 18:28:47 -0000 On Sat, 13 Dec 2003 20:39:49 +0300 "toxa" wrote: > > 1. usb module has uhci and ochi drivers (and usb bus driver). > > You cannot use *only* uhci or ochi with usb module. So > > uhci_load="YES" or ohci_load="YES" is not available. > > 2. device usb is USB Bus driver. device uhci and ochi is > > required device usb (USB Bus driver). > > ugen -+ +- uhci (Universal Host Controller Interface) > > | | > > +--- usb ---+ > > | | > > umas -+ +- ohci (Open Host Controller Intereface) > So if I understand you properly, I can load usb as module without having > device uhci or device ohci in kernel at all, and 'device ohci/uhci', when > included in the kernel, require 'device usb' in the kernel too because of > required usb bus which is in 'device usb'? > Am I right? Yes. You can select one of following selection. 1. to use usb module. echo 'usb_load="YES"' >> /boot/loader.conf.local Remove 'device usb' / 'device uhci' / 'device ohci' from your kernel configuration. 2. to use device usb. Don't echo 'usb_load="YES"' >> /boot/loader.conf.local Add 'device usb' and ('device uhci' or/and 'device ohci') to your kernel configuration.