Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 23:49:49 +0000 (UTC)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363719 - head/sys/sys
Message-ID:  <202007302349.06UNnnbM003026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grehan
Date: Thu Jul 30 23:49:49 2020
New Revision: 363719
URL: https://svnweb.freebsd.org/changeset/base/363719

Log:
  Definition for the 'removable media flag' from word 0 in the Identify page.
  
  This will be used to remove a magic number in the bhyve AHCI emulation.
  
  Reported by:	rpokala
  Reviewed by:	imp, rpokala
  Approved by:	imp, rpokala
  MFC after:	3 weeks
  Differential Revision:	https://reviews.freebsd.org/D25893

Modified:
  head/sys/sys/ata.h

Modified: head/sys/sys/ata.h
==============================================================================
--- head/sys/sys/ata.h	Thu Jul 30 23:20:09 2020	(r363718)
+++ head/sys/sys/ata.h	Thu Jul 30 23:49:49 2020	(r363719)
@@ -46,6 +46,7 @@ struct ata_params {
 #define ATA_ATAPI_TYPE_TAPE             0x0100  /* streaming tape */
 #define ATA_ATAPI_TYPE_CDROM            0x0500  /* CD-ROM device */
 #define ATA_ATAPI_TYPE_OPTICAL          0x0700  /* optical disk */
+#define ATA_ATAPI_REMOVABLE             0x0080
 #define ATA_DRQ_MASK                    0x0060
 #define ATA_DRQ_SLOW                    0x0000  /* cpu 3 ms delay */
 #define ATA_DRQ_INTR                    0x0020  /* interrupt 10 ms delay */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007302349.06UNnnbM003026>