diff options
author | 2005-06-24 21:03:36 +0000 | |
---|---|---|
committer | 2005-06-24 21:03:36 +0000 | |
commit | f74e24fbe248b7071c409ca20ed5c7c75909c379 (patch) | |
tree | c965f6d02ab4c2109beb353215c089806c04e99f /usr.bin/ssh/ssh.c | |
parent | Move st.c to new mode sense mechanism. Don't save page0 data (if any), just (diff) | |
download | wireguard-openbsd-f74e24fbe248b7071c409ca20ed5c7c75909c379.tar.xz wireguard-openbsd-f74e24fbe248b7071c409ca20ed5c7c75909c379.zip |
Eliminate sd_scsibus_get_optparms() as unnecessary, instead getting
the blocksize from scsi_size() at the same time as the capacity is
found. Use the fake geometry already present in
sd_scsibus_get_parms(), which is identical to the one _optparms used.
Eliminates another old mode sense usage and associated struct.
Only affects T_OPTICAL sd devices, which seem extremely rare. Similar
to what netbsd does, and freebsd as far as I can make out.
Diffstat (limited to 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions