Subject: Re: joy in conf.c
To: John M Vinopal <banshee@gabriella.resort.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 05/10/1996 09:13:59
On Thu, 9 May 1996 20:22:37 -0700 (PDT) 
 John M Vinopal <banshee@gabriella.resort.com> wrote:

 > /* open, close, read, ioctl */
 > #define cdev_ss_init(c,n) { \
 >         dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
 >         (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
 >         (dev_type_stop((*))) enodev, 0, seltrue, \
 >         (dev_type_mmap((*))) enodev }
 > #define cdev_joy_init cdev_ss_init
 > 
 >  joysticks use the same setup as scanners?

While they may use the same switch entry, that #define is totally bogus, 
and really should go away.

----save the ancient forests - http://www.bayarea.net/~thorpej/forest/----
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939