[PATCH v6 09/17] net/r8169: add support for hw initialization

Ferruh Yigit ferruh.yigit at amd.com
Mon Nov 11 01:16:58 CET 2024


On 11/8/2024 12:11 PM, Howard Wang wrote:
> This patch initializes software variables, resets the NIC, and performs
> other hw initialization tasks.
> 
> Signed-off-by: Howard Wang <howard_wang at realsil.com.cn>
> 

<...>

> @@ -24,8 +24,8 @@
>  #define MII_EXPANSION		0x06	/* Expansion register          */
>  #define MII_CTRL1000		0x09	/* 1000BASE-T control          */
>  #define MII_STAT1000		0x0a	/* 1000BASE-T status           */
> -#define MII_MMD_CTRL		0x0d	/* MMD Access Control Register */
> -#define MII_MMD_DATA		0x0e	/* MMD Access Data Register    */
> +#define	MII_MMD_CTRL		0x0d	/* MMD Access Control Register */
> +#define	MII_MMD_DATA		0x0e	/* MMD Access Data Register    */
>

Probably unintendent change.
Also I can see 'MII_LPA', 'MII_RERRCOUNTER', 'ADVERTISE_LPACK' and a few
more uses spaces instead of tab, which can be fixed in the patch they
are added.



More information about the dev mailing list