OLD | NEW |
1 /* | 1 /* |
2 * This file is part of wl1271 | 2 * This file is part of wl1271 |
3 * | 3 * |
4 * Copyright (C) 2008-2010 Nokia Corporation | 4 * Copyright (C) 2008-2010 Nokia Corporation |
5 * | 5 * |
6 * Contact: Luciano Coelho <luciano.coelho@nokia.com> | 6 * Contact: Luciano Coelho <luciano.coelho@nokia.com> |
7 * | 7 * |
8 * This program is free software; you can redistribute it and/or | 8 * This program is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU General Public License | 9 * modify it under the terms of the GNU General Public License |
10 * version 2 as published by the Free Software Foundation. | 10 * version 2 as published by the Free Software Foundation. |
11 * | 11 * |
12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * General Public License for more details. | 15 * General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU General Public License | 17 * You should have received a copy of the GNU General Public License |
18 * along with this program; if not, write to the Free Software | 18 * along with this program; if not, write to the Free Software |
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
20 * 02110-1301 USA | 20 * 02110-1301 USA |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
24 #include <linux/gpio.h> | |
25 #include <linux/slab.h> | 24 #include <linux/slab.h> |
26 | 25 |
27 #include "wl1271_acx.h" | 26 #include "wl1271_acx.h" |
28 #include "wl1271_reg.h" | 27 #include "wl1271_reg.h" |
29 #include "wl1271_boot.h" | 28 #include "wl1271_boot.h" |
30 #include "wl1271_io.h" | 29 #include "wl1271_io.h" |
31 #include "wl1271_event.h" | 30 #include "wl1271_event.h" |
32 | 31 |
33 static struct wl1271_partition_set part_table[PART_TABLE_LEN] = { | 32 static struct wl1271_partition_set part_table[PART_TABLE_LEN] = { |
34 [PART_DOWN] = { | 33 [PART_DOWN] = { |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 | 570 |
572 /* set the wl1271 default filters */ | 571 /* set the wl1271 default filters */ |
573 wl->rx_config = WL1271_DEFAULT_RX_CONFIG; | 572 wl->rx_config = WL1271_DEFAULT_RX_CONFIG; |
574 wl->rx_filter = WL1271_DEFAULT_RX_FILTER; | 573 wl->rx_filter = WL1271_DEFAULT_RX_FILTER; |
575 | 574 |
576 wl1271_event_mbox_config(wl); | 575 wl1271_event_mbox_config(wl); |
577 | 576 |
578 out: | 577 out: |
579 return ret; | 578 return ret; |
580 } | 579 } |
OLD | NEW |