Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 21:55:12 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        ticso@cicely.de
Subject:   Re: How to get a device_t
Message-ID:  <20030808195511.GD46866@cicely12.cicely.de>
In-Reply-To: <XFMail.20030808154822.jhb@FreeBSD.org>
References:  <20030808190902.GC46866@cicely12.cicely.de> <XFMail.20030808154822.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 08, 2003 at 03:48:22PM -0400, John Baldwin wrote:
> 
> On 08-Aug-2003 Bernd Walter wrote:
> > On Fri, Aug 08, 2003 at 02:27:30PM -0400, John Baldwin wrote:
> >> Well, that would be a major pain on current since nexus is already
> >> finished attaching many of its drivers by the time it gets to here.
> >> Also, if you use ACPI and if ACPI exists, then this function _won't_
> >> _ever_ _be_ _called_.  If you use a hostb PCI driver, then it will
> >> work both for ACPI and legacy.
> > 
> > I agree with this point and if I understood correct this is what
> > John Birrel already had done.
> 
> No, he is still working in the nexus/pcib driver's identify routine,
> not in a separate 'hostb' PCI driver.
> 
> > However - I would still like to know why
> > device_add_child(nexus, "elanbb", -1);
> > results in an elanbb instance numer 1 connected to pci0.
> > And why I don't get any iicbb childs.
> 
> I would have to see your code changes in order to try to tell you that.

http://www.cosmo-project.de/~bernd/elanbb.diff

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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