Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / emf / igs / igs_linux.h
blobeec31b18480a4093f385ab7d9b1afe32718defdb
1 /*
2 * Copyright (C) 2009, Broadcom Corporation
3 * All Rights Reserved.
4 *
5 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
6 * the contents of this file may not be disclosed to third parties, copied
7 * or duplicated in any form, in whole or in part, without the prior
8 * written permission of Broadcom Corporation.
10 * $Id: igs_linux.h,v 1.2 2007/03/17 03:33:29 Exp $
13 #ifndef _IGS_LINUX_H_
14 #define _IGS_LINUX_H_
16 #define IGS_MAX_INST 16
18 typedef struct igs_info
20 struct igs_info *next; /* Next pointer */
21 int8 inst_id[16]; /* IGS instance identifier */
22 osl_t *osh; /* OS layer handle */
23 void *igsc_info; /* IGSC Global data handle */
24 struct net_device *br_dev; /* Bridge device for the instance */
25 } igs_info_t;
27 typedef struct igs_struct
29 struct sock *nl_sk; /* Netlink socket */
30 igs_info_t *list_head; /* IGS instance list head */
31 osl_lock_t lock; /* IGS locking */
32 int32 inst_count; /* IGS instance count */
33 } igs_struct_t;
35 #endif /* _IGS_LINUX_H_ */