freebsd-nq/sys/dev
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
..
aac Add ID's for a couple of upcoming cards. 2002-02-13 07:44:43 +00:00
acpica Add generalized power profile code. 2002-03-04 18:46:13 +00:00
advansys
agp Correctly identify the Intel 82830 AGP bridge. 2002-02-05 23:13:25 +00:00
aha
ahb
aic Back out the hack from rev 1.13 that was done to initiate a bus rescan 2002-01-17 20:34:58 +00:00
aic7xxx Remove reliance on i++ in multiple arguments to a function. C does not 2001-12-16 17:38:30 +00:00
amd
amr Staticise the amr devclass. 2002-01-08 06:47:02 +00:00
an In ad-hoc mode, the "associate" bit is valid to check to see if it is 2002-02-26 05:43:05 +00:00
ar
asr If we're going to ifdef out the only reference to asr_drvinit, then 2002-02-26 03:22:44 +00:00
ata Even more Highpoint RAID support. 2002-03-08 21:36:49 +00:00
atkbdc Add another PS2 PNP id. 2001-12-19 13:32:21 +00:00
awi Set ifp->if_name to "awi" instead of device_get_name(dev) to avoid 2002-02-26 20:09:19 +00:00
bge Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:29:15 +00:00
bktr Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
buslogic Use ANSI C string contatenation instead of a multi-line string literal. 2001-12-13 11:14:28 +00:00
cardbus Don't use __FBSDID yet. Looks like most (all?) of the rest of the kernel 2002-03-07 08:12:40 +00:00
ccd Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ciss Fix warning; line 1640: ciss_abort_request defined but not used. 2001-12-18 08:01:48 +00:00
cm - generic Arcnet framework 2002-01-08 20:03:13 +00:00
cnw Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
cs
ct
cy Initialize a variable bogusly to avoid a gcc bug that causes a spurious 2002-02-26 17:04:29 +00:00
dc Forgot one part of the VLAN support for the dc(4) driver. 2002-01-16 21:34:11 +00:00
de
dec
dgb Repair some warnings. These are accessing idle portions of shared memory 2002-02-27 23:43:19 +00:00
digi Fix warnings. The driver would be more useful with a DRIVER_MODULE() 2002-02-27 23:47:45 +00:00
dpt Fix a couple of bogus enums. 2002-01-08 06:47:55 +00:00
ed Add EDIMAX ethernet card for NEWCARD from NetBSD 2002-01-29 07:08:56 +00:00
eisa
em - Added support for receive in multiple 2002-02-13 18:19:27 +00:00
en
ep Two fixes from Jonathan Hanna: 2002-02-12 05:32:58 +00:00
ex
exca Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
fb
fdc Disksort will not "munge" requests, BIO_ORDERED or not, so remove 2002-02-22 09:14:06 +00:00
fe Supported C-NET(98)P2 PnP mode. 2002-02-04 14:01:27 +00:00
fxp Remove mbuf exhaustion warning messages; these are handled by the 2002-02-04 03:15:27 +00:00
gem Set the busmaster enable bit in the PCI command register, as the firmware 2002-03-09 21:52:31 +00:00
gfb
gx
hea Fix warnings 2002-02-27 23:53:02 +00:00
hfa
hme Fix some bugs in the handling of the case of not enough tx descriptors 2002-03-09 21:50:25 +00:00
ic Oops, forgot to commit one file in the fd driver mega update. Here it 2001-12-16 07:52:13 +00:00
ichsmb
ida
ie
iicbus
iir Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
isp Disable RIO (reduced interrupt operation) for 2200 boards- it seemed like 2002-03-07 17:32:45 +00:00
ispfw Roll to latest production level firmware. 2002-01-23 06:42:54 +00:00
joy Revert change that breaks the joy module. joydevclass must not be static. 2002-01-08 18:27:49 +00:00
kbd
lge
lmc
lnc Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
mc146818
mca
mcd
md Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
mii Remove problematic PHY_WRITE so that autoneg to 10 Mbps 2002-02-27 02:11:34 +00:00
mlx
mly Fix warnings (comment out unused tables that are taking space in the 2002-02-27 23:57:18 +00:00
mse
musycc
ncv Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
nge Remove errors in LINT (now that they are fatal) 2002-02-27 02:21:43 +00:00
nmdm Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
nsp o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
null
ofw Move the make_dev call from the cn_probe to a sysinit that runs at 2002-01-09 04:03:55 +00:00
pccard Make hw.pccard.debug and hw.pccard.cis_debug tunable/sysctl. Setting to 1 2002-03-07 08:03:53 +00:00
pccbb Check the status of the card bridge first thing, rather than last in 2002-02-20 16:20:27 +00:00
pcf
pci Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
pcic Fix missing comma in previous commit. 2001-12-28 23:51:48 +00:00
pdq Fix warning (passing wrong arg to arp_ifinit()) 2002-02-27 23:28:57 +00:00
ppbus Make this driver a better citizen by moving dev creation and 2001-12-19 19:37:31 +00:00
ppc
puc Remove the #if __FreeBSD_version glue now that the puc driver is part of 2002-03-08 17:41:22 +00:00
random Provide infrastructure for harvesting SWI entropy. 2002-03-03 20:09:42 +00:00
ray
rc Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
rp #include "opt_compat.h" so that the support for old ioctls can actually 2002-02-15 08:28:34 +00:00
sbni Rename a variable that might accidentally be duplicated elsewhere. 2002-01-08 19:36:54 +00:00
scd
sf Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
si
sio Add pc98 support. 2002-03-08 12:41:32 +00:00
sk Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
smbus
sn
snc
snp
sound Suspend and resume related patches from Toshikazu Ichinoseki <t.ichinoseki@nifty.com>. 2002-03-04 00:36:04 +00:00
speaker Add missing destroy_dev(). 2002-01-23 01:11:52 +00:00
sr
stg Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
streams Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
sym Comment tokens after #undef <macroname> and #endif. 2001-12-13 11:12:30 +00:00
syscons Fixed compilation warnings. 2002-03-06 08:55:34 +00:00
tdfx Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
tga
ti Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:38:30 +00:00
twe Update for the 6.9 firmware family (6xxx controllers), as well as for 2002-03-07 09:55:41 +00:00
tx Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:38:30 +00:00
txp
usb Fix one genuine bug and a potential one: 2002-03-10 08:29:53 +00:00
vinum GC: BIO_ORDERED going away. 2002-02-22 09:18:46 +00:00
vr Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
vx Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
wds
wi Add roaming and microwave oven support. Some minor formatting nits. 2002-03-05 16:18:14 +00:00
wl Remove support for FreeBSD 2.x from this driver. 2002-02-27 23:34:02 +00:00
xe Remove an unused variable. 2002-02-26 03:37:35 +00:00