Further whitespace and copyright cleanups to minimize the
delta with RELENG_7.
This commit is contained in:
parent
00a3b87a5a
commit
957f0e4e3b
@ -31,7 +31,6 @@ $FreeBSD$
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
#ifndef _CXGB_CONFIG_H_
|
#ifndef _CXGB_CONFIG_H_
|
||||||
#define _CXGB_CONFIG_H_
|
#define _CXGB_CONFIG_H_
|
||||||
|
|
||||||
#ifndef CONFIG_DEFINED
|
#ifndef CONFIG_DEFINED
|
||||||
#define CONFIG_CHELSIO_T3_CORE
|
#define CONFIG_CHELSIO_T3_CORE
|
||||||
#endif
|
#endif
|
||||||
|
@ -334,7 +334,7 @@ cxgb_get_adapter_info(device_t dev)
|
|||||||
{
|
{
|
||||||
struct cxgb_ident *id;
|
struct cxgb_ident *id;
|
||||||
const struct adapter_info *ai;
|
const struct adapter_info *ai;
|
||||||
|
|
||||||
id = cxgb_get_ident(dev);
|
id = cxgb_get_ident(dev);
|
||||||
if (id == NULL)
|
if (id == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
@ -351,7 +351,7 @@ cxgb_controller_probe(device_t dev)
|
|||||||
char *ports, buf[80];
|
char *ports, buf[80];
|
||||||
int nports;
|
int nports;
|
||||||
struct adapter *sc = device_get_softc(dev);
|
struct adapter *sc = device_get_softc(dev);
|
||||||
|
|
||||||
ai = cxgb_get_adapter_info(dev);
|
ai = cxgb_get_adapter_info(dev);
|
||||||
if (ai == NULL)
|
if (ai == NULL)
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
||||||
Copyright (c) 2007, Chelsio Inc.
|
Copyright (c) 2007-2008, Chelsio Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -169,7 +169,7 @@ void prefetch(void *x)
|
|||||||
extern void kdb_backtrace(void);
|
extern void kdb_backtrace(void);
|
||||||
|
|
||||||
#define WARN_ON(condition) do { \
|
#define WARN_ON(condition) do { \
|
||||||
if (__predict_false((condition)!=0)) { \
|
if (__predict_false((condition)!=0)) { \
|
||||||
log(LOG_WARNING, "BUG: warning at %s:%d/%s()\n", __FILE__, __LINE__, __FUNCTION__); \
|
log(LOG_WARNING, "BUG: warning at %s:%d/%s()\n", __FILE__, __LINE__, __FUNCTION__); \
|
||||||
kdb_backtrace(); \
|
kdb_backtrace(); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user