Messages in this thread | | | From | Benjamin Herrenschmidt <> | Subject | Re: [RFC] New Driver Model for 2.5 | Date | Thu, 25 Oct 2001 10:03:42 +0200 |
| |
> >I don't think it is a big problem. We can add virtual nodes. They way I >see it we either > a) put in grungy subsystem hacks > b) register virtual device nodes for subsystems when needed > >b feels cleaner
Ok, provided that there is not one big "SCSI subsystem" virtual node, that would screw up the entire dep. hierarchy, but rather virtual nodes created by SCSI "clients" on the fly as childs of their devices. That looks fine to me ;)
An example would be:
* SCSI host | | * SCSI disk device | | * "sd" node
In this case, "sg" could add itself when opened, and eventually cause sleep requests to be rejected for example.
Well, in fact, I don't think there is real need for the "SCSI disk device" node, but that depends pretty much on the new SCSI architecture.
Ben.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |