Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 00:15:47 -0800 (PST)
From:      Matt Jacob <mjacob@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/cam/scsi scsi_sa.c
Message-ID:  <199901120815.AAA23408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      1999/01/12 00:15:47 PST

  Modified files:
    sys/cam/scsi         scsi_sa.c 
  Log:
  Clean up and fix quirk table (was missing necessary wildcards) and add a couple
  from the old driver. Change format of quirk table to have a preferred block
  size for devices that need to be QUIRK_FIXED- this is loaded into the
  last_media_blocksize tag at saregister time and will be used in the first
  samount case.
  
  Change sasetparams to take a sense_flags argument so that probe time testing
  can be quieter (e.g. with SF_NO_PRINT).
  
  Fix a couple of silly bugs in the fixed/variable determination in samount- one
  was where there was a check against 'guessing' AND the density code being
  default density- *SMACK* - you're only guessing if you find the media code
  to be *other* than default density. Second bug was a test against current
  blocksize being zero- should be a test against whether current blocksize
  is not equal to the last blocksize if you had wanted to be fixed (suppose
  you came up in fixed, but not the preferred size?). And if you don't
  know what the fixed size should be, select 512 as the starting point,
  not BLKDEV_IOSIZE (reality wins). Finally, in doing the test set to variable
  mode, make sasetparams non-chatty.
  
  Revision  Changes    Path
  1.14      +62 -35    src/sys/cam/scsi/scsi_sa.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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