Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

FRV: Enable the MB86943 PCI arbiter correctly

Enable the MB93090 motherboard's MB86943 PCI arbiter correctly by assigning to
the register rather than comparing against it. This is required to support
bus mastering.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

David Howells and committed by
Linus Torvalds
04668873 b5625481

+5 -1
+2 -1
arch/frv/mb93090-mb00/pci-vdk.c
··· 400 400 __reg_MB86943_pci_sl_mem_base = __region_CS2 + 0x08000000; 401 401 mb(); 402 402 403 - *(volatile unsigned long *)(__region_CS2+0x01300014) == 1; 403 + /* enable PCI arbitration */ 404 + __reg_MB86943_pci_arbiter = MB86943_PCIARB_EN; 404 405 405 406 ioport_resource.start = (__reg_MB86943_sl_pci_io_base << 9) & 0xfffffc00; 406 407 ioport_resource.end = (__reg_MB86943_sl_pci_io_range << 9) | 0x3ff;
+3
include/asm-frv/mb86943a.h
··· 36 36 #define __reg_MB86943_pci_sl_io_base *(volatile uint32_t *) (__region_CS1 + 0x70) 37 37 #define __reg_MB86943_pci_sl_mem_base *(volatile uint32_t *) (__region_CS1 + 0x78) 38 38 39 + #define __reg_MB86943_pci_arbiter *(volatile uint32_t *) (__region_CS2 + 0x01300014) 40 + #define MB86943_PCIARB_EN 0x00000001 41 + 39 42 #endif /* _ASM_MB86943A_H */