Lines 250-261
Link Here
|
250 |
vendor &= 0xffff; |
250 |
vendor &= 0xffff; |
251 |
switch (vendor) { |
251 |
switch (vendor) { |
252 |
case PCI_VENDOR_ID_VIA: |
252 |
case PCI_VENDOR_ID_VIA: |
|
|
253 |
#ifdef CONFIG_GART_IOMMU |
253 |
if (end_pfn >= (0xffffffff>>PAGE_SHIFT) && |
254 |
if (end_pfn >= (0xffffffff>>PAGE_SHIFT) && |
254 |
!iommu_aperture_allowed) { |
255 |
!iommu_aperture_allowed) { |
255 |
printk(KERN_INFO |
256 |
printk(KERN_INFO |
256 |
"Looks like a VIA chipset. Disabling IOMMU. Overwrite with \"iommu=allowed\"\n"); |
257 |
"Looks like a VIA chipset. Disabling IOMMU. Overwrite with \"iommu=allowed\"\n"); |
257 |
iommu_aperture_disabled = 1; |
258 |
iommu_aperture_disabled = 1; |
258 |
} |
259 |
} |
|
|
260 |
#endif |
259 |
/* FALL THROUGH */ |
261 |
/* FALL THROUGH */ |
260 |
case PCI_VENDOR_ID_NVIDIA: |
262 |
case PCI_VENDOR_ID_NVIDIA: |
261 |
#ifndef CONFIG_SMP |
263 |
#ifndef CONFIG_SMP |