diff options
author | tmm <tmm@FreeBSD.org> | 2003-01-06 22:12:57 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2003-01-06 22:12:57 +0000 |
commit | 73e52f587c30a55325fd12b6b4ad63afd8fe5c81 (patch) | |
tree | e31ec0014d2bcdaf54ef9fa2a50e02d7ce0b788f /sys/dev/hme/if_hmereg.h | |
parent | f0f8069fbc66b75d41b6f8ff349d866f03c23fce (diff) | |
download | FreeBSD-src-73e52f587c30a55325fd12b6b4ad63afd8fe5c81.zip FreeBSD-src-73e52f587c30a55325fd12b6b4ad63afd8fe5c81.tar.gz |
Convert to use bus_dmamap_load_mbuf(); decouple software TX descriptors
from the hardware descriptors to avoid the overhead of having a DMA
map for each of them. Bump the number of hardware descriptors to 128,
and use half as many software descriptors for now.
Some minor cleanups.
Diffstat (limited to 'sys/dev/hme/if_hmereg.h')
-rw-r--r-- | sys/dev/hme/if_hmereg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hmereg.h b/sys/dev/hme/if_hmereg.h index 15a47b4..4a8f534 100644 --- a/sys/dev/hme/if_hmereg.h +++ b/sys/dev/hme/if_hmereg.h @@ -304,3 +304,6 @@ (((flags) & HME_XD_TXLENMSK) >> 0) #define PCI_HME_BASEADDR 0x10 + +#define HME_MINRXALIGN 0x10 +#define HME_RXOFFS 2 |