Re: III. Does this help b43 DMA errors?

2009-11-28 Thread Gábor Stefanik
??? This only adds a printk...

On Sun, Nov 29, 2009 at 12:43 AM, Larry Finger
larry.fin...@lwfinger.net wrote:
 Sorry about the problem with the previous try. This one does write the
 PCI configuration the same as wl does.

 Please see if this one helps.

 Larry

 

 Index: wireless-testing/drivers/ssb/pci.c
 ===
 --- wireless-testing.orig/drivers/ssb/pci.c
 +++ wireless-testing/drivers/ssb/pci.c
 @@ -567,6 +567,8 @@ static int sprom_extract(struct ssb_bus
                         const u16 *in, u16 size)
  {
        pci_write_config_dword(bus-host_pci, 0x40, 0x6030001);
 +       printk(KERN_DEBUG ssb: Set PCI Configuration word 0x40 to 
 +                         0x6030001\n);

        memset(out, 0, sizeof(*out));



 ___
 Bcm43xx-dev mailing list
 Bcm43xx-dev@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/bcm43xx-dev




-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: III. Does this help b43 DMA errors?

2009-11-28 Thread Rafał Miłecki
2009/11/29 Larry Finger larry.fin...@lwfinger.net:
 Sorry about the problem with the previous try. This one does write the
 PCI configuration the same as wl does.

 Please see if this one helps.

 Larry

 

 Index: wireless-testing/drivers/ssb/pci.c
 ===
 --- wireless-testing.orig/drivers/ssb/pci.c
 +++ wireless-testing/drivers/ssb/pci.c
 @@ -567,6 +567,8 @@ static int sprom_extract(struct ssb_bus
                         const u16 *in, u16 size)
  {
        pci_write_config_dword(bus-host_pci, 0x40, 0x6030001);
 +       printk(KERN_DEBUG ssb: Set PCI Configuration word 0x40 to 
 +                         0x6030001\n);

        memset(out, 0, sizeof(*out));

I keep staring at this... And I think you attached patch to locally
patched tree.

-- 
Rafał
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: III. Does this help b43 DMA errors?

2009-11-28 Thread Michael Buesch
On Sunday 29 November 2009 00:43:29 Larry Finger wrote:
 Sorry about the problem with the previous try. This one does write the
 PCI configuration the same as wl does.
 
 Please see if this one helps.

 Index: wireless-testing/drivers/ssb/pci.c
 ===
 --- wireless-testing.orig/drivers/ssb/pci.c
 +++ wireless-testing/drivers/ssb/pci.c
 @@ -567,6 +567,8 @@ static int sprom_extract(struct ssb_bus
const u16 *in, u16 size)
  {
   pci_write_config_dword(bus-host_pci, 0x40, 0x6030001);
 + printk(KERN_DEBUG ssb: Set PCI Configuration word 0x40 to 
 +   0x6030001\n);
 
   memset(out, 0, sizeof(*out));

/me scratches head
quilt refresh? ;)

-- 
Greetings, Michael.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev