cvs commit: src/sys/dev/ed if_ed_pccard.c

Warner Losh imp at FreeBSD.org
Tue Sep 6 20:30:59 PDT 2005


imp         2005-09-07 03:30:58 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ed           if_ed_pccard.c 
  Log:
  Minor reorg of pccard attach code to fix ax88x90 case broken after fixing
  dl100xx case.
  o We no longer acquire and release resources during attach many times.  We now
    do it once at the beginning.
  o Move setting the resource offsets to just after acquiring the ports in
    attach.
  o Move ax88x90 code to the end of the file, just after the dl100xx specific
    code.
  o Rename ed_pccard_Linksys to ed_pccard_dl100xx to reflect the underlying
    chipset.
  o Pass the ed_product structure into ed_pccard_{dl100xx,ax88x90} and have
    those routines test the flags to see if this card should be probed in that
    way.
  o transition from ed_probe_Novell to ed_probe_Novell_generic since we already
    have the resources setup.
  o Move use of ed_probe_Novell_generic into ed_pccard_dl100xx to be more
    consistant with ax88x90 case.
  o simplify the code where we probe for the chipsets
  
  Revision  Changes    Path
  1.93      +158 -160  src/sys/dev/ed/if_ed_pccard.c


More information about the cvs-all mailing list