| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
nestle amoung its friends.
|
|
|
|
| |
guards. Spelunkers using grep are easily confused.
|
| |
|
|
|
|
| |
ok marco@ guenther@
|
|
|
|
| |
defines it.
|
| |
|
|
|
|
|
|
|
|
|
| |
this brings it in line with the new midlayer changes.
mostly borrowed from sd(4) changes.
tested by krw@ and me
ok krw@
|
|
|
|
|
|
| |
have been going on. this appears to bring us back to stable state.
lots of testing by oga and ariane and my self.
|
|
|
|
|
|
|
|
|
| |
one by tedu@. It doesn't do anything smart yet, it just uses
plain old disksort. we also keep the old method of queueing bufs
since some miods have crazy MD drivers that need some love.
ok beck@, art@
tested by many on many archs.
|
| |
|
|
|
|
|
|
| |
commands. Bump limit back to the standard 4, and at the same time eliminate
SDRETRIES and CDRETRIES (both defined to 4) in favour of a new define,
SCSI_RETRIES, also defined to 4.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead. We do not make use of the PMI and RELADDR bits in the
READ CAPACITY command, and thus there is no difference between
cd and sd capacity handling. Brings cd and sd more into line,
shrinks code and makes things easier to understand.
Make types for blocksize and disksize consistant and MI.
Make cdopen() as silent as sdopen().
ok marco@
|
|
|
|
|
|
| |
scsi_read_cap_data as READ_CD_CAPACITY, scsi_read_cd_capacity and
scsi_read_cd_cap_data respectively. No functional change as all were
identical to their counterparts.
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
| |
using the new NO_CCB result. Currently a no-op since no driver produces
that result.
ok dlg@ marco@ deraadt@
|
|
|
|
|
|
|
|
|
| |
when PWR_RESUME occurs. The drives may have forgotten they were
locked.
Noted and original diff by Alexey Vatchenko.
"I agree with the intent." miod@ "Looks acceptable." deraadt@
|
|
|
|
| |
ok krw@
|
| |
|
|
|
|
| |
ok miod@ marco@
|
|
|
|
|
|
|
| |
Create structures to eliminate 2048+4 magic number everywhere. Mostly
adapted from NetBSD.
tested by sturm@, beck@. ok beck@
|
|
|
|
|
| |
scsi_link to determine device type, rather than keeping a copy in
sd_softc.type. Remove unused sd_softc.type field.
|
| |
|
|
|
|
| |
okay pval, nits miod.
|
|
|
|
|
|
| |
cd.h. Remove include of cdvar.h from cd.c. cdvar.h becomes expendable.
No functional change.
|
| |
|
|
|
|
|
|
| |
cd_atapi into cd since code is now almost identical, and only affects
volume adjusting ioctl's. Minor side effect of allowing
cd_load_unload() attempts to scsi cd's as NetBSD does.
|
| |
|
|
Mostly based on NetBSD-current
|