summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-10-18 12:21:56 +0000
committermiod <miod@openbsd.org>2014-10-18 12:21:56 +0000
commite392834ec4df2f8bbe9fe1fc9eaa977748c4089f (patch)
treeed75bd7a03230782b0479c12965f850f4cd510d0 /sys/dev
parentsync (diff)
downloadwireguard-openbsd-e392834ec4df2f8bbe9fe1fc9eaa977748c4089f.tar.xz
wireguard-openbsd-e392834ec4df2f8bbe9fe1fc9eaa977748c4089f.zip
Remove even more unnecessary `needs-flag' attributes from config machinery,
as well as useless include of the generated flag files.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/adb/files.adb4
-rw-r--r--sys/dev/cardbus/files.cardbus4
-rw-r--r--sys/dev/isa/files.isa10
-rw-r--r--sys/dev/tc/files.tc4
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/adb/files.adb b/sys/dev/adb/files.adb
index 7061d8ef0dc..e73dbe0d523 100644
--- a/sys/dev/adb/files.adb
+++ b/sys/dev/adb/files.adb
@@ -1,4 +1,4 @@
-# $OpenBSD: files.adb,v 1.1 2006/01/18 23:21:17 miod Exp $
+# $OpenBSD: files.adb,v 1.2 2014/10/18 12:21:57 miod Exp $
file dev/adb/adb_subr.c adb
@@ -8,4 +8,4 @@ file dev/adb/akbd.c akbd needs-flag
device ams: wsmousedev
attach ams at adb
-file dev/adb/ams.c ams needs-flag
+file dev/adb/ams.c ams
diff --git a/sys/dev/cardbus/files.cardbus b/sys/dev/cardbus/files.cardbus
index cf0c8f03f8b..d1ea3f3a1f7 100644
--- a/sys/dev/cardbus/files.cardbus
+++ b/sys/dev/cardbus/files.cardbus
@@ -1,4 +1,4 @@
-# $OpenBSD: files.cardbus,v 1.28 2009/11/14 16:55:11 damien Exp $
+# $OpenBSD: files.cardbus,v 1.29 2014/10/18 12:21:57 miod Exp $
# $NetBSD: files.cardbus,v 1.8 2000/01/26 06:37:24 thorpej Exp $
#
# files.cardbus
@@ -6,7 +6,7 @@
device cardslot: cbbus, pcmciabus
attach cardslot at pcmciaslot
-file dev/cardbus/cardslot.c cardslot needs-flag
+file dev/cardbus/cardslot.c cardslot
device cardbus {[dev = -1], [function = -1]}
attach cardbus at cbbus
diff --git a/sys/dev/isa/files.isa b/sys/dev/isa/files.isa
index 2fc854ed7f4..d637072a78a 100644
--- a/sys/dev/isa/files.isa
+++ b/sys/dev/isa/files.isa
@@ -1,4 +1,4 @@
-# $OpenBSD: files.isa,v 1.114 2014/10/12 19:33:32 miod Exp $
+# $OpenBSD: files.isa,v 1.115 2014/10/18 12:21:57 miod Exp $
# $NetBSD: files.isa,v 1.21 1996/05/16 03:45:55 mycroft Exp $
#
# Config file and device description for machine-independent ISA code.
@@ -71,7 +71,7 @@ file dev/isa/cy_isa.c cy_isa
# ISA PC keyboard controller
attach pckbc at isa with pckbc_isa
-file dev/isa/pckbc_isa.c pckbc_isa needs-flag
+file dev/isa/pckbc_isa.c pckbc_isa
# Generic ISA VGA
attach vga at isa with vga_isa
@@ -80,7 +80,7 @@ file dev/isa/vga_isa.c vga_isa
# Generic PC graphics adapter (MGA, CGA, ...)
device pcdisplay: wsemuldisplaydev, pcdisplayops
attach pcdisplay at isa
-file dev/isa/pcdisplay.c pcdisplay needs-flag
+file dev/isa/pcdisplay.c pcdisplay needs-flag
#
# SCSI host adapters
@@ -142,7 +142,7 @@ file dev/isa/if_ne_isa.c ne_isa
# and registers are clobbered by other drivers' probes
device we: ether, ifnet, dp8390nic, ifmedia
attach we at isa with we_isa
-file dev/isa/if_we.c we & (we_isa | we_isapnp) needs-flag
+file dev/isa/if_we.c we & (we_isa | we_isapnp)
# 3Com common probe code
define elink
@@ -297,7 +297,7 @@ file dev/isa/spkr.c spkr needs-flag
# 8255A-based PC parallel ports
attach lpt at isa with lpt_isa
-file dev/isa/lpt_isa.c lpt_isa needs-flag
+file dev/isa/lpt_isa.c lpt_isa
# Winbond LPC Super I/O
device wbsio {}
diff --git a/sys/dev/tc/files.tc b/sys/dev/tc/files.tc
index 7abbfb13941..10973b3b413 100644
--- a/sys/dev/tc/files.tc
+++ b/sys/dev/tc/files.tc
@@ -1,4 +1,4 @@
-# $OpenBSD: files.tc,v 1.11 2013/10/28 12:33:32 mpi Exp $
+# $OpenBSD: files.tc,v 1.12 2014/10/18 12:21:57 miod Exp $
# $NetBSD: files.tc,v 1.26 2001/11/28 10:21:24 lukem Exp $
#
# Config file and device description for machine-independent
@@ -6,7 +6,7 @@
device tc {[slot = -1], [offset = -1]}
#attach tc at tcbus
-file dev/tc/tc.c tc needs-flag
+file dev/tc/tc.c tc
# IOCTL ASIC
device ioasic {[offset = -1]}