Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/landisk/conf Merge define obio {} + device obio int...



details:   https://anonhg.NetBSD.org/src/rev/6c89d0a066d0
branches:  trunk
changeset: 824904:6c89d0a066d0
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jun 22 18:39:04 2017 +0000

description:
Merge define obio {} + device obio into single device obio {...}
Same ioconf.c is generated.

diffstat:

 sys/arch/landisk/conf/files.landisk |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 0ed1b82d68a6 -r 6c89d0a066d0 sys/arch/landisk/conf/files.landisk
--- a/sys/arch/landisk/conf/files.landisk       Thu Jun 22 18:14:32 2017 +0000
+++ b/sys/arch/landisk/conf/files.landisk       Thu Jun 22 18:39:04 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.landisk,v 1.4 2008/02/20 21:43:34 drochner Exp $
+#      $NetBSD: files.landisk,v 1.5 2017/06/22 18:39:04 uwe Exp $
 
 # maxpartitions must be first item in files.${MACHINE}
 maxpartitions 16
@@ -85,9 +85,7 @@
 #
 # on-board I/O bus
 #
-define obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] }
-
-device obio: obio
+device obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] }
 attach obio at mainbus
 file   arch/landisk/dev/obio.c         obio needs-flag
 



Home | Main Index | Thread Index | Old Index