[patch] 2.2.18pre1: parallel port PCI card support

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Sep 01 2000 - 08:53:15 EDT

  • Next message: Matthias Andree: "Re: Linux 2.2.18pre1"

    Here is a patch for 2.2.18pre1 which:

    - removes broken Timedia support (see 2.4 for the correct version)
    - adds Boca Research IOPPAR support
    - adds Oxford Semi OX16PCI954 and OX12PCI840 support

    Tim.
    */

    diff -durN linux-2.2.18pre1/drivers/misc/parport_pc.c linux/drivers/misc/parport_pc.c
    --- linux-2.2.18pre1/drivers/misc/parport_pc.c Mon Jun 12 12:12:56 2000
    +++ linux/drivers/misc/parport_pc.c Fri Sep 1 13:44:36 2000
    @@ -902,11 +902,13 @@
                       { { 0, -1 }, } },
                     { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_DUAL_PAR_B, 1,
                       { { 0, -1 }, } },
    + { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_BOCA_IOPPAR, 1,
    + { { 0, -1 }, } },
                     { PCI_VENDOR_ID_AFAVLAB, PCI_DEVICE_ID_AFAVLAB_TK9902, 1,
                       { { 0, 1 }, } },
    - { PCI_VENDOR_ID_TIMEDIA, PCI_DEVICE_ID_TIMEDIA_1889, 1,
    - { { 2, -1 }, } },
    - { PCI_VENDOR_ID_TIMEDIA, PCI_DEVICE_ID_TIMEDIA_4008A, 1,
    + { PCI_VENDOR_ID_OXSEMI, PCI_DEVICE_ID_OXSEMI_OX16PCI954PP, 1,
    + { { 0, -1 }, } },
    + { PCI_VENDOR_ID_OXSEMI, PCI_DEVICE_ID_OXSEMI_OX12PCI840, 1,
                       { { 0, 1 }, } },
                     { 0, }
             };
    diff -durN linux-2.2.18pre1/include/linux/pci.h linux/include/linux/pci.h
    --- linux-2.2.18pre1/include/linux/pci.h Fri Sep 1 12:52:45 2000
    +++ linux/include/linux/pci.h Fri Sep 1 13:43:00 2000
    @@ -1054,10 +1054,15 @@
     #define PCI_DEVICE_ID_LAVA_PARALLEL 0x8000
     #define PCI_DEVICE_ID_LAVA_DUAL_PAR_A 0x8002 /* The Lava Dual Parallel is */
     #define PCI_DEVICE_ID_LAVA_DUAL_PAR_B 0x8003 /* two PCI devices on a card */
    +#define PCI_DEVICE_ID_LAVA_BOCA_IOPPAR 0x8800
     
     #define PCI_VENDOR_ID_TIMEDIA 0x1409
     #define PCI_DEVICE_ID_TIMEDIA_1889 0x7168
     #define PCI_DEVICE_ID_TIMEDIA_4008A 0x7268
    +
    +#define PCI_VENDOR_ID_OXSEMI 0x1415
    +#define PCI_DEVICE_ID_OXSEMI_12PCI840 0x8403
    +#define PCI_DEVICE_ID_OXSEMI_16PCI954PP 0x9513
     
     #define PCI_VENDOR_ID_AFAVLAB 0x14db
     #define PCI_DEVICE_ID_AFAVLAB_TK9902 0x2120
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Sep 01 2000 - 08:56:01 EDT