Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/htc_drv_init.c

Issue 5326002: Update compat-wireless to 2.6.36-5-spn (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Fixes for !ACK handling, missing local changes, log message fixes Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 Atheros Communications Inc. 2 * Copyright (c) 2010 Atheros Communications Inc.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above 5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies. 6 * copyright notice and this permission notice appear in all copies.
7 * 7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 goto err; 238 goto err;
239 239
240 /* 240 /*
241 * Setup required credits before initializing HTC. 241 * Setup required credits before initializing HTC.
242 * This is a bit hacky, but, since queuing is done in 242 * This is a bit hacky, but, since queuing is done in
243 * the HIF layer, shouldn't matter much. 243 * the HIF layer, shouldn't matter much.
244 */ 244 */
245 245
246 switch(devid) { 246 switch(devid) {
247 case 0x7010: 247 case 0x7010:
248 case 0x7015:
248 case 0x9018: 249 case 0x9018:
249 priv->htc->credits = 45; 250 priv->htc->credits = 45;
250 break; 251 break;
251 default: 252 default:
252 priv->htc->credits = 33; 253 priv->htc->credits = 33;
253 } 254 }
254 255
255 ret = htc_init(priv->htc); 256 ret = htc_init(priv->htc);
256 if (ret) 257 if (ret)
257 goto err; 258 goto err;
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 } 907 }
907 module_init(ath9k_htc_init); 908 module_init(ath9k_htc_init);
908 909
909 static void __exit ath9k_htc_exit(void) 910 static void __exit ath9k_htc_exit(void)
910 { 911 {
911 ath9k_hif_usb_exit(); 912 ath9k_hif_usb_exit();
912 ath9k_htc_debug_remove_root(); 913 ath9k_htc_debug_remove_root();
913 printk(KERN_INFO "ath9k_htc: Driver unloaded\n"); 914 printk(KERN_INFO "ath9k_htc: Driver unloaded\n");
914 } 915 }
915 module_exit(ath9k_htc_exit); 916 module_exit(ath9k_htc_exit);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698