From 45fe21a0a2be8a9fde887d8bf95f02ed3351b996 Mon Sep 17 00:00:00 2001 From: Doug Ambrisko Date: Wed, 16 Jan 2002 21:34:11 +0000 Subject: [PATCH] Forgot one part of the VLAN support for the dc(4) driver. Pointed out by: Shin-ichi YOSHIMOTO --- sys/dev/dc/if_dcreg.h | 2 ++ sys/pci/if_dcreg.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h index 8980e4433d18..46bd3c30b17a 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -400,6 +400,7 @@ struct dc_desc { #define DC_RXSTAT_FIFOOFLOW 0x00000001 #define DC_RXSTAT_CRCERR 0x00000002 #define DC_RXSTAT_DRIBBLE 0x00000004 +#define DC_RXSTAT_MIIERE 0x00000008 #define DC_RXSTAT_WATCHDOG 0x00000010 #define DC_RXSTAT_FRAMETYPE 0x00000020 /* 0 == IEEE 802.3 */ #define DC_RXSTAT_COLLSEEN 0x00000040 @@ -409,6 +410,7 @@ struct dc_desc { #define DC_RXSTAT_MULTICAST 0x00000400 #define DC_RXSTAT_RUNT 0x00000800 #define DC_RXSTAT_RXTYPE 0x00003000 +#define DC_RXSTAT_DE 0x00004000 #define DC_RXSTAT_RXERR 0x00008000 #define DC_RXSTAT_RXLEN 0x3FFF0000 #define DC_RXSTAT_OWN 0x80000000 diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h index 8980e4433d18..46bd3c30b17a 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/if_dcreg.h @@ -400,6 +400,7 @@ struct dc_desc { #define DC_RXSTAT_FIFOOFLOW 0x00000001 #define DC_RXSTAT_CRCERR 0x00000002 #define DC_RXSTAT_DRIBBLE 0x00000004 +#define DC_RXSTAT_MIIERE 0x00000008 #define DC_RXSTAT_WATCHDOG 0x00000010 #define DC_RXSTAT_FRAMETYPE 0x00000020 /* 0 == IEEE 802.3 */ #define DC_RXSTAT_COLLSEEN 0x00000040 @@ -409,6 +410,7 @@ struct dc_desc { #define DC_RXSTAT_MULTICAST 0x00000400 #define DC_RXSTAT_RUNT 0x00000800 #define DC_RXSTAT_RXTYPE 0x00003000 +#define DC_RXSTAT_DE 0x00004000 #define DC_RXSTAT_RXERR 0x00008000 #define DC_RXSTAT_RXLEN 0x3FFF0000 #define DC_RXSTAT_OWN 0x80000000