amd8111s_main.h revision 75ab5f91d942eea4138efe4799ca0589870c3899
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * Copyright (c) 2001-2006 Advanced Micro Devices, Inc. All rights reserved. 2N/A * Redistribution and use in source and binary forms, with or without 2N/A * modification, are permitted provided that the following conditions are met: 2N/A * + Redistributions of source code must retain the above copyright notice, 2N/A * + this list of conditions and the following disclaimer. 2N/A * + Redistributions in binary form must reproduce the above copyright 2N/A * + notice, this list of conditions and the following disclaimer in the 2N/A * + documentation and/or other materials provided with the distribution. 2N/A * + Neither the name of Advanced Micro Devices, Inc. nor the names of its 2N/A * + contributors may be used to endorse or promote products derived from 2N/A * + this software without specific prior written permission. 2N/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 2N/A * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 2N/A * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2N/A * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 2N/A * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. OR 2N/A * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2N/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2N/A * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 2N/A * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2N/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2N/A * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 2N/A * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 2N/A * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2N/A * Compliance with Applicable Laws. Notice is hereby given that 2N/A * the software may be subject to restrictions on use, release, 2N/A * transfer, importation, exportation and/or re-exportation under 2N/A * the laws and regulations of the United States or other 2N/A * countries ("Applicable Laws"), which include but are not 2N/A * limited to U.S. export control laws such as the Export 2N/A * Administration Regulations and national security controls as 2N/A * defined thereunder, as well as State Department controls under 2N/A * the U.S. Munitions List. Permission to use and/or 2N/A * redistribute the software is conditioned upon compliance with 2N/A * all Applicable Laws, including U.S. export control laws 2N/A * regarding specifically designated persons, countries and 2N/A * nationals of countries subject to national security controls. 2N/A#
pragma ident "@(#)$RCSfile: odl.h,v $ $Revision: 1.1 $ " \
2N/A"$Date: 2004/04/22 15:22:52 $ AMD" 2N/A * Loopback definitions 2N/A/* ((2 ^ (32 - 1)) * 8) / (10 ^ 8) >= 100 */ 2N/A/* Bit flags for 'attach_progress' */ 2N/A * (Internal) return values from ioctl subroutines 2N/A /* # of call amd8111s_dump_mib function */ 2N/A * From MIB registers (TX) 2N/A /* Packet drop due to Tx FIFO underrun */ 2N/A /* Packets successfully transmitted after experiencing one collision */ 2N/A /* # of late collisions that occur */ 2N/A * Some error counter after "ifconfig amd8111sX unplumb" 2N/A * Count Tx mp number from GLD even after NIC has been unplumbed. 2N/A * This value should always be 0. 2N/A * We drain all pending tx packets during unplumb operation. This 2N/A * variable is to count the drain time. 2N/A * 30 means success; =30 means fail 2N/A * From MIB registers (RX) 2N/A * The total number of valid frames received that are less than 64 2N/A * bytes long (include the FCS). 2N/A * The total number of valid frames received that are greater than the 2N/A * maximum valid frame size (include the FCS). 2N/A /* Invalid data symbol (RX_ER) */ 2N/A /* Packets that were dropped because no descriptor was available */ 2N/A * Packets that were dropped due to lack of resources. This includes 2N/A * the number of times a packet was dropped due to receive FIFO 2N/A * overflow and lack of receive descriptor. 2N/A * The chip_lock assures that the Rx/Tx process must be stopped while 2N/A * other functions change the hardware configuration, such as attach() 2N/A * detach() etc are executed. 2N/A * HW operators and parameters on attach period 2N/A /* For pci configuration */ 2N/A * FreeQ: Transfer Rx Buffer parameters from top layer to low layers. 2N/A * Format of parameter: 2N/A * (struct RxBufInfo *, physical address) 2N/A /* For Rx descriptors */ 2N/A /* For Tx descriptors */ 2N/A /* For Tx buffers */ 2N/A /* For Rx buffers */ 2N/A /* Multicast addresses table */ 2N/A#
endif /* AMD8111S_MAIN_H */