sungem: Add WOL MMIO
commitbc65beb3a412b3d6d7e16d9f11a9712a086aae02
authorNicholas Piggin <npiggin@gmail.com>
Sun, 25 Jun 2023 20:16:28 +0000 (26 06:16 +1000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:18:26 +0000 (7 04:18 -0300)
tree882a8519f5b249484299e6bac6b56b8ad0afb6fc
parentb25f2ffa19c0f4a79de0315d4eade36ce76b031c
sungem: Add WOL MMIO

Apple sungem devices are expected to have WOL MMIO registers.
Add a region to prevent transaction failures, and implement the
WOL-disable CSR write because the Linux driver reset writes
this.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-ID: <20230625201628.65231-1-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/net/sungem.c
hw/net/trace-events