#
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.
|
#
bbd7668b |
| 15-Feb-2020 |
krw <krw@openbsd.org> |
*_minphys() functions that cap i/o sizes at a value larger than the value minphys() uses (MAXPHYS) are pointless since minphys() is always called after the *_minphys() function.
MAXPHYS (64 * 1024)
*_minphys() functions that cap i/o sizes at a value larger than the value minphys() uses (MAXPHYS) are pointless since minphys() is always called after the *_minphys() function.
MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we have. So a *_minphys() function that caps the i/o size at N * PAGE_SIZE where N is > 16 is just wasting cycles.
Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE), ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE), ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512), iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE), twe_minphys (62 * PAGE_SIZE). uha_minphys (32 * PAGE_SIZE),
show more ...
|
#
4e704ea7 |
| 27-Jan-2020 |
krw <krw@openbsd.org> |
Prototypes should not name the parameters.
|
#
9f36bc94 |
| 26-Jan-2020 |
krw <krw@openbsd.org> |
Shuffle some names around to make reading the code less headache inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys' to reflect what it is supposed to do. Use consistent naming conve
Shuffle some names around to make reading the code less headache inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys' to reflect what it is supposed to do. Use consistent naming convention (<dev>_minphys) for the actual device functions.
No functional change.
show more ...
|
#
0e86c8c8 |
| 03-Apr-2011 |
dlg <dlg@openbsd.org> |
move twe over to iopools so we can get rid of another NO_CCB user. this also cuts the aen drain over to using an iohandler so it can be made reliable.
this compiles, but i havent got hardware to tes
move twe over to iopools so we can get rid of another NO_CCB user. this also cuts the aen drain over to using an iohandler so it can be made reliable.
this compiles, but i havent got hardware to test with. its going in as a way to force testing. if there's a problem with the code then let me know or back it out.
"man up" k2k11
show more ...
|
#
01355dc1 |
| 16-Feb-2009 |
miod <miod@openbsd.org> |
Extend the scsi_adapter minphys() callback to take a struct scsi_link * as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appr
Extend the scsi_adapter minphys() callback to take a struct scsi_link * as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
show more ...
|
#
1c4e3141 |
| 24-Jul-2008 |
thib <thib@openbsd.org> |
the softc sc_lock lockmgr lock is unused, so remove it.
ok krw@, dlg@
|
#
6c2d3cf1 |
| 15-Sep-2005 |
krw <krw@openbsd.org> |
Don't fake MODE SENSE page 4 info inside raid drivers, just let sd fake a geometry. Page 4 info does not get used for size information. Eliminate now unused union scsi_disk_pages.
ok marco@ mickey@
Don't fake MODE SENSE page 4 info inside raid drivers, just let sd fake a geometry. Page 4 info does not get used for size information. Eliminate now unused union scsi_disk_pages.
ok marco@ mickey@ pre-lock.
show more ...
|
#
2acc8cd2 |
| 02-Jun-2003 |
mickey <mickey@openbsd.org> |
kill the caluses three and four on some of my code
|
#
804bd065 |
| 17-Sep-2002 |
mickey <mickey@openbsd.org> |
deal w/ the dma in a special thread to follow the busdma semantics. this fixes panics on unaligned physio; w/ help and testing from daniel@lucq.org
|
#
c4071fd1 |
| 14-Mar-2002 |
millert <millert@openbsd.org> |
First round of __P removal in sys
|
#
61b919e0 |
| 10-May-2001 |
mickey <mickey@openbsd.org> |
dmamem_unmap the memory before dmamem_freeig it. only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ do
dmamem_unmap the memory before dmamem_freeig it. only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ double-buffer on command failure as well. once at it, allow more than 1 segment for double-buffer to be allocated. also fix a couple of endianesses and command timeouts.
show more ...
|
#
194f0c17 |
| 19-Feb-2001 |
mickey <mickey@openbsd.org> |
proper dmaable memory allocations; oops
|
#
007f32ff |
| 15-Sep-2000 |
mickey <mickey@openbsd.org> |
3ware escalade ide raid controllers
|