Re: [PATCH net-next v3 07/13] net: ethernet: oa_tc6: Add read_mms/write_mms register access functions
From: Andrew Lunn
Date: Thu Jun 04 2026 - 18:24:47 EST
> +/**
> + * oa_tc6_read_register_mms - function for reading a MAC-PHY register in a
> + * memory map other than 0.
Is MMS 0 somehow special? Does it not work if passed to this function?
I'm not suggesting all the current calls are replaced with this, just
that the documentation might be inaccurate?
> + * @tc6: oa_tc6 struct.
> + * @mms: Memory map selector for the register.
> + * @address: register address of the MAC-PHY to be read.
> + * @value: value read from the @address register address of the MAC-PHY.
> + *
> + * Return: 0 on success otherwise failed.
Isn't the "otherwise" actually an error code?
Andrew