diff options
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 16945c2ba2ca..dcc0c1ab95ed 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -661,9 +661,11 @@ static void quirk_via_bridge(struct pci_dev *dev) | |||
661 | /* See what bridge we have and find the device ranges */ | 661 | /* See what bridge we have and find the device ranges */ |
662 | switch (dev->device) { | 662 | switch (dev->device) { |
663 | case PCI_DEVICE_ID_VIA_82C686: | 663 | case PCI_DEVICE_ID_VIA_82C686: |
664 | /* 82C686 is special */ | 664 | /* The VT82C686 is special, it attaches to PCI and can have |
665 | via_vlink_dev_lo = 7; | 665 | any device number. All its subdevices are functions of |
666 | via_vlink_dev_hi = 7; | 666 | that single device. */ |
667 | via_vlink_dev_lo = PCI_SLOT(dev->devfn); | ||
668 | via_vlink_dev_hi = PCI_SLOT(dev->devfn); | ||
667 | break; | 669 | break; |
668 | case PCI_DEVICE_ID_VIA_8237: | 670 | case PCI_DEVICE_ID_VIA_8237: |
669 | case PCI_DEVICE_ID_VIA_8237A: | 671 | case PCI_DEVICE_ID_VIA_8237A: |