diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-05 16:54:02 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-05 16:54:02 +0000 |
commit | abba7bb1fc5c366e50cbba7c822bd2fa9ff9b008 (patch) | |
tree | ff1679a61b82715061c4f63d0a16e9b9a0322b80 /sys/arch/macppc/dev/if_gmreg.h | |
parent | 48db4f1abe606dcd0c3ead5c901b7b83289169a4 (diff) |
use dmamem/dmamap for allocating dmaable memory, since malloc
can produce physically non-contiguous memory space, and thus
trash the innocent pages. also make use of pci_mapreg_map
and other `usefull' stuff (;
import a reliability kludge from netbsd, the one to
mark all buffers GMAC_OWN after rint is done.
drahn@ ok
Diffstat (limited to 'sys/arch/macppc/dev/if_gmreg.h')
-rw-r--r-- | sys/arch/macppc/dev/if_gmreg.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/macppc/dev/if_gmreg.h b/sys/arch/macppc/dev/if_gmreg.h index f7de0e583d1..10d809b3a69 100644 --- a/sys/arch/macppc/dev/if_gmreg.h +++ b/sys/arch/macppc/dev/if_gmreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gmreg.h,v 1.1 2001/09/01 15:50:00 drahn Exp $ */ +/* $OpenBSD: if_gmreg.h,v 1.2 2001/09/05 16:54:01 mickey Exp $ */ /* $NetBSD: if_gmreg.h,v 1.1 2000/02/27 18:00:55 tsubai Exp $ */ /*- @@ -99,11 +99,3 @@ struct gmac_dma { #define GMAC_RANDOMSEED 0x6130 #define GMAC_MIFFRAMEOUTPUT 0x620c #define GMAC_DATAPATHMODE 0x9050 - -#ifndef ETHER_MAX_LEN -#define ETHER_MAX_LEN 1518 -#endif -#ifndef ETHER_MIN_LEN -#define ETHER_MIN_LEN 64 -#endif - |