summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorKexy Biscuit <kexybiscuit@aosc.io>2025-01-10 20:22:09 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-01-11 14:39:33 +0300
commita0088d4a08d1d9b3afc7e7c5734d367afb2530ff (patch)
treec8deee36eeeb8c17a900f1f8c8fbe650c76500b7 /arch/mips
parentbd2212d658d7659b9d83c7e2f3a06789d4db1e90 (diff)
downloadlinux-a0088d4a08d1d9b3afc7e7c5734d367afb2530ff.tar.xz
MIPS: Loongson: Add comments for interface_info
Clarify meanings of members of interface_info, especially for .size, which does not define the ROM size. Suggested-by: Icenowy Zheng <uwu@icenowy.me> Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io> Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/mach-loongson64/boot_param.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h
index 9218b3ae3383..3a11ce85762b 100644
--- a/arch/mips/include/asm/mach-loongson64/boot_param.h
+++ b/arch/mips/include/asm/mach-loongson64/boot_param.h
@@ -128,10 +128,10 @@ struct irq_source_routing_table {
} __packed;
struct interface_info {
- u16 vers; /* version of the specificition */
- u16 size;
- u8 flag;
- char description[64];
+ u16 vers; /* version of the specification */
+ u16 size; /* size of this interface */
+ u8 flag; /* used or unused */
+ char description[64]; /* description for each change */
} __packed;
#define MAX_RESOURCE_NUMBER 128