White space cleanups to bring closer to RELENG_7

This commit is contained in:
kmacy 2008-09-16 02:03:28 +00:00
parent 612ed6bb13
commit 00a3b87a5a
8 changed files with 6 additions and 16 deletions

View File

@ -1,6 +1,6 @@
/**************************************************************************
Copyright (c) 2007, Chelsio Inc.
Copyright (c) 2007-2008, Chelsio Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@ -25,7 +25,6 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
$FreeBSD$
***************************************************************************/
@ -149,7 +148,6 @@ enum { /* adapter flags */
};
#define FL_Q_SIZE 4096
#define JUMBO_Q_SIZE 1024
#define RSPQ_Q_SIZE 1024
#define TX_ETH_Q_SIZE 1024

View File

@ -2,7 +2,6 @@
* $FreeBSD$
*/
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/types.h>
@ -29,7 +28,6 @@
#include <dev/cxgb/common/cxgb_ctl_defs.h>
#include <dev/cxgb/common/cxgb_sge_defs.h>
#include <dev/cxgb/common/cxgb_firmware_exports.h>
#include <dev/cxgb/common/jhash.h>
#include <dev/cxgb/ulp/toecore/cxgb_toedev.h>
#endif

View File

@ -1033,7 +1033,7 @@ void
t3_fatal_err(struct adapter *sc)
{
u_int fw_status[4];
if (sc->flags & FULL_INIT_DONE) {
t3_sge_stop(sc);
t3_write_reg(sc, A_XGM_TX_CTRL, 0);
@ -1733,11 +1733,9 @@ offload_open(struct port_info *pi)
adapter->params.rev == 0 ?
adapter->port[0].ifp->if_mtu : 0xffff);
init_smt(adapter);
/* Call back all registered clients */
cxgb_add_clients(tdev);
/* restore them in case the offload module has changed them */
if (err) {
t3_tp_set_offload_mode(adapter, 0);

View File

@ -1389,7 +1389,7 @@ t3_encap(struct sge_qset *qs, struct mbuf **m, int count)
if (__predict_false(mlen <= PIO_LEN)) {
/* pkt not undersized but fits in PIO_LEN
* Indicates a TSO bug
* Indicates a TSO bug at the higher levels.
*
*/
DPRINTF("**5592 Fix** mbuf=%p,len=%d,tso_segsz=%d,csum_flags=%#x,flags=%#x",

View File

@ -53,12 +53,7 @@ __FBSDID("$FreeBSD$");
#endif
extern int cxgb_use_16k_clusters;
#ifdef _i386__
int cxgb_pcpu_cache_enable = 0;
#else
int cxgb_pcpu_cache_enable = 1;
#endif
struct buf_stack {
caddr_t *bs_stack;

View File

@ -1,6 +1,6 @@
/**************************************************************************
Copyright (c) 2007, Chelsio Inc.
Copyright (c) 2007-2008, Chelsio Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@ -31,9 +31,10 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
#ifndef _CXGB_TOEDEV_H_
#define _CXGB_TOEDEV_H_
#define _CXGB_TOEDEV_H_
#include <netinet/toedev.h>
/* offload type ids */
enum {
TOE_ID_CHELSIO_T1 = 1,