diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-08-02 22:14:32 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-08-02 22:14:32 +0000 |
commit | db0a2caf5adf4d073160fe8c5e4bbf8aa37787eb (patch) | |
tree | 739e5f052a0f4194822d8435f578211f8f55d108 /sys/dev/pci | |
parent | a26c416dccc9cbfc336e3dce48f1b930c994b2c5 (diff) |
get rid of some "capabilities" leftovers
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_oce.c | 5 | ||||
-rw-r--r-- | sys/dev/pci/ocevar.h | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c index 2dd62038008..12b4e035c9b 100644 --- a/sys/dev/pci/if_oce.c +++ b/sys/dev/pci/if_oce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_oce.c,v 1.1 2012/08/02 17:35:52 mikeb Exp $ */ +/* $OpenBSD: if_oce.c,v 1.2 2012/08/02 22:14:31 mikeb Exp $ */ /* * Copyright (c) 2012 Mike Belopuhov @@ -231,7 +231,7 @@ oce_attach(struct device *parent, struct device *self, void *aux) if (oce_hw_pci_alloc(sc)) return; - sc->rss_enable = OCE_MODCAP_RSS; + sc->rss_enable = 0; sc->tx_ring_size = OCE_TX_RING_SIZE; sc->rx_ring_size = OCE_RX_RING_SIZE; sc->rq_frag_size = OCE_RQ_BUF_SIZE; @@ -245,7 +245,6 @@ oce_attach(struct device *parent, struct device *self, void *aux) sc->nrqs = 1; sc->nwqs = 1; - sc->rss_enable = 0; sc->intr_count = 1; rc = oce_alloc_intr(sc); diff --git a/sys/dev/pci/ocevar.h b/sys/dev/pci/ocevar.h index 84e18001673..aaa66f0df02 100644 --- a/sys/dev/pci/ocevar.h +++ b/sys/dev/pci/ocevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ocevar.h,v 1.2 2012/08/02 22:06:29 mikeb Exp $ */ +/* $OpenBSD: ocevar.h,v 1.3 2012/08/02 22:14:31 mikeb Exp $ */ /*- * Copyright (C) 2012 Emulex @@ -875,9 +875,7 @@ int oce_stats_init(struct oce_softc *sc); void oce_stats_free(struct oce_softc *sc); /* Capabilities */ -#define OCE_MODCAP_RSS 0 #define OCE_MAX_RSP_HANDLED 64 -extern uint32_t oce_max_rsp_handled; /* max responses */ #define OCE_MAC_LOOPBACK 0x0 #define OCE_PHY_LOOPBACK 0x1 |