#
e7c2d835 |
| 22-Jun-2024 |
jsg <jsg@openbsd.org> |
remove space between function names and argument list
|
#
38f98a5b |
| 26-May-2024 |
jsg <jsg@openbsd.org> |
remove unneeded includes
|
#
a454aff3 |
| 16-Apr-2022 |
naddy <naddy@openbsd.org> |
constify SCSI adapter entry points
ok krw@
|
#
471aeecf |
| 06-Apr-2022 |
naddy <naddy@openbsd.org> |
constify struct cfattach
|
#
4b1a56af |
| 09-Jan-2022 |
jsg <jsg@openbsd.org> |
spelling feedback and ok tb@ jmc@ ok ratchov@
|
#
664c6166 |
| 22-Sep-2020 |
krw <krw@openbsd.org> |
Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd' member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic cmdstore' member of the same instance. So n
Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd' member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*' from cmd. Take the address of cmd as required by the various casts.
No intentional functional change.
luna88k test by aoyama@, sparc64 test by jmatthew@
Identification of 2009's last *cmd use and ok jmatthew@
show more ...
|
#
7380a3a4 |
| 22-Jul-2020 |
krw <krw@openbsd.org> |
Nuke unused struct scsi_link members of adapter softc's where the driver successfully compiles on one or more of amd64, i386, hppa.
|
#
e5eae15d |
| 20-Jul-2020 |
krw <krw@openbsd.org> |
Move remaining scsi bus initialization info from "prototype scsi link" fields to struct scsibus_attach_args. Nuke the struct scsi_link * (saa_sc_link) in scaibus_attach_args.
Explicitly initialize e
Move remaining scsi bus initialization info from "prototype scsi link" fields to struct scsibus_attach_args. Nuke the struct scsi_link * (saa_sc_link) in scaibus_attach_args.
Explicitly initialize each field in scsibus_attach_args variables.
show more ...
|
#
ead808c4 |
| 19-Jul-2020 |
krw <krw@openbsd.org> |
Move the adapter related items (luns, adapter, adapter_target, adapter_buswidth, adapter_softc) from struct scsi_link to struct scsibus_attach_args.
Additional compile tests by jmatthew@ (sparc64) a
Move the adapter related items (luns, adapter, adapter_target, adapter_buswidth, adapter_softc) from struct scsi_link to struct scsibus_attach_args.
Additional compile tests by jmatthew@ (sparc64) and aoyam@ (luna88k).
show more ...
|
#
0b29cb40 |
| 16-Jul-2020 |
krw <krw@openbsd.org> |
Access adapter softc via link->bus->sb_adapter_softc.
In sparc64 autoconf access 'luns' via sb_luns and 'adapter_buswidth' via sb_adapter_buswidth.
Removes last post-config uses of the copies of bu
Access adapter softc via link->bus->sb_adapter_softc.
In sparc64 autoconf access 'luns' via sb_luns and 'adapter_buswidth' via sb_adapter_buswidth.
Removes last post-config uses of the copies of bus related information in scsi_link.
show more ...
|
#
3ba66839 |
| 02-Jul-2020 |
krw <krw@openbsd.org> |
Shuffle things around so that sc->sc_link initialization is even more concentrated just before config_found().
|
#
a7997e14 |
| 27-Jun-2020 |
krw <krw@openbsd.org> |
No need to bzero()/memset() 'struct scsibus_attach_args' variables immediately before initializing the only field in the struct.
|
#
4ab6e03a |
| 24-Jun-2020 |
krw <krw@openbsd.org> |
Use SDEV_NO_ADAPTER_TARGET instead of '7' to indicate the adapter is not a target on the bus. adapter_buswidth is 2.
ok dlg@ as part of a larger diff.
|
#
f4b58f5a |
| 13-Feb-2020 |
krw <krw@openbsd.org> |
Nuke *_minphys() functions that either simply apply MAXPHYS or do nothing at all. MAXPHYS will be applied in minphys() and nothing at all, well, doesn't do anything.
Also remove any '#define <blah>
Nuke *_minphys() functions that either simply apply MAXPHYS or do nothing at all. MAXPHYS will be applied in minphys() and nothing at all, well, doesn't do anything.
Also remove any '#define <blah> MAXPHYS' statements used solely to disguise MAXPHYS in said functions.
show more ...
|
#
6d832bc2 |
| 25-Jan-2020 |
krw <krw@openbsd.org> |
Drivers that implement their own *minphys() don't need to call the system minphys(). scsi_minphys() will do that and cd/sd/st will call scsi_minphys().
ok jmatthew@ as part of larger diff
|
#
a867c811 |
| 23-Jan-2020 |
krw <krw@openbsd.org> |
Use a consistant idiom/format when declaring scsi_adapter structures in drivers. Terse one liners, NULLs instead of 0's, explicitly specify all members, etc.
Nuke #ifdef notyet blocks related to the
Use a consistant idiom/format when declaring scsi_adapter structures in drivers. Terse one liners, NULLs instead of 0's, explicitly specify all members, etc.
Nuke #ifdef notyet blocks related to the scsi_adapter in aic.
No intentional functional change.
ok tedu@
show more ...
|
#
98edb555 |
| 30-Dec-2017 |
guenther <guenther@openbsd.org> |
Delete unnecessary <sys/file.h> includes
ok millert@ krw@
|
#
e7ff6cee |
| 11-Aug-2017 |
mpi <mpi@openbsd.org> |
Fix previous by calling wdc_atapi_intr_complete() before rerturning.
Suggested by and ok millert@
|
#
6836a844 |
| 11-Aug-2017 |
mestre <mestre@openbsd.org> |
Missing break/return statement on switch case
Coverity CID 1453394
OK deraadt@
|
#
7f58a11f |
| 14-Sep-2014 |
jsg <jsg@openbsd.org> |
remove uneeded proc.h includes ok mpi@ kspillner@
|
#
0f976493 |
| 19-Jan-2014 |
dlg <dlg@openbsd.org> |
scsi has to scrub the ata xfer before using it so its set for the rest of the ata stuff to properly handle.
found by dtucker@
|
#
a1f52200 |
| 18-Jan-2014 |
dlg <dlg@openbsd.org> |
move atapiscsi to iopools by making the entire ata layer use them too.
this would have been difficult before because the ata completion paths try to be helfpul by freeing xfers on the adapters behal
move atapiscsi to iopools by making the entire ata layer use them too.
this would have been difficult before because the ata completion paths try to be helfpul by freeing xfers on the adapters behalf, whch doesn't work in the new world scsi model where the layer that allocated the thing is responsible for freeing it, and expects to get it back and maybe use it again. however, deraadt@ added magic flags for hibernate that im now using to keep ata xfers for the scsi layers.
committing this now so itll be tested. i cant think of a better time to handle fallout from diffs like this than hackathons.
discussed with deraadt@
show more ...
|
#
c28b5ab2 |
| 08-Aug-2012 |
matthew <matthew@openbsd.org> |
Convert from K&R to ISO function signatures.
From Brad; no binary change on amd64.
|
#
3ba30b1b |
| 17-Jul-2011 |
matthew <matthew@openbsd.org> |
Backout a bunch of my SCSI commits from c2k11. At least one of these is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraad
Backout a bunch of my SCSI commits from c2k11. At least one of these is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
show more ...
|
#
f35acd0c |
| 08-Jul-2011 |
matthew <matthew@openbsd.org> |
First batch of converting SCSI HBAs from setting saa_targets and saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|