diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
commit | 21b4e736922f546e0f1aa7b9d6c442f309a2444a (patch) | |
tree | e1be8645297f8ebe87445251743ebcc52081a20d /drivers/pci | |
parent | 34161db6b14d984fb9b06c735b7b42f8803f6851 (diff) | |
parent | 68380b581383c028830f79ec2670f4a193854aa6 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/msi.c | 2 | ||||
-rw-r--r-- | drivers/pci/probe.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 9fc9a34ef24a..9168401401bc 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | static DEFINE_SPINLOCK(msi_lock); | 27 | static DEFINE_SPINLOCK(msi_lock); |
28 | static struct msi_desc* msi_desc[NR_IRQS] = { [0 ... NR_IRQS-1] = NULL }; | 28 | static struct msi_desc* msi_desc[NR_IRQS] = { [0 ... NR_IRQS-1] = NULL }; |
29 | static kmem_cache_t* msi_cachep; | 29 | static struct kmem_cache* msi_cachep; |
30 | 30 | ||
31 | static int pci_msi_enable = 1; | 31 | static int pci_msi_enable = 1; |
32 | 32 | ||
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 0eeac60042b3..6a3c1e728900 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -873,6 +873,7 @@ void __devinit pci_device_add(struct pci_dev *dev, struct pci_bus *bus) | |||
873 | dev->dev.release = pci_release_dev; | 873 | dev->dev.release = pci_release_dev; |
874 | pci_dev_get(dev); | 874 | pci_dev_get(dev); |
875 | 875 | ||
876 | set_dev_node(&dev->dev, pcibus_to_node(bus)); | ||
876 | dev->dev.dma_mask = &dev->dma_mask; | 877 | dev->dev.dma_mask = &dev->dma_mask; |
877 | dev->dev.coherent_dma_mask = 0xffffffffull; | 878 | dev->dev.coherent_dma_mask = 0xffffffffull; |
878 | 879 | ||