1/************************************************************************* 2Copyright (c) 2003-2007 Cavium Networks (support@cavium.com). All rights 3reserved. 4 5 6Redistribution and use in source and binary forms, with or without 7modification, are permitted provided that the following conditions are 8met: --- 12 unchanged lines hidden (view full) --- 21 permission. 22 23This Software, including technical data, may be subject to U.S. export control laws, including the U.S. Export Administration Act and its associated regulations, and may be subject to export or import regulations in other countries. 24 25TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" 26AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU. 27 28*************************************************************************/ |
29/* $FreeBSD: head/sys/mips/cavium/octe/cavium-ethernet.h 213346 2010-10-02 05:43:17Z jmallett $ */ |
30 31/** 32 * @file 33 * External interface for the Cavium Octeon ethernet driver. 34 * 35 * $Id: cavium-ethernet.h 41589 2009-03-19 19:58:58Z cchavva $ 36 * 37 */ --- 29 unchanged lines hidden (view full) --- 67 int (*open)(struct ifnet *ifp); 68 int (*stop)(struct ifnet *ifp); 69 70 int (*init)(struct ifnet *ifp); 71 void (*uninit)(struct ifnet *ifp); 72 73 uint8_t mac[6]; 74 int phy_id; |
75 int (*mdio_read)(struct ifnet *, int, int); 76 void (*mdio_write)(struct ifnet *, int, int, int); |
77 78 struct ifqueue tx_free_queue[16]; 79 80 int need_link_update; 81 struct task link_task; 82 struct ifmedia media; 83 int if_flags; 84 --- 14 unchanged lines hidden --- |