summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-24 19:00:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-24 19:00:34 +0000
commitdad152d741548bdbb51795e095bfa2f7569a4ee1 (patch)
tree6e786f5d2ac5361c1030b0e523783078b98f2602 /sys/arch
parent31afed833105b0a4c1e43fe6b85d956d03e6d116 (diff)
move cdev_decl() for usb devices into one place.
usage of cdev_decl() in the driver code is more tricky since i have kqueue mods here and there and will fix that on that way through.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/conf.c7
-rw-r--r--sys/arch/i386/i386/conf.c9
-rw-r--r--sys/arch/macppc/macppc/conf.c9
-rw-r--r--sys/arch/sparc64/include/conf.h10
4 files changed, 4 insertions, 31 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 37f4d627d7c..36c17de5846 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.42 2002/06/19 02:52:23 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.43 2002/06/24 19:00:33 mickey Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -120,15 +120,10 @@ cdev_decl(ksyms);
/* USB Devices */
#include "usb.h"
-cdev_decl(usb);
#include "uhid.h"
-cdev_decl(uhid);
#include "ugen.h"
-cdev_decl(ugen);
#include "ulpt.h"
-cdev_decl(ulpt);
#include "ucom.h"
-cdev_decl(ucom);
#include "pf.h"
#ifdef USER_PCICONF
#include "pci.h"
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 1f25084e4b4..d6356407da5 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.95 2002/06/19 02:52:23 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.96 2002/06/24 19:00:33 mickey Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -187,19 +187,12 @@ cdev_decl(wdt);
#include "ksyms.h"
cdev_decl(ksyms);
#include "usb.h"
-cdev_decl(usb);
#include "uhid.h"
-cdev_decl(uhid);
#include "ugen.h"
-cdev_decl(ugen);
#include "ulpt.h"
-cdev_decl(ulpt);
#include "urio.h"
-cdev_decl(urio);
#include "ucom.h"
-cdev_decl(ucom);
#include "uscanner.h"
-cdev_decl(uscanner);
#include "cz.h"
cdev_decl(cztty);
#include "radio.h"
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c
index 1d33e6b0cbf..eb4e368b9ce 100644
--- a/sys/arch/macppc/macppc/conf.c
+++ b/sys/arch/macppc/macppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.14 2002/06/19 02:52:23 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.15 2002/06/24 19:00:33 mickey Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -119,19 +119,12 @@ cdev_decl(xfs_dev);
#include "ksyms.h"
cdev_decl(ksyms);
#include "usb.h"
-cdev_decl(usb);
#include "uhid.h"
-cdev_decl(uhid);
#include "ugen.h"
-cdev_decl(ugen);
#include "ulpt.h"
-cdev_decl(ulpt);
#include "urio.h"
-cdev_decl(urio);
#include "ucom.h"
-cdev_decl(ucom);
#include "uscanner.h"
-cdev_decl(uscanner);
#include "inet.h"
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h
index 7af2252db93..a0033d0ffc8 100644
--- a/sys/arch/sparc64/include/conf.h
+++ b/sys/arch/sparc64/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.10 2002/01/30 23:58:03 jason Exp $ */
+/* $OpenBSD: conf.h,v 1.11 2002/06/24 19:00:33 mickey Exp $ */
/* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */
/*-
@@ -113,14 +113,6 @@ cdev_decl(pcons);
cdev_decl(com);
-cdev_decl(usb);
-cdev_decl(uhid);
-cdev_decl(ugen);
-cdev_decl(ulpt);
-cdev_decl(urio);
-cdev_decl(ucom);
-cdev_decl(uscanner);
-
cdev_decl(mtty);
cdev_decl(mbpp);
cdev_decl(stty);