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-01-08 06:47:02 +00:00
2001-04-16 13:20:39 +00:00
2002-03-08 21:36:49 +00:00
2001-12-19 13:32:21 +00:00
2002-01-08 20:03:13 +00:00
2001-11-15 07:52:49 +00:00
2001-10-09 15:30:19 +00:00
2001-11-03 08:32:28 +00:00
2002-01-08 06:47:55 +00:00
2002-02-12 05:32:58 +00:00
2002-02-04 15:55:21 +00:00
2002-02-04 14:01:27 +00:00
2002-02-27 23:53:02 +00:00
2001-07-02 05:29:58 +00:00
2001-02-06 11:21:58 +00:00
2001-11-04 08:58:22 +00:00
2001-09-12 08:38:13 +00:00
2001-06-15 00:19:43 +00:00
2001-12-15 12:32:23 +00:00
2001-11-04 08:54:15 +00:00
2001-09-12 08:38:13 +00:00
2002-03-08 12:41:32 +00:00
2001-11-15 07:52:49 +00:00
2002-01-23 01:11:52 +00:00
2002-03-06 08:55:34 +00:00
2002-01-14 00:13:45 +00:00
2002-02-22 09:18:46 +00:00
2002-02-26 03:37:35 +00:00