usb_msctest.h (203905) | usb_msctest.h (213480) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_msctest.h 203905 2010-02-14 20:05:12Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_msctest.h 213480 2010-10-06 14:29:00Z glebius $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 28#define _USB_MSCTEST_H_ 29 30enum { 31 MSC_EJECT_STOPUNIT, 32 MSC_EJECT_REZERO, 33 MSC_EJECT_ZTESTOR, 34 MSC_EJECT_CMOTECH, 35 MSC_EJECT_HUAWEI, | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 28#define _USB_MSCTEST_H_ 29 30enum { 31 MSC_EJECT_STOPUNIT, 32 MSC_EJECT_REZERO, 33 MSC_EJECT_ZTESTOR, 34 MSC_EJECT_CMOTECH, 35 MSC_EJECT_HUAWEI, |
36 MSC_EJECT_TCT, |
|
36}; 37 38int usb_iface_is_cdrom(struct usb_device *udev, 39 uint8_t iface_index); 40usb_error_t usb_msc_eject(struct usb_device *udev, 41 uint8_t iface_index, int method); 42 43#endif /* _USB_MSCTEST_H_ */ | 37}; 38 39int usb_iface_is_cdrom(struct usb_device *udev, 40 uint8_t iface_index); 41usb_error_t usb_msc_eject(struct usb_device *udev, 42 uint8_t iface_index, int method); 43 44#endif /* _USB_MSCTEST_H_ */ |