svn commit: r211365 - stable/8/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Sun Aug 15 22:36:12 UTC 2010


Author: yongari
Date: Sun Aug 15 22:36:12 2010
New Revision: 211365
URL: http://svn.freebsd.org/changeset/base/211365

Log:
  MFC r208917:
    Remove unused macros.

Modified:
  stable/8/sys/dev/bge/if_bgereg.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cam/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/bge/if_bgereg.h
==============================================================================
--- stable/8/sys/dev/bge/if_bgereg.h	Sun Aug 15 22:15:04 2010	(r211364)
+++ stable/8/sys/dev/bge/if_bgereg.h	Sun Aug 15 22:36:12 2010	(r211365)
@@ -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


More information about the svn-src-all mailing list