cvs commit: src/sys/dev/pccard pccard_cis.c

Warner Losh imp at FreeBSD.org
Mon Apr 12 13:56:38 PDT 2004


imp         2004/04/12 13:56:34 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/pccard       pccard_cis.c 
  Log:
  Improve reading of CIS cards:
  
  (1) Align to 64k for the CIS.  Some cards don't like it when we aren't
      aligned to a 64k boundary.  I can't find anything in the standard
      that requires this, but I have 1/2 dozen cards that won't work at
      all unless I enable this.
  (2) Sleep 1s before scanning the CIS.  This may be a nop, but has little
      harm.
  (3) The CIS can be up to 4k in some weird, odd-ball edge cases.  Since we
      have limiters for when that's not the case, it does no harm to increase
      it to 4k.
  
  #1 was submitted, in a different form, by Carlos Velasco.
  
  Revision  Changes    Path
  1.28      +10 -3     src/sys/dev/pccard/pccard_cis.c


More information about the cvs-src mailing list