Re: [PATCH]gx-suspmod.c use boot_cpu_data instead of current_cpu_data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hiroshi Miura
Date: Thursday, July 26, 2007 - 12:55 am

2007/7/25, Andrew Morton <akpm@linux-foundation.org>:

I think we can  remove these part. It checks chipset 's pci id
(vendor id/device id) after this part as follows;

        /* detect which companion chip is used */
        while ((gx_pci = pci_get_device(PCI_ANY_ID, PCI_ANY_ID,
gx_pci)) != NULL) {
                if ((pci_match_id(gx_chipset_tbl, gx_pci)) != NULL)
                        return gx_pci;
        }

It drives cpu frequency  through chipset register, not CPU regsiter.
It may be enough to check chipset pci id.

Hiroshi

-- 
HIroshi Miura
NTT DATA Corp. and IPA OSS center
miura@da-cha.org
(株)NTTデータ /(独)情報処理推進機構
三浦広志
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH]gx-suspmod.c use boot_cpu_data instead of curre ..., Hiroshi Miura, (Thu Jul 26, 12:55 am)