Statistics
| Branch: | Revision:

root / hw / pcnet.h @ 3bd88451

History | View | Annotate | Download (2.1 kB)

# Date Author Comment
cb9c377f 12/19/2012 09:31 am Paolo Bonzini

janitor: add guards to headers

Signed-off-by: Paolo Bonzini <>

022c62cb 12/19/2012 09:31 am Paolo Bonzini

exec: move include files to include/exec/

Signed-off-by: Paolo Bonzini <>

a8170e5e 10/23/2012 04:58 pm Avi Kivity

Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific). Replace it with a finger-friendly,...

4e68f7a0 08/01/2012 03:32 pm Stefan Hajnoczi

net: Rename VLANClientState to NetClientState

The vlan feature is no longer part of net core. Rename VLANClientState
to NetClientState because net clients are not explicitly associated with
a vlan at all, instead they have a peer net client to which they are...

ef45c914 04/16/2012 04:41 pm Jan Kiszka

pcnet: Properly handle TX requests during Link Fail

As long as we have no link and we aren't in internal loopback mode, no
packet must be sent. Instead, LCAR needs to be set in any active TX
descriptor and also CERR in CSR0.

Signed-off-by: Jan Kiszka <>

488a1a5d 11/01/2011 11:52 pm Jan Kiszka

pcnet: Move BCR defines to header

This moves BCR defines to the common header and immediately makes use of
them to add BCR_APROMWE, replacing the open-coded write check in
pcnet_aprom_writeb.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

e1c2008a 11/01/2011 11:52 pm Jan Kiszka

pcnet: Add link state support

Update lnkst on link state changes so that guests can obtain this
information via reading back the LED output pin. Works for Linux but
not for guests that depend on the missing PHY.

Signed-off-by: Jan Kiszka <>...

fe87aa83 08/21/2011 10:52 pm Blue Swirl

pcnet: avoid structure holes spotted by pahole

Edited report from pahole on amd64 host:
struct PCNetState_st {
...
uint16_t bcr32; /* 340 64 */

/* XXX 4 bytes hole, try to pack /
...
int tx_busy; /
4520 4 */...
bd8d6f7c 08/08/2011 06:22 pm Avi Kivity

pcnet: convert to memory API

Also related chips.

Reviewed-by: Richard Henderson <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

a4c75a21 11/27/2010 01:23 pm Paul Brook

Split out common pcnet code

The core pcnet emulation code is used by both the PCI "pcnet" device
and the SPARC "lance" device. Split the common code frm the PCI code so
that that can be configures independantly.

Signed-off-by: Paul Brook <>

1fa51482 12/03/2009 05:41 pm Mark McLoughlin

net: convert pcnet to NICState

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

3d865059 10/27/2009 07:28 pm Juan Quintela

pcnet: port to vmstate

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

94e1a912 10/27/2009 07:28 pm Gerd Hoffmann

pcnet: split away lance.c (sparc32 code).

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>