Date: Tue, 7 Jul 2009 19:50:14 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 165779 for review Message-ID: <200907071950.n67JoErh000272@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165779 Change 165779 by mav@mav_mavbook on 2009/07/07 19:49:55 Allow SIM driver to announce maxio above MAXPHYS. It may be not error, so just limit it to not confuse above layers. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_da.c#41 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_da.c#41 (text+ko) ==== @@ -1251,7 +1251,7 @@ if (cpi.maxio == 0) softc->disk->d_maxsize = DFLTPHYS; /* traditional default */ else if (cpi.maxio > MAXPHYS) - softc->disk->d_maxsize = DFLTPHYS; /* for safety */ + softc->disk->d_maxsize = MAXPHYS; /* for safety */ else softc->disk->d_maxsize = cpi.maxio; softc->disk->d_unit = periph->unit_number;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907071950.n67JoErh000272>