From owner-freebsd-stable Wed Jan 31 08:52:23 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA15969 for stable-outgoing; Wed, 31 Jan 1996 08:52:23 -0800 (PST) Received: from spot.lodgenet.com (lodgenet.iw.net [204.157.148.88]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA15961 Wed, 31 Jan 1996 08:52:17 -0800 (PST) Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by spot.lodgenet.com (8.6.12/8.6.12) with ESMTP id KAA18846; Wed, 31 Jan 1996 10:53:09 -0600 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.7.3/8.6.12) with SMTP id LAA24433; Wed, 31 Jan 1996 11:03:51 -0600 (CST) Message-Id: <199601311703.LAA24433@jake.lodgenet.com> X-Authentication-Warning: jake.lodgenet.com: Host localhost [127.0.0.1] didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 To: stable@freebsd.org cc: hackers@freebsd.org, ccd@forgery.cs.berkeley.edu Subject: Re: New version of ccd driver available In-reply-to: Your message of "Wed, 31 Jan 1996 03:34:52 PST." <199601311134.DAA07361@silvia.HIP.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 31 Jan 1996 11:03:51 -0600 From: "Eric L. Hernes" Sender: owner-stable@freebsd.org Precedence: bulk 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 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