* Removed as wordy as superfluous debug output prefix.
* Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42193 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
#define IFMEDIA_DEBUG
|
#define IFMEDIA_DEBUG
|
||||||
#ifdef IFMEDIA_DEBUG
|
#ifdef IFMEDIA_DEBUG
|
||||||
# define TRACE(x...) dprintf("BSD_IFMEDIA_DEBUG: " x)
|
# define TRACE(x...) dprintf(x)
|
||||||
#else
|
#else
|
||||||
# define TRACE(x...) ;
|
# define TRACE(x...) ;
|
||||||
#endif
|
#endif
|
||||||
@@ -159,7 +159,7 @@ ifmedia_list_add(ifm, lp, count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the default active media.
|
* Set the default active media.
|
||||||
*
|
*
|
||||||
* Called by device-specific code which is assumed to have already
|
* Called by device-specific code which is assumed to have already
|
||||||
* selected the default media in hardware. We do _not_ call the
|
* selected the default media in hardware. We do _not_ call the
|
||||||
@@ -167,7 +167,7 @@ ifmedia_list_add(ifm, lp, count)
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
ifmedia_set(ifm, target)
|
ifmedia_set(ifm, target)
|
||||||
struct ifmedia *ifm;
|
struct ifmedia *ifm;
|
||||||
int target;
|
int target;
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -261,7 +261,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd)
|
|||||||
/*
|
/*
|
||||||
* Get list of available media and current media on interface.
|
* Get list of available media and current media on interface.
|
||||||
*/
|
*/
|
||||||
case SIOCGIFMEDIA:
|
case SIOCGIFMEDIA:
|
||||||
{
|
{
|
||||||
struct ifmedia_entry *ep;
|
struct ifmedia_entry *ep;
|
||||||
int *kptr, count;
|
int *kptr, count;
|
||||||
@@ -356,7 +356,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd)
|
|||||||
*/
|
*/
|
||||||
static struct ifmedia_entry *
|
static struct ifmedia_entry *
|
||||||
ifmedia_match(ifm, target, mask)
|
ifmedia_match(ifm, target, mask)
|
||||||
struct ifmedia *ifm;
|
struct ifmedia *ifm;
|
||||||
int target;
|
int target;
|
||||||
int mask;
|
int mask;
|
||||||
{
|
{
|
||||||
@@ -384,7 +384,7 @@ ifmedia_match(ifm, target, mask)
|
|||||||
* Compute the interface `baudrate' from the media, for the interface
|
* Compute the interface `baudrate' from the media, for the interface
|
||||||
* metrics (used by routing daemons).
|
* metrics (used by routing daemons).
|
||||||
*/
|
*/
|
||||||
static const struct ifmedia_baudrate ifmedia_baudrate_descriptions[] =
|
static const struct ifmedia_baudrate ifmedia_baudrate_descriptions[] =
|
||||||
IFM_BAUDRATE_DESCRIPTIONS;
|
IFM_BAUDRATE_DESCRIPTIONS;
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
@@ -401,7 +401,7 @@ ifmedia_baudrate(int mword)
|
|||||||
/* Not known. */
|
/* Not known. */
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef IFMEDIA_DEBUG
|
#ifdef IFMEDIA_DEBUG
|
||||||
struct ifmedia_description ifm_type_descriptions[] =
|
struct ifmedia_description ifm_type_descriptions[] =
|
||||||
IFM_TYPE_DESCRIPTIONS;
|
IFM_TYPE_DESCRIPTIONS;
|
||||||
|
|||||||
Reference in New Issue
Block a user