[PATCH v2 63/76] ARC: Hostlink Pseudo-Driver for Metaware Debugger

2013-01-18 Thread Vineet Gupta
This allows ARC Target to do I/O to host in absence of any peripherals whatsoever, assisted by Metaware Hostlink facility. Further we have a FUSE based filesystem which makes us mount/access host filesystem on target and do fops. Signed-off-by: Vineet Gupta --- arch/arc/Kconfig |

Re: [PATCH v2 63/76] ARC: Hostlink Pseudo-Driver for Metaware Debugger

2013-01-18 Thread Arnd Bergmann
On Friday 18 January 2013, Vineet Gupta wrote: > +static int arc_hl_nr_devs = 1; This seems to be read-only and hardcoded to 1. If this is true, you could simplify the driver significantly by just using misc_register, rather than registering your own major device number. Arnd -- To unsubs

Re: [PATCH v2 63/76] ARC: Hostlink Pseudo-Driver for Metaware Debugger

2013-01-21 Thread Vineet Gupta
On Friday 18 January 2013 08:28 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> +static int arc_hl_nr_devs = 1; > This seems to be read-only and hardcoded to 1. If this is true, you could > simplify the driver significantly by just using misc_register, rather > than reg