]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Replace HAVE_ARCH_PCI_MWI with PCI_DISABLE_MWI
authorMatthew Wilcox <matthew@wil.cx>
Tue, 10 Oct 2006 14:01:21 +0000 (08:01 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:36:57 +0000 (14:36 -0800)
commitd9f3e86d71a8d871a803a081480f980ffb26d5e6
treec07b98d0e14256e6a91709c39e55074d5ffcc05e
parent614124cb7bcbdc4202b3eb8c44a2d1d1fc1b2c43
PCI: Replace HAVE_ARCH_PCI_MWI with PCI_DISABLE_MWI

pSeries is the only architecture left using HAVE_ARCH_PCI_MWI and it's
really inappropriate for its needs.  It really wants to disable MWI
altogether.  So here are a pair of stub implementations for pci_set_mwi
and pci_clear_mwi.

Also rename pci_generic_prep_mwi to pci_set_cacheline_size since that
better reflects what it does.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c
include/asm-powerpc/pci.h