summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc/sdmmc_scsi.c
AgeCommit message (Expand)Author
2023-04-19dont advertise non-removable sdmmc devices as removable to the scsi layer.David Gwynne
2023-04-19handle some more manufacturer ids.David Gwynne
2022-04-16constify SCSI adapter entry pointsChristian Weisgerber
2021-03-27Fix SDMMC_DEBUG buildkn
2020-10-15Replace simple one-line bcopy()/memcpy() of faked data into scsi_xfer with callKenneth R Westerback
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-09-05Replace '32' with SID_SCSI2_ALEN (a.k.a. 31) when building emulated INQUIRYKenneth R Westerback
2020-09-03Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.Kenneth R Westerback
2020-09-02When building emulated INQUIRY results use the SCSI_REV_* #define's toKenneth R Westerback
2020-09-01Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big toKenneth R Westerback
2020-07-25No need for a bzero(), just init saa.sf to NULL. All the saa.saaKenneth R Westerback
2020-07-22Nuke unused struct scsi_link members of adapter softc's where theKenneth R Westerback
2020-07-20Move remaining scsi bus initialization info from "prototype scsi link"Kenneth R Westerback
2020-07-19Move the adapter related items (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Access adapter softc via link->bus->sb_adapter_softc.Kenneth R Westerback
2020-07-13Remove some pointless casting of void * when assigning oneKenneth R Westerback
2020-07-03Pass the expected 'scsibus_attach_args *' to scsibus_attach() viaKenneth R Westerback
2020-02-20Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on theKenneth R Westerback
2020-02-12Bring a few stragglers into line with the idiom used by the other 40+Kenneth R Westerback
2020-01-26Shuffle some names around to make reading the code less headacheKenneth R Westerback
2020-01-25Drivers that implement their own *minphys() don't need to call theKenneth R Westerback
2018-03-30Add some sensible error checking in the hibernate io path, helpfullyJonathan Matthew
2018-03-20Add hibernate IO path for sdmmc(4). This requires some help from theJonathan Matthew
2017-04-06Sizes for the remaining free() calls, and use mallocarray()Theo de Raadt
2017-04-06add sizes to free() callsTheo de Raadt
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2017-01-20sdmmc sd(4) devices should be marked SID_REMOVABLE, so that eject(1) canTheo de Raadt
2016-05-05Populate SCSI inquiry data with information from SD and MMC cards.Mark Kettenis
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-11-01fix the build when SDMMC_DEBUG is definedJonathan Gray
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
2011-07-09Simplify sdmmc_scsi by using SCSI_NO_ADAPTER_TARGET.Matthew Dempsky
2011-07-09Kludge around sdmmc(4)'s poor design: replace "struct scsi_link *"Matthew Dempsky
2011-06-16dont respond to VPD inquiries with standard inquiry data. add aDavid Gwynne
2010-10-25Iopoolification. Tested by mcbride@, dlg@, and Gabriel Kihlman on tech@.Kenneth R Westerback
2010-08-24lockmgr -> rwlock conversionBret Lambert
2010-08-19- fold several occurences of DEVNAME() into one located in sdmmcvar.h.Jasper Lievisse Adriaanse
2010-06-20Don't use and maintain a function pointer that is only ever set to oneMichael Knudsen
2010-05-20New scsi code seems to be stable. Pluck previously identifiedKenneth R Westerback
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-10-03Add missing <sys/device.h>.Mark Kettenis
2009-09-05scsi_done before COMPLETEDavid Gwynne
2009-04-07Remove recursion from the sdmmc locking regime.Bret Lambert
2009-03-24Remove redundant casts.Mark Kettenis
2009-02-20Let the sdmmc adapters tell the sdmmc layer how much sectors they canMiod Vallat
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat