PERFORCE change 162822 for review

Alexander Motin mav at FreeBSD.org
Tue May 26 21:42:54 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=162822

Change 162822 by mav at mav_mavbook on 2009/05/26 21:42:47

	Set d_maxsize to reasonable value - guarantied value for AHCI
	controller.

Affected files ...

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

Differences ...

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

@@ -649,7 +649,7 @@
 //	softc->disk->d_dump = dadump;
 	softc->disk->d_name = "ada";
 	softc->disk->d_drv1 = periph;
-	softc->disk->d_maxsize = 4096;//DFLTPHYS; /* XXX: probably not arbitrary */
+	softc->disk->d_maxsize = 256*1024;
 	softc->disk->d_unit = periph->unit_number;
 	softc->disk->d_flags = 0;
 //	if ((softc->quirks & DA_Q_NO_SYNC_CACHE) == 0)


More information about the p4-projects mailing list