The dependence of NIC on DDF hampers its genericity. It prevents: - multiport adapters (unless special support is added in NIC framework) - mixed-type deviced - non-DDF NICs (e.g. loopback) and besides it goes against the principle that services provided by a driver (and thus frameworks built to facilitate implementing those) should be independent of the driver implementation (including, but not limited to, wheter its DDF or non-DDF).
I agree with you on the principal level. But still I believe that it is not very wise to introduce new duplicated boilerplate code in the drivers where the previous implementation tried to eliminate it.
One solution to this might be to have, besides the independent DDF framework and NIC framework, a special DDF/NIC combined framework which would be used to implement NIC drivers using DDF ..
M.D. _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
