cvs commit: src/sys/dev/if_ndis if_ndis.c

Bill Paul wpaul at FreeBSD.org
Sun Feb 1 13:35:16 PST 2004


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


More information about the cvs-src mailing list