Quirk NOLUNS cabletron device.

PR:		11677
Submitted by:	"Matthew N. Dodd" <winter@jurai.net>
This commit is contained in:
Matt Jacob 1999-06-20 18:19:44 +00:00
parent c1fc766d3f
commit 4b4c702b0b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48053

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cam_xpt.c,v 1.62 1999/05/30 16:50:57 phk Exp $
* $Id: cam_xpt.c,v 1.63 1999/05/31 11:23:53 phk Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@ -390,17 +390,12 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
},
{
/* Really only one LUN */
{
T_ENCLOSURE, SIP_MEDIA_FIXED, "SUN", "SENA*", "*"
},
{ T_ENCLOSURE, SIP_MEDIA_FIXED, "SUN", "SENA*", "*" },
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
/* I can't believe we need a quirk for DPT volumes. */
{
T_ANY, SIP_MEDIA_FIXED|SIP_MEDIA_REMOVABLE,
"DPT", "*", "*"
},
{ T_ANY, SIP_MEDIA_FIXED|SIP_MEDIA_REMOVABLE, "DPT", "*", "*" },
CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS,
/*mintags*/0, /*maxtags*/255
},
@ -408,10 +403,7 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
/*
* Many Sony CDROM drives don't like multi-LUN probing.
*/
{
T_CDROM, SIP_MEDIA_REMOVABLE, sony,
"CD-ROM CDU*", "*"
},
{ T_CDROM, SIP_MEDIA_REMOVABLE, sony, "CD-ROM CDU*", "*" },
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
@ -419,10 +411,7 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
* This drive doesn't like multiple LUN probing.
* Submitted by: Parag Patel <parag@cgt.com>
*/
{
T_WORM, SIP_MEDIA_REMOVABLE, sony,
"CD-R CDU9*", "*"
},
{ T_WORM, SIP_MEDIA_REMOVABLE, sony, "CD-R CDU9*", "*" },
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
@ -467,6 +456,16 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
},
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
/* Submitted by: Matthew Dodd <winter@jurai.net> */
{ T_PROCESSOR, SIP_MEDIA_FIXED, "Cabletrn", "EA41*", "*" },
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
/* Submitted by: Matthew Dodd <winter@jurai.net> */
{ T_PROCESSOR, SIP_MEDIA_FIXED, "CABLETRN", "EA41*", "*" },
CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
},
{
/* Default tagged queuing parameters for all devices */
{