Skip to content

Commit a0088d4

Browse files
KexyBiscuittsbogend
authored andcommitted
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>
1 parent bd2212d commit a0088d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/mips/include/asm/mach-loongson64/boot_param.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ struct irq_source_routing_table {
128128
} __packed;
129129

130130
struct interface_info {
131-
u16 vers; /* version of the specificition */
132-
u16 size;
133-
u8 flag;
134-
char description[64];
131+
u16 vers; /* version of the specification */
132+
u16 size; /* size of this interface */
133+
u8 flag; /* used or unused */
134+
char description[64]; /* description for each change */
135135
} __packed;
136136

137137
#define MAX_RESOURCE_NUMBER 128

0 commit comments

Comments
 (0)