lkml.org 
[lkml]   [2009]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/30] PCI: quirks, don't mark one netmos as class other
    Date
    From: Jiri Slaby <jirislaby@gmail.com>

    Let it as serial, since it doesn't have subdevice in the form of 0x00PS.

    Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Alan Cox <alan@etchedpixels.co.uk>
    ---

    drivers/pci/quirks.c | 6 +++++-
    1 files changed, 5 insertions(+), 1 deletions(-)


    diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
    index 92b9efe..5aa2afb 100644
    --- a/drivers/pci/quirks.c
    +++ b/drivers/pci/quirks.c
    @@ -1664,9 +1664,13 @@ static void __devinit quirk_netmos(struct pci_dev *dev)
    * of parallel ports and <S> is the number of serial ports.
    */
    switch (dev->device) {
    + case PCI_DEVICE_ID_NETMOS_9835:
    + /* Well, this rule doesn't hold for the following 9835 device */
    + if (dev->subsystem_vendor == PCI_VENDOR_ID_IBM &&
    + dev->subsystem_device == 0x0299)
    + return;
    case PCI_DEVICE_ID_NETMOS_9735:
    case PCI_DEVICE_ID_NETMOS_9745:
    - case PCI_DEVICE_ID_NETMOS_9835:
    case PCI_DEVICE_ID_NETMOS_9845:
    case PCI_DEVICE_ID_NETMOS_9855:
    if ((dev->class >> 8) == PCI_CLASS_COMMUNICATION_SERIAL &&


    \
     
     \ /
      Last update: 2009-03-24 15:07    [W:2.126 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site