diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-12-18 18:31:34 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-12-18 18:31:34 +0000 |
commit | e5dfa4c78df5a8e86d2f8309e33fcb8bf68278b4 (patch) | |
tree | 8fba4a11c81d0c5782279006b00f55373c4a371d | |
parent | e432d65bec40bdeef06479cf599d3eac95ec046e (diff) | |
download | FreeBSD-src-e5dfa4c78df5a8e86d2f8309e33fcb8bf68278b4.zip FreeBSD-src-e5dfa4c78df5a8e86d2f8309e33fcb8bf68278b4.tar.gz |
Correct the definition for PN_NETCFG_NO_RXCRC: it's 0x20000000, not
0x02000000. This error was causing the chip to always include the
ethernet CRC along with every received frame (the driver turns on
PN_NETCFG_NO_RXCRC, but it was frobbing the wrong bit).
-rw-r--r-- | sys/pci/if_pnreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_pnreg.h b/sys/pci/if_pnreg.h index 08ae606..37ae236 100644 --- a/sys/pci/if_pnreg.h +++ b/sys/pci/if_pnreg.h @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_pnreg.h,v 1.12 1998/11/23 16:53:26 wpaul Exp $ + * $Id: if_pnreg.h,v 1.1 1998/12/04 18:01:21 wpaul Exp $ */ /* @@ -165,7 +165,7 @@ #define PN_NETCFG_STORENFWD 0x00200000 #define PN_NETCFG_SPEEDSEL 0x00400000 /* 1 == 10Mbps 0 == 100Mbps */ #define PN_NETCFG_PCS 0x00800000 /* 1 == 100baseTX */ -#define PN_NETCFG_NO_RXCRC 0x02000000 +#define PN_NETCFG_NO_RXCRC 0x20000000 #define PN_NETCFG_EXT_ENDEC 0x40000000 /* 1 == ext, 0 == int PHY */ #define PN_OPMODE_NORM 0x00000000 |