On Sun, Oct 07, 2007 at 05:05:57PM -0400, Robinson Tryon wrote:
On 10/7/07, Peter Stuge peter@stuge.se wrote:
On Sun, Oct 07, 2007 at 12:05:05AM +0200, Uwe Hermann wrote:
Is there some way that we can factor out these common data?
No, I don't think that's practicable.
Depends on how much values would be duplicate I think.
For the smsc superios I've just been working on
- the keyboard and COM1 registers are practically all the same
- I think that Parallel Port was all the same, too
- COM2 is almost always the same (the first register is sometimes
0x00, sometimes NANA... so practically we might actually consider these the same).
Nope, I really wouldn't do that. Don't bother with factoring out here, way too much hassle and #ifdef-hell for no real gain.
Uwe.