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

Warner Losh imp at FreeBSD.org
Sun Jul 3 01:11:40 GMT 2005


imp         2005-01-26 05:21:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ed           if_ed_pccard.c 
  Log:
  Rework how we deal with the DL10019 and DL10022 cards (as well as the
  AX88190 ones, but that one only minorly):
          o don't set flags in the match routine.  They appear to be cleared
            when probe/attach is called.  Before this change, they were
            always treated as a simple ne2000, which would fail to get the
            right NIC address.
          o Lookup device again in the probe routine and probe based on the
            cards that you see.
          o Detect and report the DL10022 seprately from the DL10019 cards.
  
  While I'm here:
          o remove a bad printf
          o change another bad printf to device_printf.
          o minor style(9) formatting tweaks.
  
  # note: a lot of OEM entries are in the ed_pccard_products such that we can
  # likely remove, or collapse, many of them.
  
  This makes all of my DL100xx cards at least probe the ethernet address
  correctly, which it wasn't doing before.  I can't seem to locate my
  AX88xxx based cards, so those haven't been tested, but they were
  busted before the change so they can't be any worse now...
  
  Revision  Changes    Path
  1.67      +28 -35    src/sys/dev/ed/if_ed_pccard.c



More information about the cvs-src mailing list