[PATCH v8 6/6] scsi: scsi_devinfo: add COMPAQ PD-1 multi-LUN ATAPI device quirk
Phil Pemberton <[email protected]> Fri, 31 Jul 2026 22:35:03 +0100
| Newsgroups | gmane.linux.scsi,gmane.linux.ide,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
The Compaq PD-1 (and equivalent Panasonic LF-1195C) is a combination PD/CD-ROM drive that exposes two LUNs: LUN 0 is the CD-ROM and LUN 1 is the PD (Phase-change rewritable) drive. Add a scsi_devinfo entry with BLIST_FORCELUN to enable multi-LUN scanning, BLIST_SINGLELUN to prevent issuing LUN-aware commands simultaneously, and BLIST_NO_LUN_1F to suppress spurious "No Device" entries for unpopulated LUNs (which respond with PQ=0/PDT=0x1f). Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Phil Pemberton <[email protected]> --- drivers/scsi/scsi_devinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index 15ffbe93ac72..b3fbfcd5dd93 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c @@ -150,6 +150,8 @@ static struct { {"COMPAQ", "MSA1000", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD}, {"COMPAQ", "MSA1000 VOLUME", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD}, {"COMPAQ", "HSV110", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, + {"COMPAQ", "PD-1", NULL, BLIST_FORCELUN | BLIST_SINGLELUN | + BLIST_NO_LUN_1F}, {"DDN", "SAN DataDirector", "*", BLIST_SPARSELUN}, {"DEC", "HSG80", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, {"DELL", "PV660F", NULL, BLIST_SPARSELUN}, -- 2.43.0