Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cb7468ef4cce8f240604b80b82ac157fa9930e94
Commit:     cb7468ef4cce8f240604b80b82ac157fa9930e94
Parent:     04add672cf98a788e9e0d753b2ccfa4a3a0caf56
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 31 23:48:12 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 1 16:22:41 2007 -0800

    [PATCH] via quirk update
    
    Add special handling for the VT82C686.
    
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Cc: Nick Piggin <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 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 16945c2..dcc0c1a 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -661,9 +661,11 @@ static void quirk_via_bridge(struct pci_dev *dev)
        /* See what bridge we have and find the device ranges */
        switch (dev->device) {
        case PCI_DEVICE_ID_VIA_82C686:
-               /* 82C686 is special */
-               via_vlink_dev_lo = 7;
-               via_vlink_dev_hi = 7;
+               /* The VT82C686 is special, it attaches to PCI and can have
+                  any device number. All its subdevices are functions of
+                  that single device. */
+               via_vlink_dev_lo = PCI_SLOT(dev->devfn);
+               via_vlink_dev_hi = PCI_SLOT(dev->devfn);
                break;
        case PCI_DEVICE_ID_VIA_8237:
        case PCI_DEVICE_ID_VIA_8237A:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to