summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-20 04:18:52 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-20 04:18:52 +0000
commit2f92312a96e59382f17f5b5d3a6356057c874228 (patch)
tree43177303313d569f3fc81654366b5b3698fca00c /sys/dev/pci/if_bge.c
parent27a017d60e3229f6c92f41f481cf12a9a8946cd5 (diff)
remove commented out and unused capabilities flags.
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index bcad04001a4..2e120a44760 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.145 2006/05/20 03:47:56 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.146 2006/05/20 04:18:51 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -1151,11 +1151,6 @@ bge_chipinit(struct bge_softc *sc)
u_int32_t dma_rw_ctl;
int i;
-#ifdef BGE_CHECKSUM
- sc->arpcom.ac_if.if_capabilities =
- IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4;
-#endif
-
/* Set endianness before we access any non-PCI registers. */
pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_MISC_CTL,
BGE_INIT);