]> git.baikalelectronics.ru Git - kernel.git/commit
mn10300: make the ASB2305's PCnet32 NIC work by using the PCI bridge's SRAM
authorDavid Howells <dhowells@redhat.com>
Fri, 8 Jan 2010 22:43:21 +0000 (14:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 11 Jan 2010 17:34:10 +0000 (09:34 -0800)
commit87c26e4bf30e6a6f3f56ad11106bcd2446d02dc6
treeb67c2c3787b1d4aebf79a2cdb08d89c0f159be4e
parentb8390cbc1c55392931bf8019ea0c1ee431f70c31
mn10300: make the ASB2305's PCnet32 NIC work by using the PCI bridge's SRAM

Access to the ASB2305's PCnet32 NIC doesn't work correctly because when
the NIC attempts to update the ring buffer flags by DMA, the change to RAM
crops up about 17uS after the interrupt line is asserted.  This is almost
certainly due to a bug in the PCI bridge FPGA on that board.

We can get around this by making dma_alloc_coherent() put the ring buffer
in the SRAM attached to the PCI bridge rather than in the SDRAM.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/mm/dma-alloc.c