common.c revision 56b2bdd1f04d465cfe4a95b88ae5cba5884154e4
/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* This file is part of the Chelsio T4 Ethernet driver.
*
* Copyright (C) 2005-2013 Chelsio Communications. All rights reserved.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this
* release for licensing terms and conditions.
*/
#include "common.h"
int
{
}
unsigned int
{
}
int
{
}
unsigned int
{
}
unsigned int
{
/* add Core Clock / 2 to round ticks to nearest uS */
}
unsigned int
{
}
int
{
}
int
is_bypass_device(int device)
{
/* TODO - this should be set based upon device capabilities */
switch (device) {
#ifdef CONFIG_CHELSIO_BYPASS
case 0x440b:
case 0x440c:
return (1);
#endif
default:
return (0);
}
}
int
{
}
int
void *rpl)
{
}