- 07 Mar, 2008 8 commits
-
-
Nick Kossifidis authored
Add 2413 to srev_names so that it shows up during module load. This is based on the new patch 7 which did not introduce a helper on ath5k_hw_reset(). Changes-licensed-under: 3-clause-BSD Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
Make some changes which mimic what we see in register dumps. This patch does not add a helper to ath5k_hw_reset(). It does seem clear we need a re-shuffle around ath5k_hw_reset() though as code in there is lengthy and already hitting 80-char limit. This can be dealt with later though. Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Fix nic_wakeup for PCI-E chips (don't set AR5K_RESET_CTL_PCI bit) * Fix dma size setting for PCI-E chips (thanx to Bob Copeland). Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Since RF2413 it seems that RF_BUFFER settings are different (notice that the last part -"bank 7" or whatever- is smaller than in 5111/5112). So until we know what's going on we assume there is no gain optimization stuff in post-5112 chips. Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Add AR5K_RF2413 to radio check during hw_reset so it doesn't complain * Write ah_phy_spending value we set during attach instead of checking each time for radio revision * Skip txpower setup for RF2413 because it can't transmit with it (weird thing is that RF5413 has no problem with it). Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Attach RF2413. * Propertly handle different AR5K_PHY_SPENDING settings for each RF chip by adding a field in ath5k_hw. This way we won't have to check inside hw_reset (see next patch). Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Add initial settings for RF2413 Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Nick Kossifidis authored
* Add RF2413 srev values and a new entry on ath5k_radio enum for it since it differs from RF5413 (it's not like 5112-2112). Changes-licensed-under: ISC Signed-off-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 06 Mar, 2008 10 commits
-
-
Luis Carlos Cobo authored
The previously unused CR_CAM_MODE register is set to MODE_AP_WDS. This makes the driver ack mesh (WDS) frames. It does not affect Infra functionality of the driver. Previously missing beaconing support has been added. This might also help implement a currently missing ah-hoc mode. Support for interrupts from the device have been added, but we are not handling most of them. Mesh interfaces are considered associated as long as the interface is up. Signed-off-by:
Luis Carlos Cobo <luisca@cozybit.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
David Woodhouse authored
Should be purely cosmetic apart from the removal of the two pointless MAC addresses. Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Dan Williams <dcbw@redhat.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
David Woodhouse authored
Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Dan Williams <dcbw@redhat.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
David Woodhouse authored
Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Dan Williams <dcbw@redhat.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
David Woodhouse authored
The struct enc_key probably wants to die too, but that can come later. Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Dan Williams <dcbw@redhat.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Tomas Winkler authored
This patch fixes reporting rate in RX packets in 52 band. The rate was updated from CCK rate index instead of OFDM rate 6M Most of the patch is collateral clean up Signed-off-by:
Tomas Winkler <tomas.winkler@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Tomas Winkler authored
This patch refactors init geos function. It also fixes few minor bugs. IWL_MAX_RATE -> IWL_RATE_COUNT (IWL_MAX_RATE included also MCS setting) There are 9 and 13 rates for 4965 in 2.4 and 5.2 respectively (rate 60) Signed-off-by:
Tomas Winkler <tomas.winkler@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Tomas Winkler authored
This patch removes unused variable in iwlYYYY_priv Signed-off-by:
Tomas Winkler <tomas.winkler@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Johannes Berg authored
This helps verify that nothing bad is going on in mac80211, it is unfortunately not possible to implement this generically in mac80211 easily because there we can't assume that we only have a single vif which b43 currently can assume. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
Michael Buesch <mb@bu3sch.de> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Johannes Berg authored
This makes access to the STA hash table/list use RCU to protect against freeing of items. However, it's not a true RCU, the copy step is missing: whenever somebody changes a STA item it is simply updated. This is an existing race condition that is now somewhat understandable. This patch also fixes the race key freeing vs. STA destruction by making sure that sta_info_destroy() is always called under RTNL and frees the key. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 05 Mar, 2008 11 commits
-
-
Matthias Kaehlcke authored
COSA/SRP driver: The semaphore channel_data.rsem is used as a mutex, convert it to the mutex API Signed-off-by:
Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Adrian Bunk authored
Make the needlessly global init_tti() static. Signed-off-by:
Adrian Bunk <bunk@kernel.org> Acked-by:
"Ramkrishna Vepa" <Ramkrishna.Vepa@neterion.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Adrian Bunk authored
This patch fixes the following build error introduced by commit a79d8e93 and reported by Olaf Hering: <-- snip --> ... LD .tmp_vmlinux1 arch/powerpc/sysdev/built-in.o: In function `of_add_fixed_phys': fsl_soc.c:(.init.text+0xd34): undefined reference to `fixed_phy_add' make: *** [.tmp_vmlinux1] Error 1 <-- snip --> Signed-off-by:
Adrian Bunk <adrian.bunk@movial.fi> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Adrian Bunk authored
This patch fixes the following build error: <-- snip --> ... CC [M] drivers/net/atarilance.o {standard input}: Assembler messages: {standard input}:406: Error: symbol `Lberr' is already defined {standard input}:460: Error: symbol `Lberr' is already defined make[3]: *** [drivers/net/atarilance.o] Error 1 <-- snip --> Signed-off-by:
Adrian Bunk <bunk@kernel.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Emil Tantilov authored
Signed-off-by:
Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by:
Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Auke Kok authored
This fixes a "trying to free already free IRQ" message and simplifies the shutdown/suspend code by re-using already existing code when going to suspend. The code is now symmetric with e100_resume. Signed-off-by:
Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Thomas Klein authored
Fixed Kconfig: ehea driver requires sparse mem Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Komuro authored
This message is frequently displayed even if normal file-transfer. Signed-off-by:
Komuro <komurojun-mbn@nifty.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Martin Michlmayr authored
The mv643xx_eth driver can be loaded as a platform device, as is done by various Orion (ARM) based devices. The driver needs to define a module alias for the platform driver so udev will load it automatically. Tested with Debian on a QNAP TS-209. Signed-off-by:
Martin Michlmayr <tbm@cyrius.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Ondrej Zary authored
When the chip dies (probably because of a bug somewhere in the driver), de_stop_rxtx() fails and changing the media type crashes the whole machine. Replace BUG_ON() in de_set_media() with a warning. Signed-off-by:
Ondrej Zary <linux@rainbow-software.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
frederic Rodo authored
Signed-off-by:
Frederic Rodo <f.rodo@til-technologies.fr> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- 04 Mar, 2008 6 commits
-
-
Michael Buesch authored
This fixes the module init message to tell that the legacy driver loaded. This makes it less confusing, in case both drivers are loaded. Signed-off-by:
Michael Buesch <mb@bu3sch.de> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Jussi Kivilinna authored
Replace broken code that attempted to copy 6 byte array to 64-bit integer. Due to missing cast to 64-bit integer, left shift operation were 32-bit and lead to bytes been copied over each other. New code uses simple memcpy, for greater readability and efficiency. Signed-off-by:
Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Sebastian Siewior authored
instead of with itself. Signed-off-by:
Sebastian Siewior <bigeasy@linutronix.de> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
David Woodhouse authored
Slightly more useful if we compare it against the sequence number of the command we have outstanding, rather than comparing the reply with itself. Doh. Pointed out by Sebastian Siewior Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Dan Williams <dcbw@redhat.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Johannes Berg authored
When I called p54_parse_eeprom() on a hand-coded structure I managed to make a small mistake with wrap->len which caused a segfault a few lines down when trying to read entry->len. This patch changes the validation code to avoid such problems. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Tested-by:
Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
Johannes Berg authored
Since the EEPROM structure is read from hardware, it is always little endian, annotate that in the struct and make sure to convert where applicable. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Cc: Michael Wu <flamingice@sourmilk.net> Tested-by:
Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-
- 03 Mar, 2008 4 commits
-
-
YOSHIFUJI Hideaki authored
neigh_is_connected() is not popular at all, and the only user drivers/net/cxgb3/l2t.c:t3_l2t_update() also have raw (expanded) expression. Let's expand it and remove the inline function. Signed-off-by:
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
-
Jarek Poplawski authored
Every skb removed from session->reorder_q needs sock_put(). Signed-off-by:
Jarek Poplawski <jarkao2@gmail.com> Acked-by:
James Chapman <jchapman@katalix.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Jarek Poplawski authored
Every skb removed from session->reorder_q needs sock_put(). Signed-off-by:
Jarek Poplawski <jarkao2@gmail.com> Acked-by:
James Chapman <jchapman@katalix.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Pavel Emelyanov authored
There are some place, that calculate the ARP header length. These calculations are correct, but a) some operate with "magic" constants, b) enlarge the code length (sometimes at the cost of coding style), c) are not informative from the first glance. The proposal is to introduce a helper, that includes all the good sides of these calculations. Signed-off-by:
Pavel Emelyanov <xemul@openvz.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 29 Feb, 2008 1 commit
-
-
Pavel Roskin authored
Changes-licensed-under: ISC Signed-off-by:
Pavel Roskin <proski@gnu.org> Acked-by:
Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Acked-by:
Nick Kossifidis <mickflemm@gmail.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
-