git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
sparc64
/
kernel
/
pci_iommu.c
diff --git
a/arch/sparc64/kernel/pci_iommu.c
b/arch/sparc64/kernel/pci_iommu.c
index
94a5298
..
2929834
100644
(file)
--- a/
arch/sparc64/kernel/pci_iommu.c
+++ b/
arch/sparc64/kernel/pci_iommu.c
@@
-814,7
+814,7
@@
static void ali_sound_dma_hack(struct pci_dev *pdev, int set_bit)
/* ALI sound chips generate 31-bits of DMA, a special register
* determines what bit 31 is emitted as.
*/
/* ALI sound chips generate 31-bits of DMA, a special register
* determines what bit 31 is emitted as.
*/
- ali_isa_bridge = pci_
find
_device(PCI_VENDOR_ID_AL,
+ ali_isa_bridge = pci_
get
_device(PCI_VENDOR_ID_AL,
PCI_DEVICE_ID_AL_M1533,
NULL);
PCI_DEVICE_ID_AL_M1533,
NULL);
@@
-824,6
+824,7
@@
static void ali_sound_dma_hack(struct pci_dev *pdev, int set_bit)
else
val &= ~0x01;
pci_write_config_byte(ali_isa_bridge, 0x7e, val);
else
val &= ~0x01;
pci_write_config_byte(ali_isa_bridge, 0x7e, val);
+ pci_dev_put(ali_isa_bridge);
}
int pci_dma_supported(struct pci_dev *pdev, u64 device_mask)
}
int pci_dma_supported(struct pci_dev *pdev, u64 device_mask)