summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-06-08 17:28:28 +0000
committeryongari <yongari@FreeBSD.org>2010-06-08 17:28:28 +0000
commita2509426de1b14e47ff3b865412b0e2f6ce0de95 (patch)
tree19ea9ef4c3946346f53c24c1648c20818590bc70
parentc24f3c03f114b851398feeed7da71d5f021bb6f6 (diff)
downloadFreeBSD-src-a2509426de1b14e47ff3b865412b0e2f6ce0de95.zip
FreeBSD-src-a2509426de1b14e47ff3b865412b0e2f6ce0de95.tar.gz
Remove unused macros.
Reviewed by: bde
-rw-r--r--sys/dev/bge/if_bgereg.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/bge/if_bgereg.h b/sys/dev/bge/if_bgereg.h
index 67c0455..4e75149 100644
--- a/sys/dev/bge/if_bgereg.h
+++ b/sys/dev/bge/if_bgereg.h
@@ -2086,9 +2086,6 @@ struct bge_status_block {
struct bge_sts_idx bge_idx[16];
};
-#define BGE_TX_CONSIDX(x, i) x->bge_idx[i].bge_tx_considx
-#define BGE_RX_PRODIDX(x, i) x->bge_idx[i].bge_rx_prodidx
-
#define BGE_STATFLAG_UPDATED 0x00000001
#define BGE_STATFLAG_LINKSTATE_CHANGED 0x00000002
#define BGE_STATFLAG_ERROR 0x00000004
@@ -2475,15 +2472,9 @@ struct bge_gib {
pci_write_config(dev, reg, (pci_read_config(dev, reg, s) & ~(x)), s)
/*
- * Memory management stuff. Note: the SSLOTS, MSLOTS and JSLOTS
- * values are tuneable. They control the actual amount of buffers
- * allocated for the standard, mini and jumbo receive rings.
+ * Memory management stuff.
*/
-#define BGE_SSLOTS 256
-#define BGE_MSLOTS 256
-#define BGE_JSLOTS 384
-
#define BGE_NSEG_JUMBO 4
#define BGE_NSEG_NEW 32
#define BGE_TSOSEG_SZ 4096
OpenPOWER on IntegriCloud