On Tue, Sep 10, 2013 at 06:23:38PM +0200, Markus Uhlin wrote:
> Hi
> 
> Can you please add support for this PCI-E card:
> http://www.delock.de/produkte/F_324_Parallel_89219/merkmale.html
> 
> It's currently not recognized by the kernel. It lets you connect older 
> printers (not usb).
> 
> The kernel prints out this message:
> vendor "Oxford", unknown product 0xc110 (class communications subclass 
> parallel, rev 0x00) at pci3 dev 0 function 0 not configured
> 
> Linux have support for it. I use another workaround now, but I wish you 
> can add support for this card.
> 
> I have included two .txt files. They show information about the 
> device/card which is displayed by `pcidump'.
> 
> Also I wonder if it's hard to add this card, if I could do it myself, so 
> it'll be recognized by the kernel?
> 
> Although I have good knowledge of the C language, it's probably better 
> to have it done by professionals and have it included in the upstream 
> release.
> 
> E-mail me instructions on what more information to provide, if you need 
> this.

try this:

Index: pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.87
diff -u -p -r1.87 pucdata.c
--- pucdata.c   21 Apr 2013 20:46:28 -0000      1.87
+++ pucdata.c   11 Sep 2013 03:39:29 -0000
@@ -1025,6 +1025,15 @@ const struct puc_device_description puc_
            },
        },
 
+       /* Oxford Semiconductor OXPCIe952 Parallel port */
+       {   /* "Oxford Semiconductor OXPCIe952 Parallel port", */
+           {   PCI_VENDOR_OXFORD2, 0xc110,                             0, 0 },
+           {   0xffff, 0xffff,                                         0, 0 },
+           {
+               { PUC_LPT, 0x10, 0x0000 },
+           },
+       },
+
        /* Oxford Semiconductor OX16PCI954 PCI Parallel port */
        {   /* "Oxford Semiconductor OX16PCI954 Parallel port", */
            {   PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_OX16PCI954P,    0, 0 },

Reply via email to