2 * Required functions exported by the port-specific (os-dependent) driver
3 * to common (os-independent) driver code.
5 * Copyright 2006, Broadcom Corporation
8 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
9 * the contents of this file may not be disclosed to third parties, copied
10 * or duplicated in any form, in whole or in part, without the prior
11 * written permission of Broadcom Corporation.
12 * $Id: et_export.h,v 1.1.1.1 2007/03/20 12:22:00 roly Exp $
19 extern void et_init(void *et
);
20 extern void et_reset(void *et
);
21 extern void et_link_up(void *et
);
22 extern void et_link_down(void *et
);
23 extern int et_up(void *et
);
24 extern int et_down(void *et
, int reset
);
25 extern void et_dump(void *et
, struct bcmstrbuf
*b
);
26 extern void et_intrson(void *et
);
28 /* for BCM5222 dual-phy shared mdio contortion */
29 extern void *et_phyfind(void *et
, uint coreunit
);
30 extern uint16
et_phyrd(void *et
, uint phyaddr
, uint reg
);
31 extern void et_phywr(void *et
, uint reg
, uint phyaddr
, uint16 val
);
33 #endif /* _et_export_h_ */