1 /* 2 * Copyright (c) 2003-2005 by Siarzhuk Zharski <imker@gmx.li> 3 * Distributed under the terms of the BSD License. 4 * 5 */ 6 7 /** driver settings support definitions */ 8 9 #ifndef _USB_SCSI_SETTINGS_H_ 10 #define _USB_SCSI_SETTINGS_H_ 11 12 void load_module_settings(); 13 14 typedef struct{ 15 uint16 vendor_id; 16 uint16 product_id; 17 uint32 properties; 18 #define VENDOR_PROP_NAME_LEN 0x08 19 char vendor_protocol[VENDOR_PROP_NAME_LEN + 1]; 20 char vendor_commandset[VENDOR_PROP_NAME_LEN + 1]; 21 }usb_device_settings; 22 23 bool lookup_device_settings(const usb_device_descriptor *udd, 24 usb_device_settings *uds); 25 26 extern int reserved_devices; 27 extern int reserved_luns; 28 extern bool b_reservation_on; 29 extern bool b_ignore_sysinit2; 30 31 #endif /*_USB_SCSI_SETTINGS_H_*/ 32