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

Doug Rabson dfr at nlsystems.com
Thu Sep 4 02:06:45 PDT 2003


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.




More information about the cvs-src mailing list