w83792d_driver-1.0.1.patch: Winbond W83792D driver for linux-2.4 (patch to lm_sensors-2.9.0)

Huang0 at Winbond.com.tw Huang0 at Winbond.com.tw
Wed Mar 16 04:43:07 CET 2005


Yes, I can get the file you provided, but since I have started the modifications,
I will use the one from web CVS, after deleting the line numbers, it is same as
the one you provided, I compared them with "diff" :-)

I have one question here:
I add W83792D_ALARM_* into 792 driver like this:
(please refer to the data sheet)
#define W83792D_ALARM_IN0 0x0001
#define W83792D_ALARM_IN1 0x0002
#define W83792D_ALARM_TEMP1 0x0004
#define W83792D_ALARM_TEMP2 0x0008
#define W83792D_ALARM_TEMP3 0x0010
#define W83792D_ALARM_FAN1 0x0020
#define W83792D_ALARM_FAN2 0x0040
#define W83792D_ALARM_FAN3 0x0080
#define W83792D_ALARM_IN2 0x0100
#define W83792D_ALARM_IN3 0x0200
#define W83792D_ALARM_IN4 0x0400
#define W83792D_ALARM_IN5 0x0800
#define W83792D_ALARM_IN6 0x1000
#define W83792D_ALARM_CHAS 0x2000
#define W83792D_ALARM_FAN7 0x8000
#define W83792D_ALARM_IN7 0x80000
#define W83792D_ALARM_IN8 0x100000
#define W83792D_ALARM_FAN4 0x200000
#define W83792D_ALARM_FAN5 0x400000
#define W83792D_ALARM_FAN6 0x800000

Can I replace the last 6 items with ?
#define W83792D_ALARM_FAN7 0x4000
#define W83792D_ALARM_IN7 0x8000
#define W83792D_ALARM_IN8 0x10000
#define W83792D_ALARM_FAN4 0x20000
#define W83792D_ALARM_FAN5 0x40000
#define W83792D_ALARM_FAN6 0x80000

With one is better? The first one or the latter?
Are them same?

Best Regards


> -----Original Message-----
> From: Mark Studebaker [mailto:mds at mds.gotdns.com]
> Sent: 2005Äê3ÔÂ16ÈÕ 11:16
> To: PI14 HUANG0
> Cc: sensors at Stimpy.netroedge.com; PI10 LHHsu; PI14 DZSHEN
> Subject: Re: w83792d_driver-1.0.1.patch: Winbond W83792D driver for linux-2.4
> (patch to lm_sensors-2.9.0)
> you can get it without the line numbers here
> http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/kernel/chips/w83792d.c
> :) :) :)

===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repea!
 t the  English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.

More information about the lm-sensors mailing list