Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2003 03:21:22 +0900
From:      Norikatsu Shigemura <nork@ninth-nine.com>
To:        "toxa" <postfix@sendmail.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: CURRENT state of modules
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Dec 2003 20:39:49 +0300
"toxa" <postfix@sendmail.ru> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031214032122.2d0dfab1.nork>