[vox-tech] appropriate variable size in driver
Eric Nelson
vox-tech@lists.lugod.org
Wed, 11 Sep 2002 19:44:04 -0700
I am porting a driver from an 8 bit processer to a linux driver. Many=20
counters and other variables are unsigned char, because they don't=20
get big, do it works, kind of the embedded thing to do - keep small. =20
The target is a 32 bit geode. It seems like I should generalize=20
these variables to 16 bit or 32 bit. What works better? What is=20
more 'appropriate'. It seems kind of old fashioned to leave them at=20
8 bit.