cvs commit: src/sys/isa fd.c (fwd)

From: Nate Lawson <nate_at_root.org>
Date: Sun, 15 Feb 2004 12:38:17 -0800 (PST)
Please cvsup and build a new kernel with this change to make sure it fixes
your floppy drive.  Also, you need to disable any "acpi_dsdt_load=YES"
values in loader.conf to be sure this has an effect.

-Nate

---------- Forwarded message ----------
njl         2004/02/15 12:30:22 PST

  FreeBSD src repository

  Modified files:
    sys/isa              fd.c
  Log:
  Workaround some ACPI BIOSen which break the IO port into multiple
  resources.  (Note that the correct range is 0x3f7,0x3f0-0x3f5.)  Such
  devices will be detected as follows:

    fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
    0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0

  To do this, we find the minimum and maximum start addresses for the
  resources and use them as the base for the IO and control ports.

  Help from:      jhb

  Revision  Changes    Path
  1.263     +35 -1     src/sys/isa/fd.c
Received on Sun Feb 15 2004 - 11:38:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC