[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2203161837130.24248@angie.orcam.me.uk>
Date: Wed, 16 Mar 2022 18:45:45 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Guo Ren <guoren@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>,
Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
Anton Ivanov <anton.ivanov@...bridgegreys.com>,
Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-csky@...r.kernel.org,
linux-riscv@...ts.infradead.org, linux-s390@...r.kernel.org,
linux-um@...ts.infradead.org, linux-xtensa@...ux-xtensa.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [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@...am.me.uk>
>
> Acked-by: Sudip Mukherjee <sudipm.mukherjee@...il.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
Powered by blists - more mailing lists