All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <dgolle@allnet.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9380 appears as product id 0xABCD instead of 0x0030
Date: Tue, 11 Oct 2011 14:36:45 +0200	[thread overview]
Message-ID: <4E94385D.60808@allnet.de> (raw)
In-Reply-To: <0880e202-fdc7-40ac-a6cd-955767e8ac7c@CHB500181>

Sure, that's what I did already to make it work at least a bit, but run into DMA
problems once there was any serious traffic (using Kernel 2.6.39 and
compat-wireless 2011-06-20)
Kernel 3.0.4 with compat-wireless 2011-10-05 seems to work quite nice, at least
for now... I'll continue testing that in the next days.


On 10/11/2011 09:58 AM, Wojciech Dubowik wrote:
>> Hi!
>> I want to use an AR9380 mini pci-e module on kirkwood. under x86 the
>> module
>> works fine and appears as product-id 0x0030, on kirkwood the same
>> module shows
>> up as product-id 0xabcd.
>> Anyone knows possible reasons for this to happen?
>> (First I suspected there could be an PCI expansion ROM executed by
>> the x86 BIOS,
>> that doesn't seem to be that case.)
>> Any hints welcome :)
> 
> You could use sth like that in your setup.
> 
> ---
> Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/pci.c
> ===================================================================
> --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/pci.c	2011-05-31 21:02:34.000000000 +0200
> +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/pci.c	2011-06-06 12:58:57.578412992 +0200
> @@ -30,6 +30,7 @@
>  	{ PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI   */
>  	{ PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */
>  	{ PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E  AR9300 */
> +	{ PCI_VDEVICE(ATHEROS, 0xABCD) }, /* PCI-E  AR9380 */
>  	{ PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E  AR9485 */
>  	{ 0 }
>  };
> Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.c
> ===================================================================
> --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/hw.c	2011-06-06 12:58:50.000000000 +0200
> +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.c	2011-06-06 13:00:12.568412970 +0200
> @@ -653,6 +653,7 @@
>  	case AR2427_DEVID_PCIE:
>  	case AR9300_DEVID_PCIE:
>  	case AR9300_DEVID_AR9485_PCIE:
> +	case AR9300_DEVID_AR9380_PCIE:
>  	case AR9300_DEVID_AR9330:
>  	case AR9300_DEVID_AR9340:
>  		break;
> Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.h
> ===================================================================
> --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/hw.h	2011-06-06 12:58:50.000000000 +0200
> +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.h	2011-06-06 12:58:57.578412992 +0200
> @@ -44,6 +44,7 @@
>  #define AR9287_DEVID_PCIE	0x002e
>  #define AR9300_DEVID_PCIE	0x0030
>  #define AR9300_DEVID_AR9340	0x0031
> +#define AR9300_DEVID_AR9380_PCIE 0xabcd
>  #define AR9300_DEVID_AR9485_PCIE 0x0032
>  #define AR9300_DEVID_AR9330	0x0035
> --- 
> 
> 
> It has worked for me on kirkwood platform.
> 
> Wojtek
> 
> 
>>
>> Cheers
>>
>> Daniel
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>

  parent reply	other threads:[~2011-10-11 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 13:42 [ath9k-devel] AR9380 appears as product id 0xABCD instead of 0x0030 Daniel Golle
2011-10-10 14:36 ` Adrian Chadd
2011-10-11  7:18   ` Mohammed Shafi
2011-10-11  7:58 ` Wojciech Dubowik
2011-10-11 10:27   ` Adrian Chadd
2011-10-11 12:36   ` Daniel Golle [this message]
2011-10-11 13:17     ` Mohammed Shafi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E94385D.60808@allnet.de \
    --to=dgolle@allnet.de \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.