4 *Copyright (C) 2010 Beceem Communications, Inc.
6 *This program is free software: you can redistribute it and/or modify
7 *it under the terms of the GNU General Public License version 2 as
8 *published by the Free Software Foundation.
10 *This program is distributed in the hope that it will be useful,but
11 *WITHOUT ANY WARRANTY; without even the implied warranty of
12 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 *See the GNU General Public License for more details.
15 *You should have received a copy of the GNU General Public License
16 *along with this program. If not, write to the Free Software Foundation, Inc.,
17 *51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef _INTERFACE_INIT_H
23 #define _INTERFACE_INIT_H
25 #define BCM_USB_VENDOR_ID_T3 0x198f
26 #define BCM_USB_PRODUCT_ID_T3 0x0300
27 #define BCM_USB_PRODUCT_ID_T3B 0x0210
28 #define BCM_USB_PRODUCT_ID_T3L 0x0220
29 #define BCM_USB_PRODUCT_ID_SYM 0x15E
31 #define BCM_VENDOR_ID_ASUS 0x0b05
32 #define BCM_PRODUCT_ID_25E 0x1780
33 #define BCM_PRODUCT_ID_35E 0x1781
35 #define BCM_VENDOR_ID_ZTE 0x19d2
36 #define BCM_PRODUCT_ID_AX226 0x0172
37 #define BCM_PRODUCT_ID_AX320 0x0044
39 #define BCM_USB_MINOR_BASE 192
41 #define BCM_MAX_DEVICE_SUPPORTED 1
44 INT
InterfaceInitialize(void);
46 INT
InterfaceExit(void);
48 #ifndef BCM_SHM_INTERFACE
49 INT
InterfaceAdapterInit(PS_INTERFACE_ADAPTER Adapter
);
51 INT
usbbcm_worker_thread(PS_INTERFACE_ADAPTER psIntfAdapter
);
53 VOID
InterfaceAdapterFree(PS_INTERFACE_ADAPTER psIntfAdapter
);
56 INT
InterfaceAdapterInit(PMINI_ADAPTER Adapter
);
62 ULONG
InterfaceClaimAdapter(PMINI_ADAPTER Adapter
);
64 VOID
InterfaceDDRControllerInit(PMINI_ADAPTER Adapter
);
66 ULONG
InterfaceReset(PMINI_ADAPTER Adapter
);
68 ULONG
InterfaceRegisterResources(PMINI_ADAPTER Adapter
);
70 VOID
InterfaceUnRegisterResources(PMINI_ADAPTER Adapter
);
72 ULONG
InterfaceFirmwareDownload(PMINI_ADAPTER Adapter
);