summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
AgeCommit message (Expand)Author
2004-05-28Clean up sense error logic and printing a bit, partly inspired byKenneth R Westerback
2004-05-17Elminate SCSIRET_* synonyms for EJUSTRETURN and ERESTART by usingKenneth R Westerback
2004-05-09Add missing <cr>'s to various SC_DEBUG() calls, along with a few otherKenneth R Westerback
2004-02-21Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, andKenneth R Westerback
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2004-01-25Be less verbose in sdattach() by suppressing the display of detailedKenneth R Westerback
2004-01-25Use %lu to print u_long values, not %d or %ld. Fixes display ofKenneth R Westerback
2004-01-05Don't issue PREVENT_ALLOW commands to disk devices during sdopen() orKenneth R Westerback
2003-06-24try to devise drive's rpm and default to 3600 should we fail miserably.Michael Shalayeff
2003-05-21Make sure that the first scsi command issued to a device duringKenneth R Westerback
2003-05-18constify the quirck tables and fix the scsi_inqmatch() proto accordingly; krw...Michael Shalayeff
2003-05-16Provide most if not all the support required for the usb changes NateKenneth R Westerback
2003-05-06sprintf -> snprintf. strncpy -> bcopy since d_packname is not really aKenneth R Westerback
2003-04-06The disklabel fields d_packname and d_typename are not null terminated stringsKenneth R Westerback
2002-12-30Add new parameter to scsi_test_unit_ready(): retries number.Alexander Yurchenko
2002-09-04Add support for RBC (simplified direct) devices.Thierry Deval
2002-08-12initialize part earlier in case of debugging.Federico G. Schwindt
2002-06-09More (the last round?) of splasserts and splbio around biodone.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-10-08Add a new quirk type, SDEV_NOCDB6, some USB devices like ATAPIDale Rahn
2001-08-26remove useless INUSE references from scsi_xfer->flags; art@ miod@ ok.Federico G. Schwindt
2001-08-06Remove legacy __BDEVSW_DUMP_OLD_TYPE code.Miod Vallat
2001-06-22KNFTheo de Raadt
2000-12-13move back to unlimitted openingsMichael Shalayeff
2000-10-13Matthew Jacob <mjacob@feral.com>:Michael Shalayeff
2000-09-21do not limit openings to defined SDOUTSTANDING value of 4, since many control...Michael Shalayeff
2000-09-20make SDOUTSTANDING redefinable, since some controller can handle more than 4 ...Michael Shalayeff
2000-04-18sd and scsibus detachConstantine Sapuntzakis
2000-04-08These days, attach can occur outside the tsleep-restricted world ofConstantine Sapuntzakis
1999-12-05correct printout labelsTheo de Raadt
1999-08-24Added type field to scsi_addr to reflect bus/device type (ATAPI or SCSI).Constantine Sapuntzakis
1999-08-10support DIOCRLDINFOTheo de Raadt
1999-07-25gets even worse..Theo de Raadt
1999-07-25another costa bug.. erkTheo de Raadt
1999-07-25Merge sd stuff from NetBSD-current. Helps with LS-120, ZIPConstantine Sapuntzakis
1999-07-23use READ_BIG for atapi; LS-120 works nowTheo de Raadt
1999-07-22for drives <10MB of so, print #.##MB for the sizeTheo de Raadt
1999-05-09Fix sdsize() to not call sdopen()/sdclose() unless it is needed.Tobias Weingartner
1998-10-04Add DIOCGPDINFO supportTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
1998-10-01Put vendor + model in spoofed label, not 'fictious'Todd C. Miller
1998-05-02Set blksize to DEV_BSIZE, not 512.Todd C. Miller
1998-04-25set d_bbsize and d_sbsize in spoofed label to values correct for ffsTodd C. Miller
1998-03-27Fix strncpy usage and call a cdrom a cdrom in the fake labelTodd C. Miller
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
1997-07-26Report total number of blocks for a scsi disk since on modern drivesTodd C. Miller
1997-04-14Merge in various pieces of current NetBSD scsi code, including but not limitedJason Downs
1997-01-04readdisklabel() with correct dev_tTheo de Raadt
1996-12-11b_resid cleanups, pointed out by minoura@kw.netlaputa.or.jp in netbsd pr#3007Theo de Raadt