et_export.h
资源名称:bcm4702.rar [点击查看]
上传用户:yuanda199
上传日期:2022-06-26
资源大小:412k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /*
- Copyright 2001, Broadcom Corporation
- All Rights Reserved.
- This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
- the contents of this file may not be disclosed to third parties, copied or
- duplicated in any form, in whole or in part, without the prior written
- permission of Broadcom Corporation.
- */
- /*
- * Required functions exported by the port-specific (os-dependent) driver
- * to common (os-independent) driver code.
- *
- * Copyright(c) 2000 Broadcom, Inc.
- * $Id: et_export.h,v 1.1 Broadcom SDK $
- */
- #ifndef _et_export_h_
- #define _et_export_h_
- /* misc callbacks */
- extern void et_init(void *et);
- extern void et_reset(void *et);
- extern void et_link_up(void *et);
- extern void et_link_down(void *et);
- extern int et_up(void *et);
- extern int et_down(void *et, int reset);
- extern void et_dump(void *et, uchar *buf, uint len);
- #ifdef BCM47XX_CHOPS
- /* for BCM5222 dual-phy shared mdio contortion */
- extern void *et_phyfind(void *et, uint coreunit);
- extern uint16 et_phyrd(void *et, uint phyaddr, uint reg);
- extern void et_phywr(void *et, uint reg, uint phyaddr, uint16 val);
- #endif
- #endif /* _et_export_h_ */