freebsd-dev/sys/dev/usb
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
..
devlist2h.awk
dsbr100io.h Support for USB fm radio. 2002-03-04 03:51:21 +00:00
FILES Support for USB fm radio. 2002-03-04 03:51:21 +00:00
hid.c Sync with NetBSD (1.16 - 1.17) 2001-12-29 20:37:14 +00:00
hid.h
if_aue.c Add a new linksys ethernet adapter: USB_PRODUCT_LINKSYS_USB10TX2. 2002-01-03 18:56:35 +00:00
if_auereg.h Support MELCO LUA2-TX USB ethernet adaptor. 2001-11-19 18:47:49 +00:00
if_cue.c Make these depend on the usb module so they can use its symbols if they 2001-08-22 05:33:57 +00:00
if_cuereg.h
if_kue.c Make these depend on the usb module so they can use its symbols if they 2001-08-22 05:33:57 +00:00
if_kuereg.h
kue_fw.h
Makefile.usbdevs
ohci_pci.c KNF style the code, ready for an MFC. 2002-02-17 11:58:58 +00:00
ohci.c Fix debug printf formats 2002-02-28 00:06:59 +00:00
ohcireg.h Merge from NetBSD: 2002-01-21 05:02:21 +00:00
ohcivar.h Merge from NetBSD: 2002-01-26 12:04:22 +00:00
rio500_usb.h
udbp.c
udbp.h
ufm.c Fix one genuine bug and a potential one: 2002-03-10 08:29:53 +00:00
ugen.c Prefix structure members to protect them against clashes with eg. 2002-02-20 20:47:21 +00:00
uhci_pci.c Fix a formatting error. 2002-02-17 12:41:50 +00:00
uhci.c Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
uhcireg.h Update the $NetBSD$ ident. 2002-01-26 13:09:52 +00:00
uhcivar.h Reduce the diffs between NetBSD and our version where appropriate 2002-01-26 13:08:57 +00:00
uhid.c Prefix structure members to protect them against clashes with eg. 2002-02-20 20:47:21 +00:00
uhub.c Merge from NetBSD: 2002-02-19 02:00:27 +00:00
ukbd.c Sync with NetBSD: 2002-01-02 18:28:45 +00:00
ulpt.c in ulpt_reset() req.bmRequestType was unitialized, fix it. 2002-02-26 01:19:56 +00:00
umass.c Clean up some debugging output. 2002-02-19 10:53:25 +00:00
umodem.c Re-add bmaj to the cdevsw's, but don't compile it in on -current. 2002-02-15 22:54:10 +00:00
ums.c Re-add bmaj to the cdevsw's, but don't compile it in on -current. 2002-02-15 22:54:10 +00:00
urio.c Revert uio.uio_td back to uio.uio_procp, using a #define in usb_port to 2002-01-02 23:31:08 +00:00
usb_ethersubr.c
usb_ethersubr.h
usb_if.m
usb_mem.h
usb_port.h Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
usb_quirks.c
usb_quirks.h
usb_subr.c Prefix structure members to protect them against clashes with eg. 2002-02-20 20:47:21 +00:00
usb.c Prefix structure members to protect them against clashes with eg. 2002-02-20 20:47:21 +00:00
usb.h Revert part of the last commit. A couple of defines were removed 2002-02-26 10:00:32 +00:00
usbcdc.h
usbdevs Support the HP 5400C scanner. 2002-02-14 02:51:12 +00:00
usbdevs_data.h Regenerate. 2002-02-14 03:03:08 +00:00
usbdevs.h Regenerate. 2002-02-14 03:03:08 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c Prefix structure members to protect them against clashes with eg. 2002-02-20 20:47:21 +00:00
usbdi.h Merge from NetBSD: revs 1.55 and 1.56 2002-02-11 03:15:08 +00:00
usbdivar.h Merge from NetBSD: 2002-02-16 00:51:26 +00:00
usbhid.h Sync usb.h with NetBSD, apart from usb_device_info.speed, which 2002-01-02 20:16:53 +00:00
uscanner.c Support the HP 5400C scanner. 2002-02-14 02:51:12 +00:00