diff options
author | Helge Deller <deller@gmx.de> | 2022-10-21 11:03:52 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-19 18:08:52 +0300 |
commit | 4934fbfb3ff09b8500f63d4624ed8b41647bb822 (patch) | |
tree | 59fffdb0f2e352309941bf915f07a8f1192a87a3 /arch/parisc/include | |
parent | 9086e6017957c5cd6ea28d94b70e0d513d6b7800 (diff) | |
download | linux-4934fbfb3ff09b8500f63d4624ed8b41647bb822.tar.xz |
parisc: Show MPE/iX model string at bootup
Some (mostly 64-bit machines) machines allow to run MPE/iX and report the MPE
model string via firmware call. Enhance the pdc_model_sysmodel() function to
report that model string.
Note that some 32-bit machines like the B160L wrongly report success for the
firmware call, so include a check to prevent showing wrong info.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/pdc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h index fcbcf9a96c11..40793bef8429 100644 --- a/arch/parisc/include/asm/pdc.h +++ b/arch/parisc/include/asm/pdc.h @@ -37,7 +37,7 @@ int pdc_system_map_find_mods(struct pdc_system_map_mod_info *pdc_mod_info, int pdc_system_map_find_addrs(struct pdc_system_map_addr_info *pdc_addr_info, long mod_index, long addr_index); int pdc_model_info(struct pdc_model *model); -int pdc_model_sysmodel(char *name); +int pdc_model_sysmodel(unsigned int os_id, char *name); int pdc_model_cpuid(unsigned long *cpu_id); int pdc_model_versions(unsigned long *versions, int id); int pdc_model_capabilities(unsigned long *capabilities); |