17 Feb, 2007
1 commit
-
Use __u32 rather than u32 in userspace ioctl defines.
Signed-off-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman
24 Sep, 2006
1 commit
-
Signed-off-by: Jeff Garzik
25 Apr, 2006
1 commit
-
Signed-off-by: David Woodhouse
29 Oct, 2005
1 commit
-
Dell supplied me with the following test:
#include
#include
#include
#include
#includemain(int argc,char*argv[])
{
struct usbdevfs_hub_portinfo hubPortInfo = {0};
struct usbdevfs_ioctl command = {0};
command.ifno = 0;
command.ioctl_code = USBDEVFS_HUB_PORTINFO;
command.data = (void*)&hubPortInfo;
int fd, ret;
if(argc != 2) {
fprintf(stderr,"Usage: %s /proc/bus/usb//\n",argv[0]);
fprintf(stderr,"Example: %s /proc/bus/usb/001/001\n",argv[0]);
exit(1);
}
errno = 0;
fd = open(argv[1],O_RDWR);
if(fd < 0) {
perror("open failed:");
exit(errno);
}
errno = 0;
ret = ioctl(fd,USBDEVFS_IOCTL,&command);
printf("IOCTL return status:%d\n",ret);
if(ret
Signed-off-by: Greg Kroah-Hartman
13 Sep, 2005
1 commit
-
[USBDEVFS] fix inclusion of to avoud header mess
Without moving the include of compat.h down, userspace programs that use
usbdevice_fs.h end up including half the kernel includes (and eventually
fail to compile).Signed-off-by: Harald Welte
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!