David Miller writes: > From: Mikael Pettersson <mikpe@xxxxxxxx> > Date: Mon, 3 May 2010 16:12:00 +0200 > > > According to Sun's documentation, a Sun Blade 2500 Red includes > > a PC-style parallel port. > > > > If I build a kernel (any recent 2.6 kernel) with plain parport > > support (PARPORT_PC=y), there are no kernel messages of any kind > > related to parport, indicating it didn't find one. > > Just a missing device ID in the driver, give this patch a try: > > -------------------- > sparc64: Add missing ID to parport probing code. > > SunBlade-2500 has 'parallel' device node with compatible > property "pnpALI,1533,3" so add that to the ID table. > > Reported-by: Mikael Pettersson <mikpe@xxxxxxxx> > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Thanks, seems to work. I now get: parport0: PC-style at 0x7fe01000378 (0x7fe01000778), irq 24 [PCSPP,TRISTATE] Tested-by: Mikael Pettersson <mikpe@xxxxxxxx> > --- > arch/sparc/include/asm/parport.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/arch/sparc/include/asm/parport.h b/arch/sparc/include/asm/parport.h > index c333b8d..d21ad50 100644 > --- a/arch/sparc/include/asm/parport.h > +++ b/arch/sparc/include/asm/parport.h > @@ -228,6 +228,10 @@ static const struct of_device_id ecpp_match[] = { > .name = "parallel", > .compatible = "ns87317-ecpp", > }, > + { > + .name = "parallel", > + .compatible = "pnpALI,1533,3", > + }, > {}, > }; > > -- > 1.7.1.1 > -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html