Re: [PATCH] ppbus/ppc locking

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 23 Jan 2009 08:38:35 -0500
On Friday 23 January 2009 7:59:52 am Bruce M. Simpson wrote:
> John Baldwin wrote:
> > Try http://www.FreeBSD.org/~jhb/patches/ppc_mpsafe_7.patch  It is a 
complete 
> > backport generated against a fresh stable/7 tree.  It does not need the 
> > interrupt changes since my locking patches actually undo them.
> >
> >   
> 
> After applying this patch to 7.1-RELEASE:
> %%%
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/9 bytes threshold
> ppc0: [ITHREAD]
> ppbus0: <Parallel port bus> on ppc0
> lpt0: <Printer> on ppbus0
> lpt0: [ITHREAD]
> lpt0: Interrupt-driven port
> %%%
> 
> ...I tried printing, didn't work, it seems /dev/lpt0 doesn't exist ?

Hmm you don't see /dev/lpt0 and /dev/lpt0.ctl via ls(1)?  The attach routine 
creates the devices via make_dev() right after the "interrupt-driven port" 
message.

-- 
John Baldwin
Received on Fri Jan 23 2009 - 12:41:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC