cvs commit: src/sys/isa fd.c

Nate Lawson njl at FreeBSD.org
Sun Feb 15 12:30:23 PST 2004


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


More information about the cvs-src mailing list