diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-01-31 23:05:18 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-01-31 23:05:18 +0000 |
commit | af7194e9a1e27a135acd49055ab325f9229e8eec (patch) | |
tree | e96660288f74902e1f61338867a4fad5127983e1 /sys/dev/pci/if_levar.h | |
parent | 2c0395e8c2b8f89db46e02886375cfae6ff1d28a (diff) |
Allocate shared memory via the bus_dmamem/bus_dmamap interface; makes le
interface work under VMware as an additional bonus. ok theo@
Diffstat (limited to 'sys/dev/pci/if_levar.h')
-rw-r--r-- | sys/dev/pci/if_levar.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/pci/if_levar.h b/sys/dev/pci/if_levar.h index 59e1b7f338d..01c5e1ad1f8 100644 --- a/sys/dev/pci/if_levar.h +++ b/sys/dev/pci/if_levar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_levar.h,v 1.4 1997/11/07 08:07:29 niklas Exp $ */ +/* $OpenBSD: if_levar.h,v 1.5 2001/01/31 23:05:17 tholo Exp $ */ /* $NetBSD: if_levar.h,v 1.3 1996/10/21 22:56:46 thorpej Exp $ */ /* @@ -18,6 +18,18 @@ #define PCNET_PCI_RAP 0x12 /* + * Size of packet buffer + * + * The MI code will split this between initialization block, descriptors, + * transmit and receive buffers. + * + * Must be 8192 <= PCNET_MEMSIZE <= 262144 and a power of 2 + */ + +#define PCNET_MEMSIZE 16384 + + +/* * Ethernet software status per interface. * * Each interface is referenced by a network interface structure, |