Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2005 18:09:25 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/fdc fdc_isa.c
Message-ID:  <200503101809.j2AI9PaG011517@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2005-03-10 18:09:25 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fdc          fdc_isa.c 
  Log:
  Fix a couple of problems with the probe code when used with pnpbios
  resources.  When allocating 6 ports for a 4 port range isa code
  returns an error.  I'm not sure yet why this is the case, but suspect
  it is just a non-regularity in how the resource allocation code works
  which should be corrected.  Use 1 as the ports size in this case.
  However, in the hints case, we have to specify the length, so use 6 in
  that case.  I believe that this is also acpi friendly.
  
  Also, complain when we can't allocate FDOUT register space.  Right now we
  silently fail when we can't.  This failure is referred to above.
  
  When there's no resource for FDCTL, go ahead and allocate one by hand.
  Many PNPBIOS tables don't list this resource, and our hints mechanism also
  doesn't cover that range.  If we can't allocate it, whine, but fake up
  something.  Before, we were always bogusly faking it and no one noticed
  the sham (save the original author who has now fixed his private shame).
  
  Revision  Changes    Path
  1.20      +23 -9     src/sys/dev/fdc/fdc_isa.c



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