cvs commit: src/sys/i386/isa stallion.c

Warner Losh imp at FreeBSD.org
Fri Dec 12 16:14:27 PST 2003


imp         2003/12/12 16:14:25 PST

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/i386/isa         stallion.c 
  Log:
  Move check to see if you have too many panels to early in the loop rather
  than at the end where it suffered from a fencepost error.
  
  However, I'm not entirely sure that it is still correct because it
  looks like we access something in the ioaddr2 range.  I need more
  stallion pannels to know for sure.  The code is less incorrect than it
  was before at least when you have two pannels connected to the
  EC8/32-AT.  Two pannels are allowed and appear to work.  Stallion says
  that 3 cannot work, or when the agregate number of ports is > 32.  I
  think that these tests should be more explicit, but until I have more
  hardware, this is less wrong.
  
  Revision  Changes    Path
  1.39.2.4  +8 -8      src/sys/i386/isa/stallion.c


More information about the cvs-src mailing list