Age | Commit message (Collapse) | Author |
|
so we will be able to address devices larger than the 10-byte cdb's allow
us to do.
ok krw@, dlg@
|
|
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.
|
|
have. Some devices return four bytes less information than requested
for the PAGE_RIGID_GEOMETRY page. Put the two together and older
Conner drives don't work because we rejected the short page and asked
for the PAGE_FLEX_GEOMETY page. Noted by hshoexer@ and kettenis@.
Also should fix the problems with a device miod@ reported that did a
similar short PAGE_FLEX_GEOMETRY.
ok deraadt@
|
|
ensure they are the ones requested. No functional change unless
garbage was being returned.
ok marco@
|
|
union declaration to allow pointers to individual page types. Simplify
sd.c code by using individual page type pointers. No functional
change.
ok tdeval@
|
|
scsi_disk_pages union. From FreeBSD and SCSI spec.
|
|
both 10 byte and 6 byte MODE SENSE commands and just return error
checked values.
Convert sd_scsi.c to use new mechanism for non-optical drives. USB
umass devices will now display actual mode sense info if it is
available via a 10 byte MODE SENSE. Which may mean 0 heads, etc. is
shown until cosmetics are finalized.
ok marco@ 'that is pretty cool' deraadt@
|
|
derived from pr2815 from Marco Peereboom
krw@ deraadt@ ok
|
|
1) Correctly define MODE_SENSE_BIG as 0x5a, not 0x54.
2) Delete duplicate #define's of some opcodes in scsi_disk.h.
3) Delete multiple #define's for same opcode in scsi_disk.h.
4) Replace uses of deleted opcodes in umass.c with remaining ones.
ok millert@ tdeval@
|
|
ok costa@, krw@
|
|
|
|
|
|
|
|
Updated ioctls to match
Minor patches in anticipation of wd->sd translation layer
|
|
More SCSI logic from NetBSD-current
Some tape fixes. ATAPI tapes do not work yet for most operations.
|
|
to:
* New changer driver.
* Better optical support.
* Different `done' semantics.
* New quirks for SCSI QIC tape driver, SCSI floppy drives.
* Better support for SCSI-I devices.
Everybody needs to test this.
|
|
|
|
|
|
|
|
|
|
|