| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: if_wmreg.h,v 1.84 2015/10/13 08:36:02 knakahara Exp $ */ | | 1 | /* $NetBSD: if_wmreg.h,v 1.85 2015/10/13 10:39:25 knakahara Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 2001 Wasabi Systems, Inc. | | 4 | * Copyright (c) 2001 Wasabi Systems, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Written by Jason R. Thorpe for Wasabi Systems, Inc. | | 7 | * Written by Jason R. Thorpe for Wasabi Systems, Inc. |
8 | * | | 8 | * |
9 | * Redistribution and use in source and binary forms, with or without | | 9 | * Redistribution and use in source and binary forms, with or without |
10 | * modification, are permitted provided that the following conditions | | 10 | * modification, are permitted provided that the following conditions |
11 | * are met: | | 11 | * are met: |
12 | * 1. Redistributions of source code must retain the above copyright | | 12 | * 1. Redistributions of source code must retain the above copyright |
13 | * notice, this list of conditions and the following disclaimer. | | 13 | * notice, this list of conditions and the following disclaimer. |
14 | * 2. Redistributions in binary form must reproduce the above copyright | | 14 | * 2. Redistributions in binary form must reproduce the above copyright |
| @@ -868,27 +868,27 @@ struct livengood_tcpip_ctxdesc { | | | @@ -868,27 +868,27 @@ struct livengood_tcpip_ctxdesc { |
868 | #define PCS_LSTS_SPEED_100 __BIT(1) | | 868 | #define PCS_LSTS_SPEED_100 __BIT(1) |
869 | #define PCS_LSTS_SPEED_1000 __BIT(2) | | 869 | #define PCS_LSTS_SPEED_1000 __BIT(2) |
870 | #define PCS_LSTS_FDX __BIT(3) | | 870 | #define PCS_LSTS_FDX __BIT(3) |
871 | #define PCS_LSTS_AN_COMP __BIT(16) | | 871 | #define PCS_LSTS_AN_COMP __BIT(16) |
872 | | | 872 | |
873 | #define WMREG_PCS_ANADV 0x4218 /* AN Advertsement */ | | 873 | #define WMREG_PCS_ANADV 0x4218 /* AN Advertsement */ |
874 | #define WMREG_PCS_LPAB 0x421c /* Link Partnet Ability */ | | 874 | #define WMREG_PCS_LPAB 0x421c /* Link Partnet Ability */ |
875 | | | 875 | |
876 | #define WMREG_RXCSUM 0x5000 /* Receive Checksum register */ | | 876 | #define WMREG_RXCSUM 0x5000 /* Receive Checksum register */ |
877 | #define RXCSUM_PCSS 0x000000ff /* Packet Checksum Start */ | | 877 | #define RXCSUM_PCSS 0x000000ff /* Packet Checksum Start */ |
878 | #define RXCSUM_IPOFL (1U << 8) /* IP checksum offload */ | | 878 | #define RXCSUM_IPOFL (1U << 8) /* IP checksum offload */ |
879 | #define RXCSUM_TUOFL (1U << 9) /* TCP/UDP checksum offload */ | | 879 | #define RXCSUM_TUOFL (1U << 9) /* TCP/UDP checksum offload */ |
880 | #define RXCSUM_IPV6OFL (1U << 10) /* IPv6 checksum offload */ | | 880 | #define RXCSUM_IPV6OFL (1U << 10) /* IPv6 checksum offload */ |
881 | #define RXCSUM_CRCOFL (1U << 10) /* SCTP CRC32 checksum offload */ | | 881 | #define RXCSUM_CRCOFL (1U << 11) /* SCTP CRC32 checksum offload */ |
882 | #define RXCSUM_IPPCSE (1U << 12) /* IP payload checksum enable */ | | 882 | #define RXCSUM_IPPCSE (1U << 12) /* IP payload checksum enable */ |
883 | #define RXCSUM_PCSD (1U << 13) /* packet checksum disabled */ | | 883 | #define RXCSUM_PCSD (1U << 13) /* packet checksum disabled */ |
884 | | | 884 | |
885 | #define WMREG_RLPML 0x5004 /* Rx Long Packet Max Length */ | | 885 | #define WMREG_RLPML 0x5004 /* Rx Long Packet Max Length */ |
886 | | | 886 | |
887 | #define WMREG_RFCTL 0x5008 /* Receive Filter Control */ | | 887 | #define WMREG_RFCTL 0x5008 /* Receive Filter Control */ |
888 | #define WMREG_RFCTL_NFSWDIS __BIT(6) /* NFS Write Disable */ | | 888 | #define WMREG_RFCTL_NFSWDIS __BIT(6) /* NFS Write Disable */ |
889 | #define WMREG_RFCTL_NFSRDIS __BIT(7) /* NFS Read Disable */ | | 889 | #define WMREG_RFCTL_NFSRDIS __BIT(7) /* NFS Read Disable */ |
890 | #define WMREG_RFCTL_ACKDIS __BIT(12) /* ACK Accelerate Disable */ | | 890 | #define WMREG_RFCTL_ACKDIS __BIT(12) /* ACK Accelerate Disable */ |
891 | #define WMREG_RFCTL_ACKD_DIS __BIT(13) /* ACK data Disable */ | | 891 | #define WMREG_RFCTL_ACKD_DIS __BIT(13) /* ACK data Disable */ |
892 | #define WMREG_RFCTL_IPV6EXDIS __BIT(16) /* IPv6 Extension Header Disable */ | | 892 | #define WMREG_RFCTL_IPV6EXDIS __BIT(16) /* IPv6 Extension Header Disable */ |
893 | #define WMREG_RFCTL_NEWIPV6EXDIS __BIT(17) /* New IPv6 Extension Header */ | | 893 | #define WMREG_RFCTL_NEWIPV6EXDIS __BIT(17) /* New IPv6 Extension Header */ |
894 | | | 894 | |