Skip to content

Commit

Permalink
MIPS: Loongson: Add comments for interface_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kexy Biscuit authored and Thomas Bogendoerfer committed Jan 11, 2025
1 parent bd2212d commit a0088d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/mips/include/asm/mach-loongson64/boot_param.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0088d4

Please sign in to comment.