puc fails to attach serial ports

David O'Brien obrien at freebsd.org
Tue Dec 13 09:00:22 PST 2005

On Tue, Dec 13, 2005 at 11:01:42AM -0500, John Baldwin wrote:
> Because sio(4) only includes sio_puc.c in the kernel if you have 'puc' in your 
> kernel config, and the puc kernel module only includes the puc files, it 
> doesn't include sio_puc.c and ppc_puc.c.  uart has the same issue as well.  
> Looking at the three attachments, there's no reason for them to be dependent 
> on puc, they don't actually call any symbols in the puc(4) kernel module 
> itself, so they can be compiled into kernels w/o puc without causing any 
> harm.  Then loading puc as a module would work.  Here's a patch:

Isn't there another way?  It just seems wrong to include *_puc bits in
the kernel if you don't have 'puc' in your kernel.  There are some
working on trimming down the kernel for embedded purposes and this patch
seems counter to that effort.
-- David  (obrien at FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?

More information about the freebsd-current mailing list