]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: Loongson: Add comments for interface_info
authorKexy Biscuit <kexybiscuit@aosc.io>
Fri, 10 Jan 2025 17:22:09 +0000 (01:22 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 11 Jan 2025 11:39:33 +0000 (12:39 +0100)
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>
arch/mips/include/asm/mach-loongson64/boot_param.h

index 9218b3ae338322d3cce47421c48d737c93858398..3a11ce85762be626a557ae867e5ee427ea355524 100644 (file)
@@ -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