On Tue, 2007-08-14 at 11:12 -0700, Artem Kachitchkine wrote:
> > To have "qfe" devices properly represented by the "qfe" driver, while
> > allowing for "hme" devices to be seen by the "hme" driver, we need some
> > code.  The only differences between these two devices are:
> > 
> >     1) qfe has a specific parent PCI bridge
> >     2) different Fcode
> > 
> > The point is that admins don't want to rename the devices for qfe to
> > hme, because it will cause major conversion headaches.  And on x86, it
> > would be "nice" if qfe devices were still qfe (as they are on sparc)
> > rather than being known by "hme" in the x86 hardware.
> 
> Both examples sound too special to warrant for any change in the core 
> kernel, imho. I think if any quirks need to be implemented, they should 
> be confined within the driver modules. At least when devices EOL, the 
> ugliness goes away with the drivers; if you let ugliness into the DDI, 
> it's forever.

There is no way to do this in the driver.

By the time the driver is engaged, its too late, the name and bindings
are chosen.  You need to be able to change the bindings/names earlier.

        -- Garrett
> 
> -Artem
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to