freebsd-nq/sys/dev
Bill Paul a1788fb41e Small timer cleanups:
- Use the dh_inserted member of the dispatch header in the Windows
  timer structure to indicate that the timer has been "inserted into
  the timer queue" (i.e. armed via timeout()). Use this as the value
  to return to the caller in KeCancelTimer(). Previously, I was using
  callout_pending(), but you can't use that with timeout()/untimeout()
  without creating a potential race condition.

- Make ntoskrnl_init_timer() just a wrapper around ntoskrnl_init_timer_ex()
  (reduces some code duplication).

- Drop Giant when entering if_ndis.c:ndis_tick() and
  subr_ntorkrnl.c:ntoskrnl_timercall(). At the moment, I'm forced to
  use system callwheel via timeout()/untimeout() to handle timers rather
  than the callout API (struct callout is too big to fit inside the
  Windows struct KTIMER, so I'm kind of hosed). Unfortunately, all
  the callouts in the callwhere are not marked as MPSAFE, so when
  one of them fires, it implicitly acquires Giant before invoking the
  callback routine (and releases it when it returns). I don't need to
  hold Giant, but there's no way to stop the callout code from acquiring
  it as long as I'm using timeout()/untimeout(), so for now we cheat
  by just dropping Giant right away (and re-acquiring it right before
  the routine returns so keep the callout code happy). At some point,
  I will need to solve this better, but for now this should be a suitable
  workaround.
2004-04-30 20:51:55 +00:00
..
aac Remove the 'timeout' argument from aac_wait_command() as it isn't used and 2004-04-14 19:11:29 +00:00
acpi_support Enable the led-toggling magic. Compiling files which are in the kernel into 2004-04-23 17:41:05 +00:00
acpica Fix build breakage. 2004-04-26 08:49:11 +00:00
adlink Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
advansys Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
agp Push down the responsibility for zeroing a physical page from the 2004-04-24 20:53:55 +00:00
aha Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ahb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
aic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
aic7xxx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
amd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
amr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
an Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ar Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
arl Add 354k and 512k support. 2004-04-17 20:30:05 +00:00
asr Fix the build. opt_asr.h is gone. 2004-04-22 02:22:18 +00:00
ata Do at better job at unit numbering. 2004-04-30 18:49:03 +00:00
ath use correct malloc type to allocate struct ieee80211_node's 2004-04-05 04:42:42 +00:00
atkbdc Don't check for device_get_softc() returning NULL, it can't happen. 2004-04-17 10:25:04 +00:00
awi Use IFF_ALLMULTI instead of if_amcount to decide if all multicast should 2004-04-18 01:05:02 +00:00
bfe Added BSD license, as requested by author. 2004-04-04 06:13:56 +00:00
bge Enable the memory arbiter before turning off the PXE restart. This 2004-04-06 18:28:15 +00:00
bktr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
buslogic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cardbus Add note about why we're ignoring the below 1MB bit. 2004-04-11 19:22:25 +00:00
ciss make this compile/work with CISS_DEBUG defined. 2004-04-26 19:28:08 +00:00
cm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cnw Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cs Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
ct Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ctau Nursemaid: Fix tinderbox builds by removing the shadowing of the global 2004-03-04 14:16:12 +00:00
cx These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
cy Converted the isa probe and attach to new-bus so that this driver works 2004-04-05 08:16:23 +00:00
dc First driver with user-configurable polling(4). 2004-04-11 13:47:15 +00:00
dcons Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
de Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
digi Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
dpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
drm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ed Fix building on L64 machines. 2004-04-16 05:34:14 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Implemented per-interface polling(4) control. 2004-04-11 21:01:12 +00:00
en Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ep Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ex Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
fdc Fixed breakage of the formatting operation in rev.1.266. The wrong 2004-04-25 04:33:56 +00:00
fe Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
firewire MFp4: FireWire 2004-03-26 23:17:10 +00:00
fxp Implemented per-interface polling(4) control. 2004-04-11 15:35:49 +00:00
gem Clean up two printf()s that were on a line by themselves unintendedly 2004-04-23 19:43:35 +00:00
gfb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
gx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
harp Make sure that the first mbuf in the chain passed to atm_intr 2004-02-21 13:01:54 +00:00
hatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
hfa Delete an unused file which no longer compiles anyway. 2004-04-20 15:33:24 +00:00
hifn Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
hme Let ether_ifattach() announce our MAC address. 2004-03-20 20:12:13 +00:00
ic Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
ichsmb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ida Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
idt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ie Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
if_ndis Small timer cleanups: 2004-04-30 20:51:55 +00:00
iicbus Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
iir Fix the ioctl types for two ioctls. I'm not sure if the switch was my 2004-03-20 19:02:46 +00:00
ips Fix typo in the device id for the new cards. 2004-03-27 15:56:34 +00:00
isp Correct the boundary parameter to the bus_dma_tag_create() calls (it was 2004-03-23 23:41:39 +00:00
ispfw Fix $FreeBSD$. 2004-03-21 18:16:49 +00:00
joy Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
kbd style(9): return foo -> return (foo) 2004-04-02 16:41:16 +00:00
led Add the ability to avoid repetition of s.... sequences with a '.' 2004-04-27 13:09:21 +00:00
lge Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
lnc Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
matcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
md Ooops, removed this acknowledgement bogusly. 2004-04-09 05:12:47 +00:00
mii Make sure set the media type in the phy, we cannot trust it to have chosen 2004-01-17 10:44:39 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mly Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mse Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
musycc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
my Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ncv Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
nge Implemented per-interface polling(4) control. 2004-04-11 19:25:56 +00:00
nmdm Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nsp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
null Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ofw Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
owi Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
patm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccard Improve reading of CIS cards: 2004-04-12 20:56:34 +00:00
pccbb Start programming the bus numbers for the pci<->cardbus. When the 2004-04-23 05:25:13 +00:00
pcf Remove isa compat stuff. 2004-03-14 23:03:57 +00:00
pci Remove the EBus stopgap of r1.248; a proper fix is in place now. 2004-04-28 13:43:11 +00:00
pcic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pdq Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ppbus Prevent the strange situation that after each load/unload of a ppbus 2004-03-18 21:10:11 +00:00
ppc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pst Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
puc Add IC Book Labs Gunboat x2 and x4 series of serial adapters. 2004-04-24 13:04:00 +00:00
random Add a Davies-Meyer style hash to the output. This is still pure 2004-04-17 19:26:53 +00:00
ray Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
rc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
re Implemented per-interface polling(4) control. 2004-04-11 20:34:08 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sab Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
safe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sbni Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
sbsh Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
scd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sf Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
si Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sio Remove the sio EBus attachment, which never worked with an unpatched 2004-04-30 17:25:47 +00:00
sk Use BSD spelling, no SysV. 2004-04-19 18:44:04 +00:00
smbus Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sn Remove two variables that became unused because of last commit. 2004-04-16 06:58:39 +00:00
snc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
snp Add clone_setup() function rather than rely on lazy initialization. 2004-03-11 12:58:55 +00:00
sound Don't do malloc(M_WAITOK) for sound buffers while locks are held. 2004-04-29 02:51:59 +00:00
speaker Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
stg Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
streams Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sx Prefer uint16_t to ushort. 2004-04-14 02:20:01 +00:00
sym Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
syscons Rearrangements needed for syscons(4) to be used as a console device 2004-04-02 15:02:44 +00:00
tdfx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
tga Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ti Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
trm Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some 2004-04-10 15:38:49 +00:00
twa Unbreak LINT on 64-bit platforms. Note that this code is not style(9)- 2004-04-02 15:09:57 +00:00
twe 1. Better handle a return value of EINPROGRESS from bus_dmamap_load. 2004-03-25 19:30:35 +00:00
tx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
txp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
uart Don't mask TCD in IMR0 when we initialize the channel. Doing so makes 2004-04-25 04:30:40 +00:00
ubsec Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
usb Sync to 1.172 of usbdevs 2004-04-27 13:56:39 +00:00
utopia kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
vinum Plug a mem leak in vinum_scandisk(). 2004-04-24 23:41:21 +00:00
vr Implemented per-interface polling(4) control. 2004-04-11 15:18:09 +00:00
vx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
watchdog Add a generic watchdog facility which through a single device entry 2004-02-28 20:06:59 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi radiotap updates: 2004-04-01 00:38:45 +00:00
wl Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
xe Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
zs Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00