]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/net/lasi_82596.h
hw/char: riscv_htif: Drop useless assignment of memory region
[mirror_qemu.git] / include / hw / net / lasi_82596.h
CommitLineData
376b8519
HD
1/*
2 * QEMU LASI i82596 device emulation
3 *
4 * Copyright (c) 201 Helge Deller <deller@gmx.de>
5 *
6 */
7
8#ifndef LASI_82596_H
9#define LASI_82596_H
10
11#include "net/net.h"
12#include "hw/net/i82596.h"
7a5951f6 13#include "hw/sysbus.h"
376b8519
HD
14
15#define TYPE_LASI_82596 "lasi_82596"
db1015e9 16typedef struct SysBusI82596State SysBusI82596State;
8110fa1d
EH
17DECLARE_INSTANCE_CHECKER(SysBusI82596State, SYSBUS_I82596,
18 TYPE_LASI_82596)
376b8519 19
db1015e9 20struct SysBusI82596State {
376b8519
HD
21 SysBusDevice parent_obj;
22
23 I82596State state;
24 uint16_t last_val;
25 int val_index:1;
db1015e9 26};
376b8519
HD
27
28SysBusI82596State *lasi_82596_init(MemoryRegion *addr_space,
29 hwaddr hpa, qemu_irq irq);
30
31#endif