Philippe Mathieu-Daudé
4a4a604cc6
hw/net/e1000e: Remove overwritten read handler for STATUS register
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_getreg(STATUS),
Then overwritten with the specific e1000e_get_status handler:
3018 [STATUS] = e1000e_get_status,
To avoid confusion, remove the overwritten initialization.
6f3fbe4ed0 ("net: Introduce e1000e device emulation")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200904131402.590055-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-09-10 16:20:49 +02:00
..
2020-09-01 08:42:27 +02:00
2020-08-27 14:21:48 -04:00
2020-08-27 14:04:55 -04:00
2020-08-28 10:02:45 +01:00
2020-06-18 21:05:52 +08:00
2020-08-27 14:04:54 -04:00
2020-09-10 16:20:49 +02:00
2020-09-01 14:21:50 +02:00
2020-07-03 16:59:41 +01:00
2020-09-01 08:38:00 +02:00
2020-08-27 14:04:54 -04:00
2020-08-21 06:30:29 -04:00
2020-07-10 15:18:08 +02:00
2020-08-04 14:14:48 +08:00
2020-07-21 21:30:39 +08:00
2020-07-03 16:59:41 +01:00
2020-08-21 06:18:24 -04:00
2020-08-27 14:04:54 -04:00
2020-08-27 14:04:54 -04:00
2020-07-03 07:57:04 -04:00
2020-07-07 07:59:51 -04:00
2020-09-01 11:59:59 +02:00
2020-07-21 21:30:39 +08:00
2020-09-01 11:29:21 +02:00