Marvell 88w8385 — различия между версиями

Материал из G900
Перейти к: навигация, поиск
(Новая страница: «== Driver == [http://linuxwireless.org/en/users/Drivers/libertas Libertas] == Firmware == GSPI mode: Файл:Gspi8385 fw.tar.gz»)
 
 
(не показаны 3 промежуточные версии этого же участника)
Строка 1: Строка 1:
 +
'''[ [[Toshiba G900]] ] | [ [[Toshiba G900 TODO|TODO]] ] | [ [[FAQ|FAQ]] ] | [ [[Toshiba G900 Technical Specification| Характеристики]] ] | [ [[kernel compile| Компиляция ядра]] ] | [ [[Android compile| Компиляция Андройда]] ] '''
 +
 
== Driver ==
 
== Driver ==
  
 
  [http://linuxwireless.org/en/users/Drivers/libertas Libertas]
 
  [http://linuxwireless.org/en/users/Drivers/libertas Libertas]
 +
 +
diff -NEur a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
 +
--- 2.6.33-vanila/drivers/net/wireless/libertas/main.c 2010-02-24 23:52:17.000000000 +0500
 +
+++ 2.6.33/drivers/net/wireless/libertas/main.c 2010-07-17 04:57:30.000000000 +0600
 +
@@ -608,9 +608,11 @@
 +
 +
spin_lock_irq(&priv->driver_lock);
 +
if (!priv->dnld_sent && priv->tx_pending_len > 0) {
 +
+ spin_unlock_irq(&priv->driver_lock);
 +
int ret = priv->hw_host_to_card(priv, MVMS_DAT,
 +
priv->tx_pending_buf,
 +
priv->tx_pending_len);
 +
+ spin_lock_irq(&priv->driver_lock);
 +
if (ret) {
 +
lbs_deb_tx("host_to_card failed %d\n", ret);
 +
priv->dnld_sent = DNLD_RES_RECEIVED;
  
 
== Firmware ==
 
== Firmware ==
  
 
GSPI mode: [[Файл:Gspi8385 fw.tar.gz]]
 
GSPI mode: [[Файл:Gspi8385 fw.tar.gz]]

Текущая версия на 20:32, 22 июня 2011

[ Toshiba G900 ] | [ TODO ] | [ FAQ ] | [ Характеристики ] | [ Компиляция ядра ] | [ Компиляция Андройда ]

Driver

Libertas
diff -NEur a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
--- 2.6.33-vanila/drivers/net/wireless/libertas/main.c	2010-02-24 23:52:17.000000000 +0500
+++ 2.6.33/drivers/net/wireless/libertas/main.c	2010-07-17 04:57:30.000000000 +0600
@@ -608,9 +608,11 @@

		spin_lock_irq(&priv->driver_lock);
		if (!priv->dnld_sent && priv->tx_pending_len > 0) {
+			spin_unlock_irq(&priv->driver_lock);
			int ret = priv->hw_host_to_card(priv, MVMS_DAT,
							priv->tx_pending_buf,
							priv->tx_pending_len);
+			spin_lock_irq(&priv->driver_lock);
			if (ret) {
				lbs_deb_tx("host_to_card failed %d\n", ret);
				priv->dnld_sent = DNLD_RES_RECEIVED;

Firmware

GSPI mode: Файл:Gspi8385 fw.tar.gz