cvs commit: src/sys/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c

Marius Strobl marius at
Mon Feb 11 13:40:23 PST 2008

marius      2008-02-11 21:40:22 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files.sparc64 
    sys/sparc64/include  md_var.h 
  Added files:
    sys/sparc64/sparc64  ata_machdep.c 
  The Sun disk label only uses 16-bit fields for cylinders, heads and
  sectors so the geometry of large IDE disks has to be adjusted. This
  corresponds to what the OpenSolaris dad(7D) driver does except that
  the latter only tweaks sectors and effectively limits the mediasize
  to 128GB so the cylinders and heads fields won't ever overflow. Not
  limiting the mediasize is a compromise between allowing to use Sun
  disk label as far as possible and being able to use the entire disk
  with another disk label.
  This allows to use the full capacity of large IDE disks if they were
  not labeled under (Open)Solaris (in both ways of the meaning).
  MFC after:      2 weeks
  Revision  Changes    Path
  1.94      +1 -0      src/sys/conf/files.sparc64
  1.17      +13 -0     src/sys/sparc64/include/md_var.h
  1.1       +52 -0     src/sys/sparc64/sparc64/ata_machdep.c (new)

More information about the cvs-src mailing list