Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 22:35:41 +0000 (UTC)
From:      Nate Lawson <njl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/fdc fdc_acpi.c
Message-ID:  <200407282235.i6SMZfdU014440@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2004-07-28 22:35:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fdc          fdc_acpi.c 
  Log:
  Fix ACPI floppy enumeration for three types of divergent behavior.
  * Some systems have _FDE and child floppy devices, but no _FDI.  This seems
    to be compatible with the standard.  Don't error out if there is no _FDI.
    Instead, continue on to the next device.  The normal fd probe will take
    care of this device.
  * Some systems have _FDE but no child devices in AML.  For these, add a
    second pass that compares the results of _FDE to the presence of devices.
    If not present, add the missing device.
  * Some BIOS authors didn't read the spec.  They use tape drive values for
    all fdc(4) devices.  Since this isn't grossly incompatible with the
    required boolean value, use them.  They also define the _FDE items as a
    package instead of buffer.  Regenerate the buffer from the package if it
    is present.
  
  Tested by:      tjr, marcel
  
  Revision  Changes    Path
  1.2       +90 -40    src/sys/dev/fdc/fdc_acpi.c



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