> I think look-up tables are fine. It's not a fast path, is it?

Nope, that would be fine.  I'll definitely cut down on the code
duplication -- I'm just not sure what will end up being cleanest.  I
don't see that much difference between a switch and a look-up table
for finding the base DCR index for a particular port.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to