> Yes, but it does happen. > > Other FOSS' do this by allowing their probe(9e) equivalent routine to > "fail" and another driver to try the same node. > > I think being able to change the device node name, via "probe" or some > other mechanism, would be more elegant.
This is quite different from what you suggested initially (driver renaming its own node) and something I think could be a viable design. Resembles the way allow multiple drivers to register for the same interrupt line and then ask them sequentially to "claim" each interrupt. We could allow multiple drivers to be associated with a compatible name and try to attach them one by one. In case of "not identified", attach(9e) would return something other than generic DDI_FAILURE. Might be worth exploring this direction. -Artem _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
