I2C_ALGO_MAX
I2C_ALGO_MAX, defined in i2c.h, doesn't seem to be used anywhere. Same for I2C_DUMMY_MAX. Should we simply remove them?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
Quoted 3 lines
I2C_ALGO_MAX, defined ini2c.h, doesn't seem to be used anywhere. Same forI2C_DUMMY_MAX. Should we simply remove them?agreed. apparently these aren't registered in a static table like drivers are.
Done.
Quoted 3 lines
BTW if we want to make things better for the foolish people that want to compile-in every driver we should increase the other
xxx_MAXdefines.
Compiling all sensor chip drivers into the kernel is BAD. Do we want to help people doing a BAD thing?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
Quoted 4 lines
Compiling all sensor chip drivers into the kernel is BAD. Do we want to help people doing a BAD thing?
I think that's what Greg was advocating...
Yes, I understood that... Still I don't think people will do that. Either they know which chipset that have, and compile only this driver in, or they don't know and want to have all modules handy for sensors-detect to work correctly.
It's great that one can build many drivers into the kernel at once, but since the tables we are talking about are static, increasing the limits is likely to be a waste of memory space for 99% of the users, and can (and should) be easily avoided for the 1% left.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
agreed. apparently these aren't registered in a static table like drivers are.
BTW if we want to make things better for the foolish people that want to compile-in every driver we should increase the other xxx_MAX defines.
Quoted 3 lines · Jean Delvare
I2C_ALGO_MAX, defined ini2c.h, doesn't seem to be used anywhere. Same forI2C_DUMMY_MAX. Should we simply remove them?
Quoted 10 lines · Jean Delvare
Quoted 5 lines
Quoted 2 lines
I2C_ALGO_MAX, defined ini2c.h, doesn't seem to be used anywhere. Same forI2C_DUMMY_MAX. Should we simply remove them?agreed. apparently these aren't registered in a static table like drivers are.
Done.
Quoted 8 lines
Quoted 3 lines
BTW if we want to make things better for the foolish people that want to compile-in every driver we should increase the other
xxx_MAXdefines.Compiling all sensor chip drivers into the kernel is BAD. Do we want to help people doing a BAD thing?
I think that's what Greg was advocating...
Quoted 18 lines · Mark D. Studebaker
Quoted 15 lines · Jean Delvare
Quoted 5 lines
Quoted 2 lines
I2C_ALGO_MAX, defined ini2c.h, doesn't seem to be used anywhere. Same forI2C_DUMMY_MAX. Should we simply remove them?agreed. apparently these aren't registered in a static table like drivers are.
Done.
Quoted 3 lines
BTW if we want to make things better for the foolish people that want to compile-in every driver we should increase the other
xxx_MAXdefines.
Quoted 5 lines
Quoted 3 lines
Compiling all sensor chip drivers into the kernel is BAD. Do we want to help people doing a BAD thing?
I think that's what Greg was advocating...
I was? Hm, don't remember that, I was trying to fix a real problem that some users had, which was solved by the link order change.
But how about removing the static arrays all together. That's what 2.6 has :)
thanks,
greg k-h
Quoted 7 lines
Quoted 1 line
I think that's what Greg was advocating...
I was? Hm, don't remember that, I was trying to fix a real problem that some users had, which was solved by the link order change.
But how about removing the static arrays all together. That's what 2.6 has :)
And that's why 2.6 will be used by everyone someday, while 2.4 will be forgotten. That's too much change for 2.4/CVS IMHO.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/