Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 13:35:15 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/if_ndis if_ndis.c
Message-ID:  <200402012135.i11LZFTM006112@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2004/02/01 13:35:15 PST

  FreeBSD src repository

  Modified files:
    sys/dev/if_ndis      if_ndis.c 
  Log:
  Use the OID_802_11_CONFIGURATION OID when deciding if the underlying driver
  is for an 802.11 device or not. At least one driver I have does not
  support the OID_802_11_NETWORK_TYPES_SUPPORTED OID.
  
  Also, for now, don't do anything special in the ndis_suspend() method.
  I originally wanted to shut down the NIC but leave the IFF_UP flag alone
  since technically the interface is meant to remain up, but an interrupt
  may be delivered to the ISR on suspend, and if this happens while the
  NIC is halted, we will crash, since none of the miniport driver methods
  will function.
  
  This needs to be dealt with properly later, but for now this prevents
  a panic, and the resume method properly re-inits the NIC.
  
  Revision  Changes    Path
  1.39      +4 -2      src/sys/dev/if_ndis/if_ndis.c



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