From: matthieu Date: Sun, 24 May 2015 08:01:46 +0000 (+0000) Subject: Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fb4990423bc245ce695671b7f824b46269b6e060;p=openbsd Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx). enable udl firmware and COMPAT_RAW_KBD to make udl useable with X. ok jsg@ --- diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC index 06421c0f097..fee06812ee3 100644 --- a/sys/arch/armv7/conf/GENERIC +++ b/sys/arch/armv7/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.1 2015/05/20 01:44:20 jsg Exp $ +# $OpenBSD: GENERIC,v 1.2 2015/05/24 08:01:46 matthieu Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -18,7 +18,7 @@ maxusers 32 # estimated number of users option CPU_ARMv7 # Support the ARMv7 #option WSDISPLAY_COMPAT_USL # VT handling -#option WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes +option WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes option WSDISPLAY_DEFAULTSCREENS=1 #option WSDISPLAY_COMPAT_PCVT # emulate some ioctls @@ -150,6 +150,10 @@ udsbr* at uhub? # D-Link DSB-R100 radio radio* at udsbr? # USB radio ugen* at uhub? # USB Generic driver rum* at uhub? # Ralink RT2501USB/RT2601USB +uvideo* at uhub? # USB Video +video* at uvideo? +udl* at uhub? # DisplayLink USB displays +wsdisplay* at udl? atphy* at mii? # Attansic F1 PHYs rgephy* at mii? # Realtek 8169S/8110S PHY @@ -178,3 +182,6 @@ owctr* at onewire? # Counter device # Pseudo-Devices pseudo-device hotplug 1 # devices hot plugging + +# mouse & keyboard multiplexor pseudo-devices +pseudo-device wsmux 2 diff --git a/sys/dev/microcode/udl/Makefile b/sys/dev/microcode/udl/Makefile index d8e315c853c..07e76d38254 100644 --- a/sys/dev/microcode/udl/Makefile +++ b/sys/dev/microcode/udl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2013/03/25 17:40:12 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2015/05/24 08:01:46 matthieu Exp $ NOPROG= NOMAN= @@ -7,6 +7,7 @@ CC=${HOSTCC} # USB capable systems only .if (${MACHINE_ARCH} == "powerpc" || \ ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \ + ${MACHINE} == "armv7" || \ ${MACHINE} == "armish" || ${MACHINE} == "hppa" || \ ${MACHINE} == "hppa64" || ${MACHINE} == "i386" || \ ${MACHINE} == "landisk" || ${MACHINE} == "loongson" || \