[PATCH] Disable /dev/port interface on powerpc systems

2012-06-15 Thread Haren Myneni
Michael, Thanks for the comment. Here it is the updated patch which fixes x86 build. Thanks Haren Some power systems do not have legacy ISA devices. So, /dev/port is not a valid interface on these systems. User level tools such as kbdrate is trying to access the device using this interface which

Re: [PATCH] Disable /dev/port interface on powerpc systems

2012-06-07 Thread Michael Ellerman
On Sat, 2012-03-24 at 01:23 -0700, Haren Myneni wrote: > Ben, Here it is the updated patch based on your suggestions. Please let > me know if it has any issues. > This breaks the i386 defconfig build with: drivers/char/mem.c:903:3: error: implicit declaration of function 'arch_has_dev_port' [-We

Re: [PATCH] Disable /dev/port interface on powerpc systems

2012-04-29 Thread Benjamin Herrenschmidt
On Wed, 2012-03-21 at 18:23 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2012-03-20 at 22:37 -0700, Haren Myneni wrote: > > Some power systems do not have legacy ISA devices. So, /dev/port is not > > a valid interface on these systems. User level tools such as kbdrate is > > trying to access the

[PATCH] Disable /dev/port interface on powerpc systems

2012-03-24 Thread Haren Myneni
Ben, Here it is the updated patch based on your suggestions. Please let me know if it has any issues. Thanks Haren Some power systems do not have legacy ISA devices. So, /dev/port is not a valid interface on these systems. User level tools such as kbdrate is trying to access the device using thi

Re: [PATCH] Disable /dev/port interface on powerpc systems

2012-03-21 Thread Benjamin Herrenschmidt
On Wed, 2012-03-21 at 11:58 -0700, Haren Myneni wrote: > > Yes, can be changed open or read/write calls and return -ENODEV, > but /dev/port is no use on these systems. > > I am not sure whether any power systems have legacy ISA devices. If we > do not have, CONFIG_DEVPORT can be disabled in Kconf

Re: [PATCH] Disable /dev/port interface on powerpc systems

2012-03-21 Thread Haren Myneni
On Wed, 2012-03-21 at 18:23 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2012-03-20 at 22:37 -0700, Haren Myneni wrote: > > Some power systems do not have legacy ISA devices. So, /dev/port is not > > a valid interface on these systems. User level tools such as kbdrate is > > trying to access the

Re: [PATCH] Disable /dev/port interface on powerpc systems

2012-03-21 Thread Benjamin Herrenschmidt
On Tue, 2012-03-20 at 22:37 -0700, Haren Myneni wrote: > Some power systems do not have legacy ISA devices. So, /dev/port is not > a valid interface on these systems. User level tools such as kbdrate is > trying to access the device using this interface which is causing the > system crash. > > Th

[PATCH] Disable /dev/port interface on powerpc systems

2012-03-20 Thread Haren Myneni
Some power systems do not have legacy ISA devices. So, /dev/port is not a valid interface on these systems. User level tools such as kbdrate is trying to access the device using this interface which is causing the system crash. This patch will fix this issue by not creating this interface on the