OLD | NEW |
1 /* | 1 /* |
2 * linux/drivers/net/wireless/libertas/if_sdio.c | 2 * linux/drivers/net/wireless/libertas/if_sdio.c |
3 * | 3 * |
4 * Copyright 2007-2008 Pierre Ossman | 4 * Copyright 2007-2008 Pierre Ossman |
5 * | 5 * |
6 * Inspired by if_cs.c, Copyright 2007 Holger Schurig | 6 * Inspired by if_cs.c, Copyright 2007 Holger Schurig |
7 * | 7 * |
8 * This program is free software; you can redistribute it and/or modify | 8 * This program is free software; you can redistribute it and/or modify |
9 * it under the terms of the GNU General Public License as published by | 9 * it under the terms of the GNU General Public License as published by |
10 * the Free Software Foundation; either version 2 of the License, or (at | 10 * the Free Software Foundation; either version 2 of the License, or (at |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 int model; | 122 int model; |
123 unsigned long ioport; | 123 unsigned long ioport; |
124 unsigned int scratch_reg; | 124 unsigned int scratch_reg; |
125 | 125 |
126 const char *helper; | 126 const char *helper; |
127 const char *firmware; | 127 const char *firmware; |
128 bool helper_allocated; | 128 bool helper_allocated; |
129 bool firmware_allocated; | 129 bool firmware_allocated; |
130 | 130 |
131 » u8» » » buffer[65536]; | 131 » u8» » » buffer[65536] __attribute__((aligned(4))); |
132 | 132 |
133 spinlock_t lock; | 133 spinlock_t lock; |
134 struct if_sdio_packet *packets; | 134 struct if_sdio_packet *packets; |
135 | 135 |
136 struct workqueue_struct *workqueue; | 136 struct workqueue_struct *workqueue; |
137 struct work_struct packet_worker; | 137 struct work_struct packet_worker; |
138 | 138 |
139 u8 rx_unit; | 139 u8 rx_unit; |
140 }; | 140 }; |
141 | 141 |
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 | 1315 |
1316 lbs_deb_leave(LBS_DEB_SDIO); | 1316 lbs_deb_leave(LBS_DEB_SDIO); |
1317 } | 1317 } |
1318 | 1318 |
1319 module_init(if_sdio_init_module); | 1319 module_init(if_sdio_init_module); |
1320 module_exit(if_sdio_exit_module); | 1320 module_exit(if_sdio_exit_module); |
1321 | 1321 |
1322 MODULE_DESCRIPTION("Libertas SDIO WLAN Driver"); | 1322 MODULE_DESCRIPTION("Libertas SDIO WLAN Driver"); |
1323 MODULE_AUTHOR("Pierre Ossman"); | 1323 MODULE_AUTHOR("Pierre Ossman"); |
1324 MODULE_LICENSE("GPL"); | 1324 MODULE_LICENSE("GPL"); |
OLD | NEW |