mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ne2000: pass device to ne2000_setup_io, use it as owner
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
42e038fe91
commit
dcb117bfda
3 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ typedef struct NE2000State {
|
|||
uint8_t mem[NE2000_MEM_SIZE];
|
||||
} NE2000State;
|
||||
|
||||
void ne2000_setup_io(NE2000State *s, unsigned size);
|
||||
void ne2000_setup_io(NE2000State *s, DeviceState *dev, unsigned size);
|
||||
extern const VMStateDescription vmstate_ne2000;
|
||||
void ne2000_reset(NE2000State *s);
|
||||
int ne2000_can_receive(NetClientState *nc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue