Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 12:50:23 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Paul Richards <paul@freebsd-services.co.uk>
Cc:        Ian Dowse <iedowse@maths.tcd.ie>, "Alexander N. Kabaev" <kabaev@mail.ru>, Paul Richards <paul@originative.co.uk>, Makoto MATSUSHITA <matusita@jp.FreeBSD.org>, current@FreeBSD.ORG
Subject:   Re: Fw: Stop annoying message of lnc 
Message-ID:  <200103182050.f2IKoNL01012@mass.dis.org>
In-Reply-To: Your message of "Sun, 18 Mar 2001 19:25:25 GMT." <3AB50BA5.1A69AD72@freebsd-services.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Ian Dowse wrote:
> > 
> > In message <200103180515.f2I5F9U05398@mass.dis.org>, Mike Smith writes:
> > >
> > >I don't quite understand Paul's reasoning, though; it's not actually
> > >useful to unload/reload parts of a device's bus attachment without
> > >unloading/reloading all the downstream parts of the driver.
> 
> What do you mean by the downstream parts of the driver?

1 nexus
    |
2 PCI bus
    |
3 PCI interface of driver
    |
4 driver core

It makes limited sense, with this structure, to unload just #3.  What 
you're trying to do is take a specialised development hack and wedge it 
into the production version of the driver.  Don't do that. 8)

> We're not there yet, but I can see a time where we would want to
> load/unload the probe functions as we do hardware probing and then only
> pull in the rest of the driver when we associate that driver to the
> device.

We've already been down this path.  Given the size of our device drivers, 
it's a very false economy.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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