Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 15:28:10 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/awi awi.c awi_wep.c awi_wicfg.c
Message-ID:  <200204192228.g3JMSAG75049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2002/04/19 15:28:10 PDT

  Modified files:
    sys/dev/awi          awi.c awi_wep.c awi_wicfg.c 
  Log:
  Make this build on 4.x machines again (building a -current kernel on a
  -stable machine via the old-school methods):
  
  Use __FreeBSD_version in preference to __FreeBSD__ >= N where possible.
  Define a single variable mythread which is set to curproc or curthread
  depending on the OS version (with a comment saying it is a white lie on
  4.x since it really is a proc).
  
  NB: __FreeBSD__ is the OS level of the host machine, not the target,
  and should never be used, if possible, as __FreeBSD__ >= N.
  
  Revision  Changes    Path
  1.19      +16 -23    src/sys/dev/awi/awi.c
  1.8       +4 -4      src/sys/dev/awi/awi_wep.c
  1.8       +7 -9      src/sys/dev/awi/awi_wicfg.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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