[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-22 Thread Mark Laws
on i8042.c by moving the symbols libps2.c depends on to a new module, libi8042.c. Signed-off-by: Mark Laws --- drivers/input/serio/Kconfig| 7 - drivers/input/serio/Makefile | 1 + drivers/input/serio/i8042.c| 48 - drivers/input/ser

[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-22 Thread Mark Laws
write anything new, just shuffled things around, I haven't changed any copyrights. I have no idea what the right procedure is here, so please let me know, since I'm probably screwing up somehow. Mark Laws (1): Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs drivers/inpu

[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-22 Thread Mark Laws
#x27;t want to try to interact with the non-existent i8042). This allows atkbd.c and libps2.c to load, solving the problem. Signed-off-by: Mark Laws --- drivers/input/serio/i8042.c | 50 ++--- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drive

[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-22 Thread Mark Laws
This is an updated version of the original patch from this thread. It fixes the style issues Dan Carpenter brought up. Mark Laws (1): Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs drivers/input/serio/i8042.c | 50 ++--- 1 file changed

Re: [PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-19 Thread Mark Laws
who find themselves unable to type and thus can't install their distribution. Regards, Mark Laws -- |v\ /\ |\ |< |_ /\ \^| // ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-18 Thread Mark Laws
On Tue, Apr 19, 2016 at 5:36 AM, Dan Carpenter wrote: > On Tue, Apr 19, 2016 at 02:24:47AM +0900, Mark Laws wrote: >> Sorry, I don't understand--which part are you suggesting we remove? > > The call to i8042_controller_check() or move it to the probe function or > something

Re: [PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-18 Thread Mark Laws
d is present? Sorry, I don't understand--which part are you suggesting we remove? > Don't obfuscate the literal. Just "return 0;". Also if it's goto out > just change that to "return 0;" because it's simp

[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-18 Thread Mark Laws
#x27;t want to try to interact with the non-existent i8042). This allows atkbd.c and libps2.c to load, solving the problem. Signed-off-by: Mark Laws --- drivers/input/serio/i8042.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH] Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs

2016-04-18 Thread Mark Laws
which would pass this option, but every distribution would need to fix their rules (certainly we don't want to check for Hyper-V in i8042.c) Mark Laws (1): Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs drivers/input/serio/i8042.c | 43 +++