Mark Cave-Ayland 09274de1f7 scsi-disk: add SCSI_DISK_QUIRK_MODE_PAGE_VENDOR_SPECIFIC_APPLE quirk for Macintosh
Both MacOS and A/UX make use of vendor-specific MODE SELECT commands with PF=0
to identify SCSI devices:

- MacOS sends a MODE SELECT command with PF=0 for the MODE_PAGE_VENDOR_SPECIFIC
  (0x0) mode page containing 2 bytes before initialising a disk

- A/UX (installed on disk) sends a MODE SELECT command with PF=0 during SCSI
  bus enumeration, and gets stuck in an infinite loop if it fails

Add a new SCSI_DISK_QUIRK_MODE_PAGE_VENDOR_SPECIFIC_APPLE quirk to allow both
PF=0 MODE SELECT commands and implement a MODE_PAGE_VENDOR_SPECIFIC (0x0)
mode page which is compatible with MacOS.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220622105314.802852-7-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-07-13 16:58:58 +02:00
..
2022-06-28 11:06:44 +02:00
2022-06-28 11:06:44 +02:00
2022-06-15 14:50:41 +01:00
2022-06-30 09:21:14 +02:00
2022-06-30 09:21:14 +02:00
2022-06-28 11:06:44 +02:00
2022-06-30 09:21:14 +02:00
2022-06-30 04:49:40 +05:30
2022-07-06 10:22:38 -03:00
2022-06-14 16:50:30 +02:00
2022-06-30 09:21:14 +02:00
2022-06-11 11:44:50 +02:00
2022-06-30 09:21:13 +02:00
2022-06-08 19:38:47 +01:00
2022-07-06 10:22:38 -03:00