Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2005 05:21:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ed if_ed_pccard.c
Message-ID:  <200501260521.j0Q5LC68012361@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501260521.j0Q5LC68012361>