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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi MDS

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?


Thanks
Best Regards

Chunhao

> -----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??.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux