summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf/LKM
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-10-22 13:49:51 +0000
committerbde <bde@FreeBSD.org>1998-10-22 13:49:51 +0000
commitf89f94ea93e74b8f6a09a8327a3a7537a6f674c9 (patch)
tree48602749be3acc25bda108ac50139709eb869a3f /sys/i386/conf/LKM
parentd5d9856011b359d84ff02490b747008bdc6baa02 (diff)
downloadFreeBSD-src-f89f94ea93e74b8f6a09a8327a3a7537a6f674c9.zip
FreeBSD-src-f89f94ea93e74b8f6a09a8327a3a7537a6f674c9.tar.gz
Quote port names that have a digit in them. IO_TIMER1 was lexed as
{ port_name = "IO_TIMER", port_number = 1 } and only worked because it was reassembled to "IO_TIMER1". Trailing digits always work, but this is too magic to depend on. Don't quote port names that don't have a digit in them.
Diffstat (limited to 'sys/i386/conf/LKM')
-rw-r--r--sys/i386/conf/LKM6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/conf/LKM b/sys/i386/conf/LKM
index e0e6b21..d29ac86 100644
--- a/sys/i386/conf/LKM
+++ b/sys/i386/conf/LKM
@@ -2,7 +2,7 @@
# LKM - verification kernel for LKMs. This is not intended to be run
# on any real hardware, only to make it possible to test-link LKMs.
#
-# $Id: LKM,v 1.1 1998/03/12 20:00:21 eivind Exp $
+# $Id: LKM,v 1.2 1998/10/22 12:23:04 bde Exp $
#
##
@@ -23,7 +23,7 @@ options FFS
# missing NPX...
controller isa0
# npx is mandated by config(8)
-device npx0 at isa? port "IO_NPX" irq 13
+device npx0 at isa? port IO_NPX irq 13
##
# Requirements for various LKMs
@@ -65,7 +65,7 @@ device sio0 at isa? port "IO_COM1" tty irq 4
#
# For the screensavers
#
-device sc0 at isa? port "IO_KBD" tty irq 1
+device sc0 at isa? port IO_KBD tty irq 1
#
OpenPOWER on IntegriCloud