Re: cvs commit: src/sys/pci if_sis.c if_sisreg.h

From: Doug Rabson <dfr_at_nlsystems.com>
Date: 04 Sep 2003 10:06:32 +0100
On Thu, 2003-09-04 at 09:35, Poul-Henning Kamp wrote:
> In message <1062663414.86530.15.camel_at_herring.nlsystems.com>, Doug Rabson write
> s:
> 
> >For specific drivers, if they really want to change the device
> >description in attach (why not do it in probe like every other driver),
> 
> In the case of the sis driver, the "silicon revision register" is
> stored somewhere in BAR0, so I cannot examine it until the resources
> are allocated.
> 
> I know there are other drivers which could be similarly more detailed
> of the description were set in attach rather than probe.
> 
> I think postpoining the print to after attach might make sense.

I don't think that can happen for the reasons I just mentioned - drivers
which print stuff and drivers which create children.
Received on Thu Sep 04 2003 - 02:06:45 UTC