[PATCH] ppbus/ppc locking
John Baldwin
jhb at freebsd.org
Fri Jan 23 05:42:00 PST 2009
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
More information about the freebsd-current
mailing list