Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / include / hndchipc.h
blob5d76bc34bb59ba54d63cdb3733ec131f4247210e
1 /*
2 * HND SiliconBackplane chipcommon support.
4 * Copyright (C) 2009, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
12 * $Id: hndchipc.h,v 13.6 2008/03/28 19:06:09 Exp $
15 #ifndef _hndchipc_h_
16 #define _hndchipc_h_
18 typedef void (*si_serial_init_fn)(void *regs, uint irq, uint baud_base, uint reg_shift);
20 extern void si_serial_init(si_t *sih, si_serial_init_fn add);
22 extern void *hnd_jtagm_init(si_t *sih, uint clkd, bool exttap);
23 extern void hnd_jtagm_disable(osl_t *osh, void *h);
24 extern uint32 jtag_rwreg(osl_t *osh, void *h, uint32 ir, uint32 dr);
26 typedef void (*cc_isr_fn)(void* cbdata, uint32 ccintst);
28 extern bool si_cc_register_isr(si_t *sih, cc_isr_fn isr, uint32 ccintmask, void *cbdata);
29 extern void si_cc_isr(si_t *sih, chipcregs_t *regs);
31 #endif /* _hndchipc_h_ */