scsi_da.c (164906) | scsi_da.c (166166) |
---|---|
1/*- 2 * Implementation of SCSI Direct Access Peripheral driver for CAM. 3 * 4 * Copyright (c) 1997 Justin T. Gibbs. 5 * 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 --- 13 unchanged lines hidden (view full) --- 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> | 1/*- 2 * Implementation of SCSI Direct Access Peripheral driver for CAM. 3 * 4 * Copyright (c) 1997 Justin T. Gibbs. 5 * 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 --- 13 unchanged lines hidden (view full) --- 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/cam/scsi/scsi_da.c 164906 2006-12-05 07:45:28Z mjacob $"); | 30__FBSDID("$FreeBSD: head/sys/cam/scsi/scsi_da.c 166166 2007-01-22 04:34:03Z imp $"); |
31 32#include <sys/param.h> 33 34#ifdef _KERNEL 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <sys/bio.h> 38#include <sys/sysctl.h> --- 422 unchanged lines hidden (view full) --- 461 { 462 /* 463 * X-Micro Flash Disk 464 * PR: usb/96901 465 */ 466 {T_DIRECT, SIP_MEDIA_REMOVABLE, "X-Micro", "Flash Disk", 467 "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE 468 }, | 31 32#include <sys/param.h> 33 34#ifdef _KERNEL 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <sys/bio.h> 38#include <sys/sysctl.h> --- 422 unchanged lines hidden (view full) --- 461 { 462 /* 463 * X-Micro Flash Disk 464 * PR: usb/96901 465 */ 466 {T_DIRECT, SIP_MEDIA_REMOVABLE, "X-Micro", "Flash Disk", 467 "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE 468 }, |
469 { 470 /* 471 * EasyMP3 EM732X USB 2.0 Flash MP3 Player 472 * PR: usb/96546 473 */ 474 {T_DIRECT, SIP_MEDIA_REMOVABLE, "*", "MP3 Player*", 475 "1.0"}, /*quirks*/ DA_Q_NO_SYNC_CACHE 476 }, |
|
469}; 470 471static disk_strategy_t dastrategy; 472static dumper_t dadump; 473static periph_init_t dainit; 474static void daasync(void *callback_arg, u_int32_t code, 475 struct cam_path *path, void *arg); 476static void dasysctlinit(void *context, int pending); --- 1596 unchanged lines hidden --- | 477}; 478 479static disk_strategy_t dastrategy; 480static dumper_t dadump; 481static periph_init_t dainit; 482static void daasync(void *callback_arg, u_int32_t code, 483 struct cam_path *path, void *arg); 484static void dasysctlinit(void *context, int pending); --- 1596 unchanged lines hidden --- |