diff options
author | Olof Johansson <olof@lixom.net> | 2007-11-04 21:57:45 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2007-11-29 23:30:47 -0500 |
commit | 0d08a84770cb03aea24268e515342d44df8ea588 (patch) | |
tree | 91709fffba8ef377b6bada9f911e7e39f48cb649 /drivers | |
parent | 2dd3c0016090543e12aa0c5aee574ded6a88b886 (diff) |
[POWERPC] pasemi: Broaden specific references to 1682M
There will be more product numbers in the future than just PA6T-1682M,
but they will share much of the features. Remove some of the explicit
references and compatibility checks with 1682M, and replace most of them
with the more generic term "PWRficient".
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Doug Thompson <dougthompson@xmission.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hw_random/Kconfig | 2 | ||||
-rw-r--r-- | drivers/char/hw_random/pasemi-rng.c | 7 | ||||
-rw-r--r-- | drivers/edac/pasemi_edac.c | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 2d7cd486e025..6bbd4fa50f3b 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig | |||
@@ -98,7 +98,7 @@ config HW_RANDOM_PASEMI | |||
98 | default HW_RANDOM | 98 | default HW_RANDOM |
99 | ---help--- | 99 | ---help--- |
100 | This driver provides kernel-side support for the Random Number | 100 | This driver provides kernel-side support for the Random Number |
101 | Generator hardware found on PA6T-1682M processor. | 101 | Generator hardware found on PA Semi PWRficient SoCs. |
102 | 102 | ||
103 | To compile this driver as a module, choose M here: the | 103 | To compile this driver as a module, choose M here: the |
104 | module will be called pasemi-rng. | 104 | module will be called pasemi-rng. |
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index fa6040b6c8f2..24ae3073991f 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c | |||
@@ -126,10 +126,9 @@ static int __devexit rng_remove(struct of_device *dev) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | static struct of_device_id rng_match[] = { | 128 | static struct of_device_id rng_match[] = { |
129 | { | 129 | { .compatible = "1682m-rng", }, |
130 | .compatible = "1682m-rng", | 130 | { .compatible = "pasemi,pwrficient-rng", }, |
131 | }, | 131 | { }, |
132 | {}, | ||
133 | }; | 132 | }; |
134 | 133 | ||
135 | static struct of_platform_driver rng_driver = { | 134 | static struct of_platform_driver rng_driver = { |
diff --git a/drivers/edac/pasemi_edac.c b/drivers/edac/pasemi_edac.c index 9007d0677220..90320917be28 100644 --- a/drivers/edac/pasemi_edac.c +++ b/drivers/edac/pasemi_edac.c | |||
@@ -225,7 +225,7 @@ static int __devinit pasemi_edac_probe(struct pci_dev *pdev, | |||
225 | EDAC_FLAG_NONE; | 225 | EDAC_FLAG_NONE; |
226 | mci->mod_name = MODULE_NAME; | 226 | mci->mod_name = MODULE_NAME; |
227 | mci->dev_name = pci_name(pdev); | 227 | mci->dev_name = pci_name(pdev); |
228 | mci->ctl_name = "pasemi,1682m-mc"; | 228 | mci->ctl_name = "pasemi,pwrficient-mc"; |
229 | mci->edac_check = pasemi_edac_check; | 229 | mci->edac_check = pasemi_edac_check; |
230 | mci->ctl_page_to_phys = NULL; | 230 | mci->ctl_page_to_phys = NULL; |
231 | pci_read_config_dword(pdev, MCCFG_SCRUB, &scrub); | 231 | pci_read_config_dword(pdev, MCCFG_SCRUB, &scrub); |
@@ -297,4 +297,4 @@ module_exit(pasemi_edac_exit); | |||
297 | 297 | ||
298 | MODULE_LICENSE("GPL"); | 298 | MODULE_LICENSE("GPL"); |
299 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); | 299 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); |
300 | MODULE_DESCRIPTION("MC support for PA Semi PA6T-1682M memory controller"); | 300 | MODULE_DESCRIPTION("MC support for PA Semi PWRficient memory controller"); |