Luigi Rizzo 7c1e1cf188 Fix one genuine bug and a potential one:
-#if defined(__FreeBSD__) && __FreeBSD_version__ >= 500023
  +#if defined(__FreeBSD__) && __FreeBSD_version >= 500023

is a genuine bug -- __FreeBSD_version__ does not exist.
The other one:

  -#if (__FreeBSD__ < 5)
  +#if (__FreeBSD_version < 500000)

pops out when you cross-compile the code:

  __FreeBSD__			is a compiler predefine,
  __FreeBSD_version		is defined in <sys/param.h> .

Given that in this case (and all others in sys/dev/usb and sys/i4b)
the goal is to adapt to a different kernel interface, and not to
a compiler feature, I believe the correct form is the second one
(in the best case the two are synonyms so the change does not break
anything anyways).
2002-03-10 08:29:53 +00:00
..
2002-03-04 03:51:21 +00:00
2002-03-04 03:51:21 +00:00
2002-02-28 00:06:59 +00:00
2002-03-10 08:29:53 +00:00
2002-02-17 12:41:50 +00:00
2002-02-19 02:00:27 +00:00
2002-02-19 10:53:25 +00:00
2002-02-14 02:51:12 +00:00
2002-02-14 03:03:08 +00:00
2002-02-14 03:03:08 +00:00
2002-02-16 00:51:26 +00:00
2002-02-14 02:51:12 +00:00