summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
AgeCommit message (Expand)Author
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-01-21Invoke disk_detach() and related cleanup work in detach(), rather thanMiod Vallat
2006-01-17Need to device_unreg() the implicit device_ref() done by cdlookup() inMiod Vallat
2006-01-12Don't populate the fabricated disklabel's partition info from trackKenneth R Westerback
2005-12-25Cleanup/fix cdgetdisklabel() byKenneth R Westerback
2005-12-23Make cd_load_toc() take an address mode parameter, clean up a bit.Kenneth R Westerback
2005-12-22Move a struct cd_toc (800 bytes) from the stack to malloc'ed memory.Kenneth R Westerback
2005-12-22Initialize data_track before a 'goto done;' could lead to it beingKenneth R Westerback
2005-10-15Eliminate unnecessary bzero() by only writing valid information.Kenneth R Westerback
2005-10-14Eliminate uneeded variable 'i' and use under utilized 'data_track'Kenneth R Westerback
2005-10-11use [bl]etohXX instead of ntoh[sl], makes the code more consistent andHans-Joerg Hoexer
2005-10-11Change some byte shifting to _4btol() and swap32() calls.Kenneth R Westerback
2005-10-10Some KNF. malloc/free instead of MALLOC/FREE since it's a variableKenneth R Westerback
2005-09-29Clear SDEV_MEDIA_LOADED for cd media on the last close of a device, asKenneth R Westerback
2005-09-26Use SCSI_IGNORE_ILLEGAL_REQUEST when reading a cd's table of contents.Kenneth R Westerback
2005-09-21Improve readability by using a variable instead of repeatedKenneth R Westerback
2005-09-21Missing parenthesis. Same problem was addressed in sd.c r1.90. CouldKenneth R Westerback
2005-09-11Simplify code by changing struct scsi_mode_sense_buf{ union {}Kenneth R Westerback
2005-08-23Move uses of struct scsi_mode_sense_buf (255 bytes each) from theKenneth R Westerback
2005-08-03Move a couple of 2048+4 byte structures from the stack to the heap.Kenneth R Westerback
2005-06-11Elminate a few unnecessary casts by using union field names, bit of KNF.Kenneth R Westerback
2005-06-05Fix scsi_mode_select() and scsi_mode_select_big() to send just theKenneth R Westerback
2005-06-03Move definitions of struct cd_softc{} and CDRETRIES from cdvar.h intoKenneth R Westerback
2005-06-03Tweak scsi_do_mode_sense(). NetBSD was right and I was wrong. Sigh.Kenneth R Westerback
2005-05-27Don't bother issuing a MODE SELECT in cd_set_pa_immed() if we aren'tKenneth R Westerback
2005-05-27Convert cd code to new mode sense framework. Merge cd_scsi andKenneth R Westerback
2005-05-01Allow RAW_PART+S_IFCHR device opens to succeed even if media notKenneth R Westerback
2005-04-06De-register scsi.Kenneth R Westerback
2005-04-05Clean up some logic. Use better error handling for sd devices. BeKenneth R Westerback
2005-03-30Comment typo, minor knf. No code change.Kenneth R Westerback
2004-05-09Add missing <cr>'s to various SC_DEBUG() calls, along with a few otherKenneth R Westerback
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
2003-07-30reverse booleans so it's clear what we're looking for. ok krw@Ted Unangst
2003-05-18constify the quirck tables and fix the scsi_inqmatch() proto accordingly; krw...Michael Shalayeff
2003-05-17READ_CD_CAPCITY -> READ_CD_CAPACITY in comment.Kenneth R Westerback
2003-05-16Provide most if not all the support required for the usb changes NateKenneth R Westerback
2003-04-06The disklabel fields d_packname and d_typename are not null terminated stringsKenneth R Westerback
2003-01-17The end of the track is one frame before the first frame of the next trackJason Wright
2003-01-05spellingTheo de Raadt
2002-12-30Add new parameter to scsi_test_unit_ready(): retries number.Alexander Yurchenko
2002-06-09splassert a splbio assumption.Artur Grabowski
2002-06-08KISS. the spl variable doesn't have to be called s, but it make the code less...Artur Grabowski
2002-06-08splbio around biodoneArtur Grabowski
2002-05-23Signed/unsigned int bug caused lp->d_npartitions to be set to zero.Constantine Sapuntzakis
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-01cdstrategy(): check that media is loaded before doing anything with theHans Insulander