usbmodeswitch: Updated to v.1.2.6 from shibby's branch.
[tomato.git] / release / src-rt / et / sys / etc_adm.h
bloba7157c8f8fb09dd167be9994518a3dd764aab5f8
1 /*
2 * ADMtek switch setup functions
4 * Copyright (C) 2010, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
8 * the contents of this file may not be disclosed to third parties, copied
9 * or duplicated in any form, in whole or in part, without the prior
10 * written permission of Broadcom Corporation.
12 * $Id: etc_adm.h,v 1.11 2008-03-04 22:16:42 Exp $
15 #ifndef _adm_h_
16 #define _adm_h_
18 /* forward declarations */
19 typedef struct adm_info_s adm_info_t;
21 /* interface prototypes */
22 extern adm_info_t *adm_attach(si_t *sih, char *vars);
23 extern void adm_detach(adm_info_t *adm);
24 extern int adm_enable_device(adm_info_t *adm);
25 extern int adm_config_vlan(adm_info_t *adm);
26 #ifdef BCMDBG
27 extern char *adm_dump_regs(adm_info_t *adm, char *buf);
28 #endif
30 #endif /* _adm_h_ */