cvs commit: src/sys/dev/fdc fdc_isa.c

Warner Losh imp at FreeBSD.org
Tue Aug 31 13:37:11 PDT 2004


imp         2004-08-31 20:37:10 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fdc          fdc_isa.c 
  Log:
  When ISA_PNP_PROBE is called, it will return 0 when it finds a device,
  ENOENT when there's no PNP ID for this device node, or ENXIO when there
  is one, but it doesn't match.
  
  In the nonPNP case (as most Alpha systems appear to be), we were
  treating the error return as an error, when it should be have ignored
  it.  Version 1.9 properly ignored it, but the attach re-write of 1.10
  introduced this logic error.
  
  Pointy Hat to: phk (for breaking it then asking me to fix it :-)
  Sponsored by: The Voices in Bill Paul's Head, LLC
  
  Revision  Changes    Path
  1.12      +1 -2      src/sys/dev/fdc/fdc_isa.c


More information about the cvs-src mailing list