Backport i2c-ali1563.c from linux-2.6 to linux-2.4

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

 



Dear Rudolf, Jean, MDS, and Patrick

Do you have any suggestion to the ALI M1563 driver for linux-2.4 backported
by me? I have not gotten any response yet. :-(

I you do NOT have any suggestion, I'd like to send you the final version after
deleting some comments, and MDS to help us check it into lm_sensors CVS.

And I have one question about this driver for linux-2.4:
In the i2c-ali1563 driver for linux-2.4, it need "PCI_DEVICE_ID_AL_M1563"
in the following codes:
static struct pci_device_id ali1563_ids[] __devinitdata = {
        {
        .vendor =       PCI_VENDOR_ID_AL,
        .device =       PCI_DEVICE_ID_AL_M1563,
        .subvendor =    PCI_ANY_ID,
        .subdevice =    PCI_ANY_ID,
        },
        { 0, }
};

So I have to insert:
#define PCI_DEVICE_ID_AL_M1563          0x1563
into /usr/src/linux-2.4.22/include/linux/pci_ids.h
manually by myself, otherwise the compile will failed.

But I know that the file /usr/src/linux-2.4.22/include/linux/pci_ids.h
Should NOT be modified by me, who are in charge of this modification?

Thanks
Best Regards
Chunhao


> -----Original Message-----
> From: PI14 HUANG0
> Sent: 2005??3??27?? 17:34
> To: 'Jean Delvare'; 'Rudolf Marek'; mochel at digitalimplant.org;
> mds at mds.gotdns.com
> Cc: LM Sensors; PI14 DZSHEN; PI10 LHHsu; PI13 CFLi
> Subject: Backport i2c-ali1563.c from linux-2.6 to linux-2.4
> 
> Hi Rudolf, Jean, MDS, and Patrick
> 
> I finished the backport of i2c-ali1563.c, with the help of Rudolf and other
> members, it can work well on this motherboard ABit SU-2S with Ali M1563.
> 
> Do you have spare time to review my codes and give me some suggestion?
> I attached it in this mail, If you have the environment to test it, it will
> be too great!
> 
> I will delete some redundant comments and commit it to lm_sensors after
> your review.
> 
> Thanks
> Best Regards
> Chunhao
> 2005-3-27


===========================================================================================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