diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-09-18 18:53:41 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-09-18 18:53:41 +0000 |
commit | aab4748586f4ef203fde67ca19ed8eb2110a64f2 (patch) | |
tree | 7432e3545834a18e0790b38581bb0e699c330fd8 /sys/dev/nge | |
parent | f1f8ab43b1f6c75db5669df14600c83ba4775678 (diff) | |
download | FreeBSD-src-aab4748586f4ef203fde67ca19ed8eb2110a64f2.zip FreeBSD-src-aab4748586f4ef203fde67ca19ed8eb2110a64f2.tar.gz |
Have the driver to announce what capabilitis it supports.
Diffstat (limited to 'sys/dev/nge')
-rw-r--r-- | sys/dev/nge/if_nge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 7b8fc42..be42d04 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -939,6 +939,8 @@ static int nge_attach(dev) ifp->if_baudrate = 1000000000; ifp->if_snd.ifq_maxlen = NGE_TX_LIST_CNT - 1; ifp->if_hwassist = NGE_CSUM_FEATURES; + ifp->if_capabilities = IFCAP_HWCSUM; + ifp->if_capenable = ifp->if_capabilities; /* * Do MII setup. |