#
1.35 |
|
23-May-2024 |
jsg |
remove unneeded includes; ok mpi@
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.34 |
|
26-Aug-2020 |
krw |
Remove needless uses of SDEV_ONLYBIG. It was always set when SDEV_UMASS was set, and was always checked in concert with SDEV_ATAPI. Just rely on SDEV_ATAPI and SDEV_UMASS in all but the one place sd(4) where SDEV_ONLYBIG is set independently of SDEV_ATAPI/_UMASS.
ok jmatthew@
|
#
1.33 |
|
22-Jun-2020 |
tobhe |
Blacklist Ericsson F5521gw broadband modem.
ok sthen@
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.32 |
|
24-Jun-2015 |
mpi |
Quirk needed for SuperTop IDE bridge from frantisek holop.
|
Revision tags: OPENBSD_5_7_BASE
|
#
1.31 |
|
05-Oct-2014 |
mpi |
Quirk needed by the Archos 24y Vision, from Max Fillinger.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.30 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.29 |
|
13-Jun-2007 |
mbalmer |
Remove the definition and use of umass/umass_quirks related macros.
No binary change.
ok dlg.
|
#
1.28 |
|
10-Jun-2007 |
mbalmer |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
#
1.27 |
|
05-Jun-2007 |
mbalmer |
Remove the "Static" declaration of many functions. It was defined to be empty and it was not consistently used. It was confusing as it suggested these functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
#
1.26 |
|
04-Jun-2007 |
mbalmer |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
|
#
1.25 |
|
13-Mar-2007 |
steven |
add quirk for Sony DSC-T10, which is UFI, not SCSI.
help and ok krw@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.24 |
|
09-Dec-2006 |
pedro |
Better describe the magic done by umass_fixup_sony(), okay krw@
|
#
1.23 |
|
09-Dec-2006 |
pedro |
Add quirk for Sony DSC-W50 (which is UFI, not SCSI) and rearrange umass_fixup_sony() a bit while there, okay krw@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.22 |
|
31-Dec-2005 |
fgsch |
The Sony DSC-P41 it's actually UFI, not SCSI. Unfortunately (all?) DSC cameras share the same product id, so toggle this behavior for revision 5.00 only for now. krw@ agrees.
|
#
1.21 |
|
18-Dec-2005 |
kettenis |
Apparently the Scanlogic SL11R is not UFI, and correctly identifies itself as SCSI. From NetBSD. Tested by me. ok krw@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.20 |
|
02-Jun-2005 |
krw |
Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer be required and no actual users of the relevant devices found.
ok marco@
|
#
1.19 |
|
26-May-2005 |
krw |
M-Systems DiskOnKey2 works better with zero padded commands so make it CPROTO_ATAPI. This is what my 'IBM USB 2.0 Memory Key' actually was.
|
#
1.18 |
|
25-May-2005 |
krw |
PQUIK_NOMODESENSE no longer does anything, and PQUIRK_NOBIGMODESENSE was defined to be 0. Expunge references. Null entries in quirks table will be removed later.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.17 |
|
11-Nov-2004 |
grange |
quirk for iriver 3xx.
ok dlg@
|
#
1.16 |
|
18-Oct-2004 |
dlg |
quirks for the Creative Nomad from Michael Adda
push by deraadt@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
21-Jul-2004 |
dlg |
from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21 log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.)
log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960.
log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical.
ok krw@
|
#
1.14 |
|
17-Jul-2004 |
dlg |
from netbsd, umass.c 1.98, umassvar.h 1.20 log message: Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
We don't have UMASS_QUIRK_NO_START_STOP so I didn't have to remove it. I consider umass_quirks.c to be too different so I hand removed references to the removed defines. There are some useless entries in there now which will be cleaned up after umass is merged with netbsd.
ok deraadt@
|
#
1.13 |
|
09-Jul-2004 |
deraadt |
from netbsd: The Sony camera reports itself as a "disk", not a "simplified direct access" device -- ergo, it is "SCSI", not "RBC".
|
#
1.12 |
|
13-Jun-2004 |
mickey |
support iriver ifp-1xx thingies
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
10-Apr-2004 |
deraadt |
minolta dimage A1 quirk; 3734, michael@paddon.org
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.10 |
|
21-Feb-2004 |
krw |
Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, and UMASS_QUIRK_FORCE_SHORT_INQUIRY. Fixes a bunch of USB devices. Based on work by Mycroft in NetBSD.
ok tdeval@ deraadt@.
|
#
1.9 |
|
14-Jan-2004 |
krw |
Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Also moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom.
Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD
ok deraadt@, mvme* changes by miod@.
|
#
1.8 |
|
03-Dec-2003 |
markus |
my USB_PRODUCT_SHUTTLE_EUSB needs PQUIRK_NOSENSE; ok henning
|
#
1.7 |
|
27-Nov-2003 |
henning |
add quirk for Datum Networks SSF-7X USB Multi Players PR3580; Aldo Cortesi <aldo@nullcube.com>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.6 |
|
19-May-2003 |
nate |
branches: 1.6.2; 1.6.4; add a quirk for my trek thumbdrive
|
#
1.5 |
|
18-May-2003 |
nate |
add a quirk for the Imation FlashGo adapter to make it shut up
|
#
1.4 |
|
18-May-2003 |
nate |
add a quirk for a different zip250 model
|
Revision tags: UBC_SYNC_A
|
#
1.3 |
|
17-May-2003 |
nate |
sync with NetBSD and add various local hacks to make things work correctly with our scsi layer
|
Revision tags: UBC_SYNC_B
|
#
1.2 |
|
07-May-2002 |
nate |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
1.1 |
|
07-May-2002 |
nate |
Sync ulpt driver with NetBSD
|
#
1.34 |
|
26-Aug-2020 |
krw |
Remove needless uses of SDEV_ONLYBIG. It was always set when SDEV_UMASS was set, and was always checked in concert with SDEV_ATAPI. Just rely on SDEV_ATAPI and SDEV_UMASS in all but the one place sd(4) where SDEV_ONLYBIG is set independently of SDEV_ATAPI/_UMASS.
ok jmatthew@
|
#
1.33 |
|
22-Jun-2020 |
tobhe |
Blacklist Ericsson F5521gw broadband modem.
ok sthen@
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.32 |
|
24-Jun-2015 |
mpi |
Quirk needed for SuperTop IDE bridge from frantisek holop.
|
Revision tags: OPENBSD_5_7_BASE
|
#
1.31 |
|
05-Oct-2014 |
mpi |
Quirk needed by the Archos 24y Vision, from Max Fillinger.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.30 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.29 |
|
13-Jun-2007 |
mbalmer |
Remove the definition and use of umass/umass_quirks related macros.
No binary change.
ok dlg.
|
#
1.28 |
|
10-Jun-2007 |
mbalmer |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
#
1.27 |
|
05-Jun-2007 |
mbalmer |
Remove the "Static" declaration of many functions. It was defined to be empty and it was not consistently used. It was confusing as it suggested these functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
#
1.26 |
|
04-Jun-2007 |
mbalmer |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
|
#
1.25 |
|
13-Mar-2007 |
steven |
add quirk for Sony DSC-T10, which is UFI, not SCSI.
help and ok krw@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.24 |
|
09-Dec-2006 |
pedro |
Better describe the magic done by umass_fixup_sony(), okay krw@
|
#
1.23 |
|
09-Dec-2006 |
pedro |
Add quirk for Sony DSC-W50 (which is UFI, not SCSI) and rearrange umass_fixup_sony() a bit while there, okay krw@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.22 |
|
31-Dec-2005 |
fgsch |
The Sony DSC-P41 it's actually UFI, not SCSI. Unfortunately (all?) DSC cameras share the same product id, so toggle this behavior for revision 5.00 only for now. krw@ agrees.
|
#
1.21 |
|
18-Dec-2005 |
kettenis |
Apparently the Scanlogic SL11R is not UFI, and correctly identifies itself as SCSI. From NetBSD. Tested by me. ok krw@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.20 |
|
02-Jun-2005 |
krw |
Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer be required and no actual users of the relevant devices found.
ok marco@
|
#
1.19 |
|
26-May-2005 |
krw |
M-Systems DiskOnKey2 works better with zero padded commands so make it CPROTO_ATAPI. This is what my 'IBM USB 2.0 Memory Key' actually was.
|
#
1.18 |
|
25-May-2005 |
krw |
PQUIK_NOMODESENSE no longer does anything, and PQUIRK_NOBIGMODESENSE was defined to be 0. Expunge references. Null entries in quirks table will be removed later.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.17 |
|
11-Nov-2004 |
grange |
quirk for iriver 3xx.
ok dlg@
|
#
1.16 |
|
18-Oct-2004 |
dlg |
quirks for the Creative Nomad from Michael Adda
push by deraadt@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
21-Jul-2004 |
dlg |
from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21 log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.)
log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960.
log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical.
ok krw@
|
#
1.14 |
|
17-Jul-2004 |
dlg |
from netbsd, umass.c 1.98, umassvar.h 1.20 log message: Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
We don't have UMASS_QUIRK_NO_START_STOP so I didn't have to remove it. I consider umass_quirks.c to be too different so I hand removed references to the removed defines. There are some useless entries in there now which will be cleaned up after umass is merged with netbsd.
ok deraadt@
|
#
1.13 |
|
09-Jul-2004 |
deraadt |
from netbsd: The Sony camera reports itself as a "disk", not a "simplified direct access" device -- ergo, it is "SCSI", not "RBC".
|
#
1.12 |
|
13-Jun-2004 |
mickey |
support iriver ifp-1xx thingies
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
10-Apr-2004 |
deraadt |
minolta dimage A1 quirk; 3734, michael@paddon.org
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.10 |
|
21-Feb-2004 |
krw |
Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, and UMASS_QUIRK_FORCE_SHORT_INQUIRY. Fixes a bunch of USB devices. Based on work by Mycroft in NetBSD.
ok tdeval@ deraadt@.
|
#
1.9 |
|
14-Jan-2004 |
krw |
Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Also moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom.
Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD
ok deraadt@, mvme* changes by miod@.
|
#
1.8 |
|
03-Dec-2003 |
markus |
my USB_PRODUCT_SHUTTLE_EUSB needs PQUIRK_NOSENSE; ok henning
|
#
1.7 |
|
27-Nov-2003 |
henning |
add quirk for Datum Networks SSF-7X USB Multi Players PR3580; Aldo Cortesi <aldo@nullcube.com>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.6 |
|
19-May-2003 |
nate |
branches: 1.6.2; 1.6.4; add a quirk for my trek thumbdrive
|
#
1.5 |
|
18-May-2003 |
nate |
add a quirk for the Imation FlashGo adapter to make it shut up
|
#
1.4 |
|
18-May-2003 |
nate |
add a quirk for a different zip250 model
|
Revision tags: UBC_SYNC_A
|
#
1.3 |
|
17-May-2003 |
nate |
sync with NetBSD and add various local hacks to make things work correctly with our scsi layer
|
Revision tags: UBC_SYNC_B
|
#
1.2 |
|
07-May-2002 |
nate |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
1.1 |
|
07-May-2002 |
nate |
Sync ulpt driver with NetBSD
|
#
1.33 |
|
22-Jun-2020 |
tobhe |
Blacklist Ericsson F5521gw broadband modem.
ok sthen@
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.32 |
|
24-Jun-2015 |
mpi |
Quirk needed for SuperTop IDE bridge from frantisek holop.
|
Revision tags: OPENBSD_5_7_BASE
|
#
1.31 |
|
05-Oct-2014 |
mpi |
Quirk needed by the Archos 24y Vision, from Max Fillinger.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.30 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.29 |
|
13-Jun-2007 |
mbalmer |
Remove the definition and use of umass/umass_quirks related macros.
No binary change.
ok dlg.
|
#
1.28 |
|
10-Jun-2007 |
mbalmer |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
#
1.27 |
|
05-Jun-2007 |
mbalmer |
Remove the "Static" declaration of many functions. It was defined to be empty and it was not consistently used. It was confusing as it suggested these functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
#
1.26 |
|
04-Jun-2007 |
mbalmer |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
|
#
1.25 |
|
13-Mar-2007 |
steven |
add quirk for Sony DSC-T10, which is UFI, not SCSI.
help and ok krw@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.24 |
|
09-Dec-2006 |
pedro |
Better describe the magic done by umass_fixup_sony(), okay krw@
|
#
1.23 |
|
09-Dec-2006 |
pedro |
Add quirk for Sony DSC-W50 (which is UFI, not SCSI) and rearrange umass_fixup_sony() a bit while there, okay krw@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.22 |
|
31-Dec-2005 |
fgsch |
The Sony DSC-P41 it's actually UFI, not SCSI. Unfortunately (all?) DSC cameras share the same product id, so toggle this behavior for revision 5.00 only for now. krw@ agrees.
|
#
1.21 |
|
18-Dec-2005 |
kettenis |
Apparently the Scanlogic SL11R is not UFI, and correctly identifies itself as SCSI. From NetBSD. Tested by me. ok krw@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.20 |
|
02-Jun-2005 |
krw |
Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer be required and no actual users of the relevant devices found.
ok marco@
|
#
1.19 |
|
26-May-2005 |
krw |
M-Systems DiskOnKey2 works better with zero padded commands so make it CPROTO_ATAPI. This is what my 'IBM USB 2.0 Memory Key' actually was.
|
#
1.18 |
|
25-May-2005 |
krw |
PQUIK_NOMODESENSE no longer does anything, and PQUIRK_NOBIGMODESENSE was defined to be 0. Expunge references. Null entries in quirks table will be removed later.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.17 |
|
11-Nov-2004 |
grange |
quirk for iriver 3xx.
ok dlg@
|
#
1.16 |
|
18-Oct-2004 |
dlg |
quirks for the Creative Nomad from Michael Adda
push by deraadt@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
21-Jul-2004 |
dlg |
from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21 log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.)
log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960.
log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical.
ok krw@
|
#
1.14 |
|
17-Jul-2004 |
dlg |
from netbsd, umass.c 1.98, umassvar.h 1.20 log message: Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
We don't have UMASS_QUIRK_NO_START_STOP so I didn't have to remove it. I consider umass_quirks.c to be too different so I hand removed references to the removed defines. There are some useless entries in there now which will be cleaned up after umass is merged with netbsd.
ok deraadt@
|
#
1.13 |
|
09-Jul-2004 |
deraadt |
from netbsd: The Sony camera reports itself as a "disk", not a "simplified direct access" device -- ergo, it is "SCSI", not "RBC".
|
#
1.12 |
|
13-Jun-2004 |
mickey |
support iriver ifp-1xx thingies
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
10-Apr-2004 |
deraadt |
minolta dimage A1 quirk; 3734, michael@paddon.org
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.10 |
|
21-Feb-2004 |
krw |
Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, and UMASS_QUIRK_FORCE_SHORT_INQUIRY. Fixes a bunch of USB devices. Based on work by Mycroft in NetBSD.
ok tdeval@ deraadt@.
|
#
1.9 |
|
14-Jan-2004 |
krw |
Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Also moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom.
Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD
ok deraadt@, mvme* changes by miod@.
|
#
1.8 |
|
03-Dec-2003 |
markus |
my USB_PRODUCT_SHUTTLE_EUSB needs PQUIRK_NOSENSE; ok henning
|
#
1.7 |
|
27-Nov-2003 |
henning |
add quirk for Datum Networks SSF-7X USB Multi Players PR3580; Aldo Cortesi <aldo@nullcube.com>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.6 |
|
19-May-2003 |
nate |
branches: 1.6.2; 1.6.4; add a quirk for my trek thumbdrive
|
#
1.5 |
|
18-May-2003 |
nate |
add a quirk for the Imation FlashGo adapter to make it shut up
|
#
1.4 |
|
18-May-2003 |
nate |
add a quirk for a different zip250 model
|
Revision tags: UBC_SYNC_A
|
#
1.3 |
|
17-May-2003 |
nate |
sync with NetBSD and add various local hacks to make things work correctly with our scsi layer
|
Revision tags: UBC_SYNC_B
|
#
1.2 |
|
07-May-2002 |
nate |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
1.1 |
|
07-May-2002 |
nate |
Sync ulpt driver with NetBSD
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.32 |
|
24-Jun-2015 |
mpi |
Quirk needed for SuperTop IDE bridge from frantisek holop.
|
Revision tags: OPENBSD_5_7_BASE
|
#
1.31 |
|
05-Oct-2014 |
mpi |
Quirk needed by the Archos 24y Vision, from Max Fillinger.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.30 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.29 |
|
13-Jun-2007 |
mbalmer |
Remove the definition and use of umass/umass_quirks related macros.
No binary change.
ok dlg.
|
#
1.28 |
|
10-Jun-2007 |
mbalmer |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
#
1.27 |
|
05-Jun-2007 |
mbalmer |
Remove the "Static" declaration of many functions. It was defined to be empty and it was not consistently used. It was confusing as it suggested these functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
#
1.26 |
|
04-Jun-2007 |
mbalmer |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
|
#
1.25 |
|
13-Mar-2007 |
steven |
add quirk for Sony DSC-T10, which is UFI, not SCSI.
help and ok krw@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.24 |
|
09-Dec-2006 |
pedro |
Better describe the magic done by umass_fixup_sony(), okay krw@
|
#
1.23 |
|
09-Dec-2006 |
pedro |
Add quirk for Sony DSC-W50 (which is UFI, not SCSI) and rearrange umass_fixup_sony() a bit while there, okay krw@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.22 |
|
31-Dec-2005 |
fgsch |
The Sony DSC-P41 it's actually UFI, not SCSI. Unfortunately (all?) DSC cameras share the same product id, so toggle this behavior for revision 5.00 only for now. krw@ agrees.
|
#
1.21 |
|
18-Dec-2005 |
kettenis |
Apparently the Scanlogic SL11R is not UFI, and correctly identifies itself as SCSI. From NetBSD. Tested by me. ok krw@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.20 |
|
02-Jun-2005 |
krw |
Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer be required and no actual users of the relevant devices found.
ok marco@
|
#
1.19 |
|
26-May-2005 |
krw |
M-Systems DiskOnKey2 works better with zero padded commands so make it CPROTO_ATAPI. This is what my 'IBM USB 2.0 Memory Key' actually was.
|
#
1.18 |
|
25-May-2005 |
krw |
PQUIK_NOMODESENSE no longer does anything, and PQUIRK_NOBIGMODESENSE was defined to be 0. Expunge references. Null entries in quirks table will be removed later.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.17 |
|
11-Nov-2004 |
grange |
quirk for iriver 3xx.
ok dlg@
|
#
1.16 |
|
18-Oct-2004 |
dlg |
quirks for the Creative Nomad from Michael Adda
push by deraadt@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
21-Jul-2004 |
dlg |
from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21 log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.)
log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960.
log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical.
ok krw@
|
#
1.14 |
|
17-Jul-2004 |
dlg |
from netbsd, umass.c 1.98, umassvar.h 1.20 log message: Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
We don't have UMASS_QUIRK_NO_START_STOP so I didn't have to remove it. I consider umass_quirks.c to be too different so I hand removed references to the removed defines. There are some useless entries in there now which will be cleaned up after umass is merged with netbsd.
ok deraadt@
|
#
1.13 |
|
09-Jul-2004 |
deraadt |
from netbsd: The Sony camera reports itself as a "disk", not a "simplified direct access" device -- ergo, it is "SCSI", not "RBC".
|
#
1.12 |
|
13-Jun-2004 |
mickey |
support iriver ifp-1xx thingies
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.11 |
|
10-Apr-2004 |
deraadt |
minolta dimage A1 quirk; 3734, michael@paddon.org
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.10 |
|
21-Feb-2004 |
krw |
Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, and UMASS_QUIRK_FORCE_SHORT_INQUIRY. Fixes a bunch of USB devices. Based on work by Mycroft in NetBSD.
ok tdeval@ deraadt@.
|
#
1.9 |
|
14-Jan-2004 |
krw |
Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Also moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom.
Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD
ok deraadt@, mvme* changes by miod@.
|
#
1.8 |
|
03-Dec-2003 |
markus |
my USB_PRODUCT_SHUTTLE_EUSB needs PQUIRK_NOSENSE; ok henning
|
#
1.7 |
|
27-Nov-2003 |
henning |
add quirk for Datum Networks SSF-7X USB Multi Players PR3580; Aldo Cortesi <aldo@nullcube.com>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.6 |
|
19-May-2003 |
nate |
branches: 1.6.2; 1.6.4; add a quirk for my trek thumbdrive
|
#
1.5 |
|
18-May-2003 |
nate |
add a quirk for the Imation FlashGo adapter to make it shut up
|
#
1.4 |
|
18-May-2003 |
nate |
add a quirk for a different zip250 model
|
Revision tags: UBC_SYNC_A
|
#
1.3 |
|
17-May-2003 |
nate |
sync with NetBSD and add various local hacks to make things work correctly with our scsi layer
|
Revision tags: UBC_SYNC_B
|
#
1.2 |
|
07-May-2002 |
nate |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
1.1 |
|
07-May-2002 |
nate |
Sync ulpt driver with NetBSD
|