Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 09:57:46 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 165142 for review
Message-ID:  <200906250957.n5P9vkxs068646@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165142

Change 165142 by mav@mav_mavbook on 2009/06/25 09:56:48

	Report enabled NCQ.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#11 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#11 (text+ko) ====

@@ -662,9 +662,10 @@
 	        dp->secsize, dp->heads,
                 dp->secs_per_track, dp->cylinders);
 	xpt_announce_periph(periph, announce_buf);
-printf("%04x %04x %04x sata: %04x, queue: %d\n",
-    cgd->ident_data.support.command1, cgd->ident_data.support.command2, cgd->ident_data.support.extension,
-    cgd->ident_data.satacapabilities, ATA_QUEUE_LEN(cgd->ident_data.queue));
+	if (softc->flags & ADA_FLAG_CAN_NCQ) {
+		printf("%s%d: Native Command Queueing Enabled\n",
+		       periph->periph_name, periph->unit_number);
+	}
 
 	softc->disk->d_sectorsize = softc->params.secsize;
 	softc->disk->d_mediasize = softc->params.secsize * (off_t)softc->params.sectors;



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