From f24d73e83b7f98e054072200103daaafca031ad6 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 30 Aug 2003 08:33:48 +0000 Subject: [PATCH] Clarified the conversion policy after John Morris' question. Original text by Mark M. Hoffman. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1980 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/developers/new_drivers | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/developers/new_drivers b/doc/developers/new_drivers index 43d0a030..34307a8f 100644 --- a/doc/developers/new_drivers +++ b/doc/developers/new_drivers @@ -38,9 +38,11 @@ If you wish to write a driver for 2.5 only, email us for information. Usually, we make all prefixes start with the driver name. This is not really necessary, as these symbols will not be exported anyway. But by doing this, you are sure you do not shadow any global kernel names. - Remember that you want to output the direct measurements done by the - chip. If these sensor values need scaling, this should be done through - the configuration file. + +* A quick note about conversions. The conversions which are specified + in the sensor chip datasheet and which *cannot* vary from one board to + the next are performed by the driver. If other conversions are + necessary, they are performed in user-space. * Meet Kernel coding standards. See Documentation/CodingStyle in the kernel source.