提交 ffac040c 编写于 作者: G Greg Kroah-Hartman

Staging: rspiusb: remove the driver

No one cares, it's a custom userspace interface, and the code hasn't
built in a long time.  So remove it.
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a8fcffbd
......@@ -85,8 +85,6 @@ source "drivers/staging/rtl8192su/Kconfig"
source "drivers/staging/rtl8192e/Kconfig"
source "drivers/staging/rspiusb/Kconfig"
source "drivers/staging/mimio/Kconfig"
source "drivers/staging/frontier/Kconfig"
......
......@@ -25,7 +25,6 @@ obj-$(CONFIG_ALTERA_PCIE_CHDMA) += altpciechdma/
obj-$(CONFIG_RTL8187SE) += rtl8187se/
obj-$(CONFIG_RTL8192SU) += rtl8192su/
obj-$(CONFIG_RTL8192E) += rtl8192e/
obj-$(CONFIG_USB_RSPI) += rspiusb/
obj-$(CONFIG_INPUT_MIMIO) += mimio/
obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_ANDROID) += android/
......
config USB_RSPI
tristate "Princeton Instruments USB camera support"
default n
depends on USB && BROKEN
help
This driver is for the Princeton Instruments USB camera device.
obj-$(CONFIG_USB_RSPI) += rspiusb.o
This driver is for the Princeton Instruments USB camera.
It needs lots of work to get it into the main drivers/usb/ subdirectory:
Any patches to do any of the following changes are greatly appreciated:
- make checkpatch.pl clean
- coding style fixups (typedefs, etc.)
- get it to build properly
- audit ioctls
- remove ioctls if possible
- assign proper minor number
- remove dbg() macro
- lots of general cleanups
- review locking
Please send patches to:
Greg Kroah-Hartman <gregkh@suse.de>
and CC:
Judd Montgomery <judd@jpilot.org>
Jeff Frontz <jeff.frontz@gmail.com>
as they have this device and can test any needed changes.
此差异已折叠。
#ifndef __RSPIUSB_H
#define __RSPIUSB_H
#define PIUSB_MAGIC 'm'
#define PIUSB_IOCTL_BASE 192
#define PIUSB_IOR(offset) \
_IOR(PIUSB_MAGIC, PIUSB_IOCTL_BASE + offset, struct ioctl_struct)
#define PIUSB_IOW(offset) \
_IOW(PIUSB_MAGIC, PIUSB_IOCTL_BASE + offset, struct ioctl_struct)
#define PIUSB_IO(offset) \
_IO(PIUSB_MAGIC, PIUSB_IOCTL_BASE + offset)
#define PIUSB_GETVNDCMD PIUSB_IOR(1)
#define PIUSB_SETVNDCMD PIUSB_IOW(2)
#define PIUSB_WRITEPIPE PIUSB_IOW(3)
#define PIUSB_READPIPE PIUSB_IOR(4)
#define PIUSB_SETFRAMESIZE PIUSB_IOW(5)
#define PIUSB_WHATCAMERA PIUSB_IO(6)
#define PIUSB_USERBUFFER PIUSB_IOW(7)
#define PIUSB_ISHIGHSPEED PIUSB_IO(8)
#define PIUSB_UNMAP_USERBUFFER PIUSB_IOW(9)
struct ioctl_struct {
unsigned char cmd;
unsigned long numbytes;
unsigned char dir; /* 1=out; 0=in */
int endpoint;
int numFrames;
unsigned char *pData;
};
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册