Re: [PATCH 1/2] hw/net/e1000e: Remove overwritten read handler for STATUS register

2020-09-09 Thread Laurent Vivier
Le 04/09/2020 à 15:14, Philippe Mathieu-Daudé a écrit : > The STATUS register readop handler is initialized first with > the generic e1000e_mac_readreg() handler: > > 2861 #define e1000e_getreg(x)[x] = e1000e_mac_readreg > 2862 typedef uint32_t (*readops)(E1000ECore *, int); > 2863 stati

Re: [PATCH 1/2] hw/net/e1000e: Remove overwritten read handler for STATUS register

2020-09-04 Thread Li Qiang
Philippe Mathieu-Daudé 于2020年9月4日周五 下午9:14写道: > > The STATUS register readop handler is initialized first with > the generic e1000e_mac_readreg() handler: > > 2861 #define e1000e_getreg(x)[x] = e1000e_mac_readreg > 2862 typedef uint32_t (*readops)(E1000ECore *, int); > 2863 static const

[PATCH 1/2] hw/net/e1000e: Remove overwritten read handler for STATUS register

2020-09-04 Thread Philippe Mathieu-Daudé
The STATUS register readop handler is initialized first with the generic e1000e_mac_readreg() handler: 2861 #define e1000e_getreg(x)[x] = e1000e_mac_readreg 2862 typedef uint32_t (*readops)(E1000ECore *, int); 2863 static const readops e1000e_macreg_readops[] = { 2919 e1000e