diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-03-21 17:10:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-03-21 17:10:47 +0000 |
commit | 5063e49f849ec8b1afc7365fb5c305a6b7a1ae56 (patch) | |
tree | f3d91f466c8cf41286a334152852a129f3957dca | |
parent | 25878968814c23048bc7e55a93aa79bae794f20c (diff) |
Add option WSKBD_NO_INTL_LAYOUTS to prevent inclusion of international
keyboard layouts, instead of having SMALL_KERNEL imply this on alpha.
No functional change.
ok deraadt@
-rw-r--r-- | sys/arch/alpha/conf/RAMDISK | 3 | ||||
-rw-r--r-- | sys/arch/alpha/conf/RAMDISKB | 3 | ||||
-rw-r--r-- | sys/arch/hppa/gsc/gsckbdmap.c | 10 | ||||
-rw-r--r-- | sys/dev/pckbc/wskbdmap_mfii.c | 10 | ||||
-rw-r--r-- | sys/dev/usb/ukbdmap.c | 12 |
5 files changed, 20 insertions, 18 deletions
diff --git a/sys/arch/alpha/conf/RAMDISK b/sys/arch/alpha/conf/RAMDISK index b30acf86b8f..b113a0dfc75 100644 --- a/sys/arch/alpha/conf/RAMDISK +++ b/sys/arch/alpha/conf/RAMDISK @@ -1,4 +1,4 @@ -# $OpenBSD: RAMDISK,v 1.67 2007/08/01 16:30:00 miod Exp $ +# $OpenBSD: RAMDISK,v 1.68 2008/03/21 17:10:33 miod Exp $ # $NetBSD: RAMDISK,v 1.9 1996/12/03 17:25:33 cgd Exp $ machine alpha # architecture, used by config; REQUIRED @@ -42,6 +42,7 @@ option INET # Internet protocol suite #option PCIVERBOSE # recognize "unknown" PCI devices #option TCVERBOSE # recognize "unknown" TC devices option SCSITERSE # less verbose scsi error messages +option WSKBD_NO_INTL_LAYOUTS # no international keyboard layouts option BOOT_CONFIG diff --git a/sys/arch/alpha/conf/RAMDISKB b/sys/arch/alpha/conf/RAMDISKB index 0029165b289..4b367b2ca76 100644 --- a/sys/arch/alpha/conf/RAMDISKB +++ b/sys/arch/alpha/conf/RAMDISKB @@ -1,4 +1,4 @@ -# $OpenBSD: RAMDISKB,v 1.31 2007/08/01 16:30:00 miod Exp $ +# $OpenBSD: RAMDISKB,v 1.32 2008/03/21 17:10:33 miod Exp $ # $NetBSD: RAMDISK,v 1.9 1996/12/03 17:25:33 cgd Exp $ machine alpha # architecture, used by config; REQUIRED @@ -41,6 +41,7 @@ option INET # Internet protocol suite #option PCIVERBOSE # recognize "unknown" PCI devices #option TCVERBOSE # recognize "unknown" TC devices option SCSITERSE # less verbose scsi error messages +option WSKBD_NO_INTL_LAYOUTS # no international keyboard layouts option BOOT_CONFIG diff --git a/sys/arch/hppa/gsc/gsckbdmap.c b/sys/arch/hppa/gsc/gsckbdmap.c index fea6c62a546..f6f0bb0376d 100644 --- a/sys/arch/hppa/gsc/gsckbdmap.c +++ b/sys/arch/hppa/gsc/gsckbdmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gsckbdmap.c,v 1.19 2006/12/05 21:28:02 otto Exp $ */ +/* $OpenBSD: gsckbdmap.c,v 1.20 2008/03/21 17:10:46 miod Exp $ */ /* * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT. @@ -209,7 +209,7 @@ static const keysym_t gsckbd_keydesc_precisionbook[] = { KC(140), KS_Meta_R, }; -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) static const keysym_t gsckbd_keydesc_de[] = { /* pos normal shifted altgr shift-altgr */ @@ -982,14 +982,14 @@ static const keysym_t gsckbd_keydesc_nl_nodead[] = { KC(85), KS_degree, KS_asciitilde, KS_cedilla, }; -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ #define KBD_MAP(name, base, map) \ { name, base, sizeof(map)/sizeof(keysym_t), map } const struct wscons_keydesc gsckbd_keydesctab[] = { KBD_MAP(KB_US, 0, gsckbd_keydesc_us), -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) KBD_MAP(KB_DE, KB_US, gsckbd_keydesc_de), KBD_MAP(KB_DE | KB_NODEAD, KB_DE, gsckbd_keydesc_de_nodead), KBD_MAP(KB_FR, KB_US, gsckbd_keydesc_fr), @@ -1034,7 +1034,7 @@ const struct wscons_keydesc gsckbd_keydesctab[] = { KBD_MAP(KB_LV, KB_US, gsckbd_keydesc_lv), KBD_MAP(KB_NL, KB_US, gsckbd_keydesc_nl), KBD_MAP(KB_NL | KB_NODEAD, KB_NL, gsckbd_keydesc_nl_nodead), -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ KBD_MAP(KB_US | KB_MACHDEP, KB_US, gsckbd_keydesc_precisionbook), {0, 0, 0, 0} }; diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c index 7308ad7a6c5..1ab61f1b07f 100644 --- a/sys/dev/pckbc/wskbdmap_mfii.c +++ b/sys/dev/pckbc/wskbdmap_mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbdmap_mfii.c,v 1.34 2006/12/05 21:27:07 otto Exp $ */ +/* $OpenBSD: wskbdmap_mfii.c,v 1.35 2008/03/21 17:10:46 miod Exp $ */ /* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */ /* @@ -166,7 +166,7 @@ static const keysym_t pckbd_keydesc_us[] = { KC(221), KS_Menu, }; -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) static const keysym_t pckbd_keydesc_de[] = { /* pos normal shifted altgr shift-altgr */ @@ -977,14 +977,14 @@ static const keysym_t pckbd_keydesc_nl_nodead[] = { KC(40), KS_apostrophe, KS_grave, }; -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ #define KBD_MAP(name, base, map) \ { name, base, sizeof(map)/sizeof(keysym_t), map } const struct wscons_keydesc pckbd_keydesctab[] = { KBD_MAP(KB_US, 0, pckbd_keydesc_us), -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) KBD_MAP(KB_DE, KB_US, pckbd_keydesc_de), KBD_MAP(KB_DE | KB_NODEAD, KB_DE, pckbd_keydesc_de_nodead), KBD_MAP(KB_FR, KB_US, pckbd_keydesc_fr), @@ -1030,7 +1030,7 @@ const struct wscons_keydesc pckbd_keydesctab[] = { KBD_MAP(KB_LV, KB_US, pckbd_keydesc_lv), KBD_MAP(KB_NL, KB_US, pckbd_keydesc_nl), KBD_MAP(KB_NL | KB_NODEAD, KB_NL, pckbd_keydesc_nl_nodead), -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ {0, 0, 0, 0} }; diff --git a/sys/dev/usb/ukbdmap.c b/sys/dev/usb/ukbdmap.c index 78064e79dfe..c5f3ff91d6f 100644 --- a/sys/dev/usb/ukbdmap.c +++ b/sys/dev/usb/ukbdmap.c @@ -1,10 +1,10 @@ -/* $OpenBSD: ukbdmap.c,v 1.27 2007/06/17 07:53:11 mbalmer Exp $ */ +/* $OpenBSD: ukbdmap.c,v 1.28 2008/03/21 17:10:46 miod Exp $ */ /* * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT. * * generated by: - * OpenBSD: makemap.awk,v 1.6 2005/05/23 21:33:03 miod Exp + * OpenBSD: makemap.awk,v 1.7 2007/06/17 07:53:11 mbalmer Exp * generated from: */ /* OpenBSD: wskbdmap_mfii.c,v 1.34 2006/12/05 21:27:07 otto Exp */ @@ -171,7 +171,7 @@ static const keysym_t ukbd_keydesc_us[] = { KC(231), KS_Meta_R, }; -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) static const keysym_t ukbd_keydesc_de[] = { /* pos normal shifted altgr shift-altgr */ @@ -1013,14 +1013,14 @@ static const keysym_t ukbd_keydesc_nl_nodead[] = { KC(52), KS_apostrophe, KS_grave, }; -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ #define KBD_MAP(name, base, map) \ { name, base, sizeof(map)/sizeof(keysym_t), map } const struct wscons_keydesc ukbd_keydesctab[] = { KBD_MAP(KB_US, 0, ukbd_keydesc_us), -#if !defined(SMALL_KERNEL) || !defined(__alpha__) +#if !defined(WSKBD_NO_INTL_LAYOUTS) KBD_MAP(KB_DE, KB_US, ukbd_keydesc_de), KBD_MAP(KB_DE | KB_NODEAD, KB_DE, ukbd_keydesc_de_nodead), KBD_MAP(KB_FR, KB_US, ukbd_keydesc_fr), @@ -1069,7 +1069,7 @@ const struct wscons_keydesc ukbd_keydesctab[] = { KBD_MAP(KB_LV, KB_US, ukbd_keydesc_lv), KBD_MAP(KB_NL, KB_US, ukbd_keydesc_nl), KBD_MAP(KB_NL | KB_NODEAD, KB_NL, ukbd_keydesc_nl_nodead), -#endif /* SMALL_KERNEL */ +#endif /* WSKBD_NO_INTL_LAYOUTS */ {0, 0, 0, 0} }; |