Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 1996 11:03:51 -0600
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        stable@freebsd.org
Cc:        hackers@freebsd.org, ccd@forgery.cs.berkeley.edu
Subject:   Re: New version of ccd driver available 
Message-ID:  <199601311703.LAA24433@jake.lodgenet.com>
In-Reply-To: Your message of "Wed, 31 Jan 1996 03:34:52 PST." <199601311134.DAA07361@silvia.HIP.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help

Satoshi,
this is way cool.

> 
>  a. Since I didn't know how to properly register a pseudo-device, this
>     baby thinks it's a ISA device (look at kern_devconf and isa_driver
>     and such in ccd.c).  It should be specified like "pseudo-device
>     ccd 4" in the kernel configuration file (like the manual says).
> 

I believe that you must have something like:

#include <sys/kernel.h>

PSEUDO_SET(ccdattach, ccd);

in the source.

then of course remove the isa_* structures and probably ccdprobe().
I think you can remove the `device-driver' clause from sys/conf/files
too.

It uses a linker-set to attach the pseudo devices even before the
isa/pci/eisa bus stuff.  At least thats what if_tun, if_ppp, ...
appear to do.

all of this is from memory, so your mileage may vary.  This
probably isn't too high priority for you now but
hope it helps.

> 
> Satoshi
> 

eric.

--
erich@lodgenet.com
erich@rrnet.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601311703.LAA24433>