lkml.org 
[lkml]   [2022]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] parport_pc: Also enable driver for PCI systems
    On Wed, 2 Mar 2022, Sudip Mukherjee wrote:

    > > Make the PARPORT_PC option selectable also for PCI systems then, except
    > > for the s390 arch, however limit the availability of PARPORT_PC_SUPERIO
    > > to platforms that enable ARCH_MIGHT_HAVE_PC_PARPORT. Update platforms
    > > accordingly for the required <asm/parport.h> header.
    > >
    > > Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
    >
    > Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
    >
    > Usually parport patches goes via Greg's tree. Adding Greg.

    Thank you. I have since been able to move my parport card to my RISC-V
    machine, and the result is as follows:

    parport_pc 0000:07:00.0: enabling device (0000 -> 0001)
    PCI parallel port detected: 1415:c118, I/O at 0x8(0x4), IRQ 38
    parport0: PC-style at 0x8 (0x4), irq 38, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP]
    lp0: using parport0 (interrupt-driven).

    with the patch from:

    <https://lore.kernel.org/lkml/alpine.DEB.2.21.2202260044180.25061@angie.orcam.me.uk/>

    also applied so as to prevent I/O port 0 from being assigned by PCI code
    that wouldn't actually work (so allocation for the two BARs is at 0x4 and
    0x8 instead).

    Maciej

    \
     
     \ /
      Last update: 2022-09-17 16:17    [W:4.656 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site