scsi_da.c (128415) | scsi_da.c (128416) |
---|---|
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 128415 2004-04-19 03:34:28Z njl $"); | 30__FBSDID("$FreeBSD: head/sys/cam/scsi/scsi_da.c 128416 2004-04-19 04:14:09Z njl $"); |
31 32#ifdef _KERNEL 33#include "opt_da.h" 34#include "opt_hw_wdog.h" 35#endif /* _KERNEL */ 36 37#include <sys/param.h> 38 --- 205 unchanged lines hidden (view full) --- 244 * EXATELECOM (Sigmatel) i-Bead 100/105 USB Flash MP3 Player 245 * PR: kern/51675 246 */ 247 {T_DIRECT, SIP_MEDIA_REMOVABLE, "EXATEL", "i-BEAD10*", "*"}, 248 /*quirks*/ DA_Q_NO_SYNC_CACHE 249 }, 250 { 251 /* | 31 32#ifdef _KERNEL 33#include "opt_da.h" 34#include "opt_hw_wdog.h" 35#endif /* _KERNEL */ 36 37#include <sys/param.h> 38 --- 205 unchanged lines hidden (view full) --- 244 * EXATELECOM (Sigmatel) i-Bead 100/105 USB Flash MP3 Player 245 * PR: kern/51675 246 */ 247 {T_DIRECT, SIP_MEDIA_REMOVABLE, "EXATEL", "i-BEAD10*", "*"}, 248 /*quirks*/ DA_Q_NO_SYNC_CACHE 249 }, 250 { 251 /* |
252 * Jungsoft NEXDISK USB flash key 253 * PR: kern/54737 | 252 * Power Quotient Int. (PQI) USB flash key 253 * PR: kern/53067 |
254 */ | 254 */ |
255 {T_DIRECT, SIP_MEDIA_REMOVABLE, "JUNGSOFT", "NEXDISK*", "*"}, 256 /*quirks*/ DA_Q_NO_SYNC_CACHE 257 }, | 255 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "USB Flash Disk*", 256 "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE 257 }, |
258 { 259 /* 260 * Creative Nomad MUVO mp3 player (USB) 261 * PR: kern/53094 262 */ 263 {T_DIRECT, SIP_MEDIA_REMOVABLE, "CREATIVE", "NOMAD_MUVO", "*"}, 264 /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT 265 }, | 258 { 259 /* 260 * Creative Nomad MUVO mp3 player (USB) 261 * PR: kern/53094 262 */ 263 {T_DIRECT, SIP_MEDIA_REMOVABLE, "CREATIVE", "NOMAD_MUVO", "*"}, 264 /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT 265 }, |
266 { 267 /* 268 * Jungsoft NEXDISK USB flash key 269 * PR: kern/54737 270 */ 271 {T_DIRECT, SIP_MEDIA_REMOVABLE, "JUNGSOFT", "NEXDISK*", "*"}, 272 /*quirks*/ DA_Q_NO_SYNC_CACHE 273 }, 274 { 275 /* 276 * FreeDik USB Mini Data Drive 277 * PR: kern/54786 278 */ 279 {T_DIRECT, SIP_MEDIA_REMOVABLE, "FreeDik*", "Mini Data Drive", 280 "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE 281 }, 282 { 283 /* 284 * Sigmatel USB Flash MP3 Player 285 * PR: kern/57046 286 */ 287 {T_DIRECT, SIP_MEDIA_REMOVABLE, "SigmaTel", "MSCN", "*"}, 288 /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT 289 }, |
|
266}; 267 268static disk_strategy_t dastrategy; 269static dumper_t dadump; 270static periph_init_t dainit; 271static void daasync(void *callback_arg, u_int32_t code, 272 struct cam_path *path, void *arg); 273static void dasysctlinit(void *context, int pending); --- 1543 unchanged lines hidden --- | 290}; 291 292static disk_strategy_t dastrategy; 293static dumper_t dadump; 294static periph_init_t dainit; 295static void daasync(void *callback_arg, u_int32_t code, 296 struct cam_path *path, void *arg); 297static void dasysctlinit(void *context, int pending); --- 1543 unchanged lines hidden --- |