cvs commit: src/sys/i386/isa cy.c src/sys/pci cy_pci.c

Bruce Evans bde at FreeBSD.org
Mon Apr 5 01:16:24 PDT 2004


bde         2004/04/05 01:16:23 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/isa         cy.c 
    sys/pci              cy_pci.c 
  Log:
  Converted the isa probe and attach to new-bus so that this driver works
  without the (defunct) isa compatibility shims.  The new-bus-specific
  parts are very similar to the ones for the pci probe and attach.
  
  This was held up too long waiting for a repo copy to src/sys/dev/cy,
  so I decided to fix the files in their old place.  This gives easier
  to read and merge diffs anyway.
  
  The "count" line in src/sys/conf/files won't be changed until after
  the repo copy, so old kernel configs that specify a count need not be
  (and must not be) changed until then.  The count is just ignored in
  the driver.  One unfinished detail is dynamic allocation of arrays
  with <count> and (<count> * 32) entries, and iteration over the arrays.
  This is now kludged with a fixed count of 10 (up to 10 cards with up
  to 32 ports each).
  
  Prodded by:     imp
  Submitted by:   mostly by imp
  Approved by:    imp
  
  Revision  Changes    Path
  1.142     +81 -45    src/sys/i386/isa/cy.c
  1.32      +2 -2      src/sys/pci/cy_pci.c


More information about the cvs-src mailing list