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

Warner Losh imp at FreeBSD.org
Tue Oct 5 00:18:11 PDT 2004


imp         2004-10-05 07:18:11 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fdc          fdc_isa.c 
  Log:
  Yet another case of resources:
  +        * 9:   0x3f0-0x3f3,0x3f4-0x3f5,0x3f7
  
  This requires only one change to support.  Rather than keying on the
  size of the resource being 2, instead key off the end & 7 being 3.
  This covers the same cases that the size of 2 would catch, but also
  covers the new above case.
  
  In addition, I think it is clearer to use the end in preference to the
  size and start for case #8 as well.  Turns two tests into one, and
  catches no other cases.
  
  Make minor commentary changes to deal with new case #9.
  
  # This change is specifically minimal to allow easy MFC.  A more
  # extensive change will go into current once I've had a chance to test
  # it on a lot of hardware...
  
  Revision  Changes    Path
  1.16      +4 -4      src/sys/dev/fdc/fdc_isa.c


More information about the cvs-src mailing list