summaryrefslogtreecommitdiff
path: root/sys/dev/scsipi/sd.c
AgeCommit message (Expand)Author
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add RCSIDslukem
2001-07-18bzero -> memsetthorpej
2001-06-01Fix typo in sddump() which caused core dumps to fail with ENXIO.bouyer
2001-05-29fix some problems in sddump() with uninitialized variables.chs
2001-05-22Make SDRETRIES an option you can dig out of opt_scsi.h.mjacob
2001-05-06Since __HAVE_OLD_DISKLABEL, DISKMINOR(u, p) isn't continuous over "p"drochner
2001-04-28Don't forget to set XS_CTL_DATA_OUT (that was removed in previous).tsutsui
2001-04-28Use simple tags for read and write, unless B_ORDERED is set, inthorpej
2001-04-25Pull up the thorpej_scsipi branch to main branch.bouyer
2001-03-09Only lock the pack in if the disk device is a removable one. This fixes aexplorer
2001-01-08Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL whenfvdl
2001-01-07Adapt all disk devices in MI directories to handle ODIOC* callsfvdl
2000-12-08Don't access (in core) disk label of a removable disk that is not there.augustss
2000-11-24avoid division and remainder operations for devices wherechs
2000-11-22Remove obsolete comment.soren
2000-07-05Garbage-collect __BDEVSW_DUMP_OLD_TYPE.thorpej
2000-06-09Prevent a process being swapped out during I/O if the data buffer isenami
2000-05-30Add a quirk, SDEV_ONLYBIG, which implies that the device cannot handleaugustss
2000-05-23sd_interpret_sense() can be called from interrupt context; call scsipi_start()bouyer
2000-05-16Nuke dk_establish() from orbit except from those ports which still usethorpej
2000-03-30Get rid of register declarations.augustss
2000-03-13Fix doubled 'the's in comments.soren
2000-02-07Fix a bug in disksort_*() which caused non-optimal ordering when multiplethorpej
2000-01-25try to dtrt for sector sizes <DEV_BSIZE (at least, don't divide by 0)drochner
2000-01-21Update for sys/buf.h/disksort_*() changes.thorpej
1999-12-23Implement the DIOCKLABEL ioctl. Through this ioctl it it possible keep theleo
1999-11-03use __vax__ and __i386__ instead of vax and i386matt
1999-10-30In sddump(), check sd->sc_dev.dv_flags once sd has been initialised.bouyer
1999-10-17Don't call dk_establish() on vax either.ragge
1999-10-17Cosmetic changes.enami
1999-09-30Cleanup the scsipi_xfer flags:thorpej
1999-09-21Calculate the correct device minor of the first partition.enami
1999-09-11Implement detaching SCSI and ATAPI disks.thorpej
1999-08-26Make `sc_ops->sdo_flush' synchronous. The flags `SDF_FLUSHING' andhannken
1999-05-31* use format_bytes() to display the disk sizelukem
1999-02-28Update to slightly altered rnd_attach_source() apiexplorer
1999-02-10Abort transfer if b_blkno is negative. Closes PR kern/5553 by Johan Danielsson.bouyer
1999-02-08Change DIOCEJECT to do what's needed to eject a device before the ejectbouyer
1999-01-29Return ENODEV instead of EIO when we are trying to open a device without mediabouyer
1999-01-26Allows the raw partition to be open()'ed, even when scsipi_start() failsbouyer
1999-01-19Move test for SDEV_NOSTARTUNIT quirk from sd.c to scsipi_start().bouyer
1998-12-08When closing, wait for pending xfers to drain before unlocking the door,thorpej
1998-11-20Add adapter reference counting for SCSI and ATAPI devices.thorpej
1998-11-17The ATAPI-specific hack is not needed any more.bouyer
1998-08-17Only mark the disk dirty if we write.thorpej
1998-08-17Assign my copyrights to TNF.mycroft
1998-08-15Should not use SCSI_POLL if the system is not cold.thorpej
1998-08-15Keep track if the disk has had done i/o, making it dirty. On last close,thorpej
1998-08-05Improve generation of default disklabels:drochner