From owner-freebsd-current  Sat May 18  8:30:45 2002
Delivered-To: freebsd-current@freebsd.org
Received: from mail.inka.de (quechua.inka.de [212.227.14.2])
	by hub.freebsd.org (Postfix) with ESMTP id 9CF9937B403
	for <freebsd-current@freebsd.org>; Sat, 18 May 2002 08:30:41 -0700 (PDT)
Received: from kemoauc.mips.inka.de (uucp@)
	by mail.inka.de with local-bsmtp 
	id 1796AK-0005hR-00; Sat, 18 May 2002 17:30:40 +0200
Received: from kemoauc.mips.inka.de (localhost [127.0.0.1])
	by kemoauc.mips.inka.de (8.12.3/8.12.2) with ESMTP id g4IEpnur057185
	for <freebsd-current@freebsd.org>; Sat, 18 May 2002 16:51:49 +0200 (CEST)
	(envelope-from mailnull@localhost.mips.inka.de)
Received: (from mailnull@localhost)
	by kemoauc.mips.inka.de (8.12.3/8.12.3/Submit) id g4IEpnk5057184
	for freebsd-current@freebsd.org; Sat, 18 May 2002 16:51:49 +0200 (CEST)
From: naddy@mips.inka.de (Christian Weisgerber)
Subject: ppc(4) vs. ppbus(4) module?
Date: Sat, 18 May 2002 14:51:48 +0000 (UTC)
Message-ID: <ac5pq4$1njp$1@kemoauc.mips.inka.de>
Originator: naddy@mips.inka.de (Christian Weisgerber)
To: freebsd-current@freebsd.org
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-current.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current>
X-Loop: FreeBSD.ORG

So far, I've had

device ppc
device ppbus
device lpt

in my KERNEL file to provide parallel printer support.  Now I've
noticed that ppbus and lpt are also available as modules.  However,
when I try to build a kernel with just

device ppc

(intending to load ppbus.ko and lpt.ko later), the build aborts
because sys/isa/ppc.c tries to include ppbus_if.h, which isn't
available without "device ppbus".

Okay, so I'll just include "device ppbus" again, I guess.  But then,
what's the point of having a ppbus.ko at all?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message