From 6dfe125b9c347438326302eb3d6b3da31504e7d0 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 13 Nov 2003 14:39:38 +0000 Subject: [PATCH] we could have lpt at puc. --- sys/arch/macppc/conf/GENERIC | 5 +++-- sys/arch/macppc/conf/files.macppc | 5 ++++- sys/arch/macppc/conf/majors.macppc | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sys/arch/macppc/conf/GENERIC b/sys/arch/macppc/conf/GENERIC index 953c81cbd7c7..2305b5b7d34b 100644 --- a/sys/arch/macppc/conf/GENERIC +++ b/sys/arch/macppc/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.165 2003/10/18 08:30:14 lukem Exp $ +# $NetBSD: GENERIC,v 1.166 2003/11/13 14:39:38 christos Exp $ # # GENERIC machine description file # @@ -22,7 +22,7 @@ include "arch/macppc/conf/std.macppc" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC-$Revision: 1.165 $" +#ident "GENERIC-$Revision: 1.166 $" maxusers 32 @@ -185,6 +185,7 @@ pchb* at pci? dev ? function ? # PCI-Host bridges ppb* at pci? dev ? function ? # PCI-PCI bridges # XXX 'puc's aren't really bridges, but there's no better place for them here puc* at pci? dev ? function ? # PCI "universal" comm. cards +lpt* at puc? port ? # || ports on > "universal" comm boards # PCI Network devices an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) diff --git a/sys/arch/macppc/conf/files.macppc b/sys/arch/macppc/conf/files.macppc index 3e5624118d53..5c066658f5be 100644 --- a/sys/arch/macppc/conf/files.macppc +++ b/sys/arch/macppc/conf/files.macppc @@ -1,4 +1,4 @@ -# $NetBSD: files.macppc,v 1.58 2003/06/11 07:35:39 hamajima Exp $ +# $NetBSD: files.macppc,v 1.59 2003/11/13 14:39:38 christos Exp $ # # macppc-specific configuration info @@ -178,6 +178,9 @@ device macofcons: tty attach macofcons at pci file arch/macppc/dev/ofcons.c macofcons needs-flag +attach lpt at puc with lpt_puc +file dev/pci/lpt_puc.c lpt_puc + include "dev/usb/files.usb" include "dev/ieee1394/files.ieee1394" diff --git a/sys/arch/macppc/conf/majors.macppc b/sys/arch/macppc/conf/majors.macppc index 658d92dcd1ed..76c1278ce51e 100644 --- a/sys/arch/macppc/conf/majors.macppc +++ b/sys/arch/macppc/conf/majors.macppc @@ -1,4 +1,4 @@ -# $NetBSD: majors.macppc,v 1.17 2003/10/24 08:09:54 jdolecek Exp $ +# $NetBSD: majors.macppc,v 1.18 2003/11/13 14:39:38 christos Exp $ # # Device majors for macppc # @@ -21,7 +21,7 @@ device-major ch char 16 ch device-major ss char 17 ss device-major uk char 18 uk device-major ses char 19 ses -#device-major lpt char 20 lpt +device-major lpt char 20 lpt device-major ipl char 21 ipfilter device-major ite char 22 ite