Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / net / lasi_82596.h
blob439356ec19b2b6699903bb0496ce8e359f6b4a8e
1 /*
2 * QEMU LASI i82596 device emulation
4 * Copyright (c) 201 Helge Deller <deller@gmx.de>
6 */
8 #ifndef LASI_82596_H
9 #define LASI_82596_H
11 #include "net/net.h"
12 #include "hw/net/i82596.h"
13 #include "hw/sysbus.h"
15 #define TYPE_LASI_82596 "lasi_82596"
16 typedef struct SysBusI82596State SysBusI82596State;
17 DECLARE_INSTANCE_CHECKER(SysBusI82596State, SYSBUS_I82596,
18 TYPE_LASI_82596)
20 struct SysBusI82596State {
21 SysBusDevice parent_obj;
23 I82596State state;
24 uint16_t last_val;
25 int val_index:1;
28 SysBusI82596State *lasi_82596_init(MemoryRegion *addr_space, hwaddr hpa,
29 qemu_irq irq, gboolean match_default);
31 #endif