cvs commit: src/sys/dev/wi if_wi.c

Warner Losh imp at
Sun Apr 27 08:56:06 PDT 2003

imp         2003/04/27 08:56:05 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/wi           if_wi.c 
  Make 2/3 of my symbol cards work again.  The 3rd symbol card card has
  firmware 1.50.12, but 2.20.1 and 3.10.4 work.  The 1.50.12 card gets
  past doing dhclient, but hangs on transmit a little after the ip
  address is set.  The 1.50.12 card has always been 'cranky' and Bill
  Paul's tearing it apart at FreeBSD '99 hasn't helped.
  sc_reset and sc_enable are subtlely different things.  sc_reset means
  exactly "WI_CMD_INI has happened."  sc_enabled means "WI_CMD_ENABLE
  has been sent to the card without a WI_CMD_DISABLE following."  This
  is a little different than what they mean on NetBSD (where both of
  these concepts are comingled).  NetBSD will try to only enable symbol
  cards once, while FreeBSD only sends the WI_CMD_INI once.
  Also, only try once to reset the card on a symbol.
  This makes the lucent cards no worse than before, but apparently not
  much better either.  I got fewer hangs in my testing than I have in
  the past, but I don't know if it is statistically significant or not.
  Revision  Changes    Path
  1.138     +24 -15    src/sys/dev/wi/if_wi.c

More information about the cvs-all mailing list