usb_ioctl.h (db06a6f4ef6cbe2fecc10a453cfa70611fc4ac27) usb_ioctl.h (399e6543b2eea74c22e44cd04d35eb852f744f15)
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 25 unchanged lines hidden (view full) ---

34/* Building "kdump" depends on these includes */
35
36#include <dev/usb/usb_endian.h>
37#include <dev/usb/usb.h>
38
39#define USB_DEVICE_NAME "usbctl"
40#define USB_DEVICE_DIR "usb"
41#define USB_GENERIC_NAME "ugen"
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 25 unchanged lines hidden (view full) ---

34/* Building "kdump" depends on these includes */
35
36#include <dev/usb/usb_endian.h>
37#include <dev/usb/usb.h>
38
39#define USB_DEVICE_NAME "usbctl"
40#define USB_DEVICE_DIR "usb"
41#define USB_GENERIC_NAME "ugen"
42#define USB_TEMPLATE_SYSCTL "hw.usb.template" /* integer type */
42
43
44/* Definition of valid template sysctl values */
45
46enum {
47 USB_TEMP_MSC, /* USB Mass Storage */
48 USB_TEMP_CDCE, /* USB CDC Ethernet */
49 USB_TEMP_MTP, /* Message Transfer Protocol */
50 USB_TEMP_MODEM, /* USB CDC Modem */
51 USB_TEMP_AUDIO, /* USB Audio */
52 USB_TEMP_KBD, /* USB Keyboard */
53 USB_TEMP_MOUSE, /* USB Mouse */
54 USB_TEMP_MAX,
55};
56
43struct usb_read_dir {
44#ifdef COMPAT_32BIT
45 uint64_t urd_data;
46#else
47 void *urd_data;
48#endif
49 uint32_t urd_startentry;
50 uint32_t urd_maxlen;

--- 244 unchanged lines hidden ---
57struct usb_read_dir {
58#ifdef COMPAT_32BIT
59 uint64_t urd_data;
60#else
61 void *urd_data;
62#endif
63 uint32_t urd_startentry;
64 uint32_t urd_maxlen;

--- 244 unchanged lines hidden ---