Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch now that duplicated stuff has been moved to sys/con...



details:   https://anonhg.NetBSD.org/src/rev/6b3d507498a0
branches:  trunk
changeset: 507433:6b3d507498a0
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Mar 21 23:42:14 2001 +0000

description:
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
defs for: lpt, joy, pc

diffstat:

 sys/arch/amiga/include/conf.h     |   8 +-------
 sys/arch/amigappc/include/conf.h  |   8 +-------
 sys/arch/arm32/include/conf.h     |  21 +--------------------
 sys/arch/bebox/include/conf.h     |   8 +-------
 sys/arch/hpcarm/include/conf.h    |   8 +-------
 sys/arch/i386/include/conf.h      |   8 +-------
 sys/arch/pc532/include/conf.h     |   9 +--------
 sys/arch/prep/include/conf.h      |   8 +-------
 sys/arch/sandpoint/include/conf.h |   8 +-------
 9 files changed, 9 insertions(+), 77 deletions(-)

diffs (219 lines):

diff -r f082d6622cff -r 6b3d507498a0 sys/arch/amiga/include/conf.h
--- a/sys/arch/amiga/include/conf.h     Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/amiga/include/conf.h     Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.7 1998/10/10 02:00:49 thorpej Exp $ */
+/*     $NetBSD: conf.h,v 1.8 2001/03/21 23:42:14 lukem Exp $   */
 
 /*
  * Copyright (c) 1996 Bernd Ernesti.  All rights reserved.
@@ -58,12 +58,6 @@
        dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
        0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev }
 
-/* open, close, write, ioctl -- XXX should be a generic device */
-#define        cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev }
-
 cdev_decl(ms);
 
 cdev_decl(grf);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/amigappc/include/conf.h
--- a/sys/arch/amigappc/include/conf.h  Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/amigappc/include/conf.h  Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.1 2000/05/25 22:11:59 is Exp $      */
+/*     $NetBSD: conf.h,v 1.2 2001/03/21 23:42:14 lukem Exp $   */
 
 /*
  * Copyright (c) 1996 Bernd Ernesti.  All rights reserved.
@@ -58,12 +58,6 @@
        dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
        0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev }
 
-/* open, close, write, ioctl -- XXX should be a generic device */
-#define        cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev }
-
 cdev_decl(ms);
 
 cdev_decl(grf);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/arm32/include/conf.h
--- a/sys/arch/arm32/include/conf.h     Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/arm32/include/conf.h     Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.17 2001/03/03 18:04:35 bjh21 Exp $  */
+/*     $NetBSD: conf.h,v 1.18 2001/03/21 23:42:15 lukem Exp $  */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -61,19 +61,6 @@
        dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), 0 }
 
 /* open, close, write, ioctl */
-#define cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, seltrue, (dev_type_mmap((*))) enodev, 0 }
-
-/* open, close, read, ioctl */
-#define        cdev_joy_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, seltrue, \
-       (dev_type_mmap((*))) enodev }
-
-/* open, close, write, ioctl */
 #define cdev_beep_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
        (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
@@ -106,12 +93,6 @@
        dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
        0, seltrue, (dev_type_mmap((*))) enodev, 0 }
 
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
-       dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
-
 /* open, close, read, ioctl */
 #define cdev_prof_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/bebox/include/conf.h
--- a/sys/arch/bebox/include/conf.h     Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/bebox/include/conf.h     Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.3 1998/09/05 15:28:06 christos Exp $        */
+/*     $NetBSD: conf.h,v 1.4 2001/03/21 23:42:15 lukem Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -46,12 +46,6 @@
 bdev_decl(fd);
 cdev_decl(fd);
 
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
-       dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
-
 cdev_decl(pc);
 
 cdev_decl(mms);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/hpcarm/include/conf.h
--- a/sys/arch/hpcarm/include/conf.h    Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/hpcarm/include/conf.h    Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.3 2001/03/04 14:14:23 bjh21 Exp $   */
+/*     $NetBSD: conf.h,v 1.4 2001/03/21 23:42:15 lukem Exp $   */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -60,12 +60,6 @@
        dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
        dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), 0 }
 
-/* open, close, write, ioctl */
-#define cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, seltrue, (dev_type_mmap((*))) enodev, 0 }
-
 /* open, close, read, ioctl */
 #define cdev_prof_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/i386/include/conf.h
--- a/sys/arch/i386/include/conf.h      Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/i386/include/conf.h      Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.5 1998/09/05 15:28:07 christos Exp $        */
+/*     $NetBSD: conf.h,v 1.6 2001/03/21 23:42:15 lukem Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -45,12 +45,6 @@
 bdev_decl(fd);
 cdev_decl(fd);
 
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
-       dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
-
 cdev_decl(pc);
 
 cdev_decl(mms);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/pc532/include/conf.h
--- a/sys/arch/pc532/include/conf.h     Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/pc532/include/conf.h     Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.4 1998/10/10 02:00:50 thorpej Exp $ */
+/*     $NetBSD: conf.h,v 1.5 2001/03/21 23:42:15 lukem Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -42,13 +42,6 @@
 #define        mmwrite mmrw
 cdev_decl(mm);
 
-/* open, close, write, ioctl */
-#define        cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), \
-       (dev_type_read((*))) enodev, dev_init(c,n,write), \
-       dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, seltrue, (dev_type_mmap((*))) enodev, 0}
-
 cdev_decl(lpt);
 
 cdev_decl(scn);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/prep/include/conf.h
--- a/sys/arch/prep/include/conf.h      Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/prep/include/conf.h      Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.1 2000/02/29 15:21:27 nonaka Exp $  */
+/*     $NetBSD: conf.h,v 1.2 2001/03/21 23:42:16 lukem Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -46,12 +46,6 @@
 bdev_decl(fd);
 cdev_decl(fd);
 
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
-       dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
-
 cdev_decl(pc);
 
 cdev_decl(mms);
diff -r f082d6622cff -r 6b3d507498a0 sys/arch/sandpoint/include/conf.h
--- a/sys/arch/sandpoint/include/conf.h Wed Mar 21 23:27:33 2001 +0000
+++ b/sys/arch/sandpoint/include/conf.h Wed Mar 21 23:42:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.1 2001/02/04 18:32:12 briggs Exp $  */
+/*     $NetBSD: conf.h,v 1.2 2001/03/21 23:42:16 lukem Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -46,12 +46,6 @@
 bdev_decl(fd);
 cdev_decl(fd);
 
-/* open, close, read, write, ioctl, tty, mmap */
-#define cdev_pc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
-       dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), D_TTY }
-
 cdev_decl(pc);
 
 cdev_decl(mms);



Home | Main Index | Thread Index | Old Index