freebsd-nq/sys/dev
Bill Paul f6159e042d - Rewrite the timer and event API routines in subr_ndis.c so that they
are actually layered on top of the KeTimer API in subr_ntoskrnl.c, just
  as it is in Windows. This reduces code duplication and more closely
  imitates the way things are done in Windows.

- Modify ndis_encode_parm() to deal with the case where we have
  a registry key expressed as a hex value ("0x1") which is being
  read via NdisReadConfiguration() as an int. Previously, we tried
  to decode things like "0x1" with strtol() using a base of 10, which
  would always yield 0. This is what was causing problems with the
  Intel 2200BG Centrino 802.11g driver: the .inf file that comes
  with it has a key called RadioEnable with a value of 0x1. We
  incorrectly decoded this value to '0' when it was queried, hence
  the driver thought we wanted the radio turned off.

- In if_ndis.c, most drivers don't accept NDIS_80211_AUTHMODE_AUTO,
  but NDIS_80211_AUTHMODE_SHARED may not be right in some cases,
  so for now always use NDIS_80211_AUTHMODE_OPEN.

NOTE: There is still one problem with the Intel 2200BG driver: it
happens that the kernel stack in Windows is larger than the kernel
stack in FreeBSD. The 2200BG driver sometimes eats up more than 2
pages of stack space, which can lead to a double fault panic.
For the moment, I got things to work by adding the following to
my kernel config file:

options         KSTACK_PAGES=8

I'm pretty sure 8 is too big; I just picked this value out of a hat
as a test, and it happened to work, so I left it. 4 pages might be
enough. Unfortunately, I don't think you can dynamically give a
thread a larger stack, so I'm not sure how to handle this short of
putting a note in the man page about it and dealing with the flood
of mail from people who never read man pages.
2004-03-20 23:39:43 +00:00
..
aac Don peril-sensitive sunglasses and add PCI Id's for two new cards. I've 2004-03-20 21:07:36 +00:00
acpi_support Add support for quirks for acpi tables. Key off OEM vendor and revision. 2004-03-03 03:02:17 +00:00
acpica Fix loop termination condition for parsing resources in _PRS buffers. 2004-03-20 20:47:08 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50: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 Implement "arlconfig arlX quality". 2004-03-16 22:29:26 +00:00
asr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ata Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ath Don't announce MAC addresses twice. 2004-03-20 19:57:47 +00:00
atkbdc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
awi Don't announce MAC addresses twice. 2004-03-20 19:57:47 +00:00
bfe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
bge Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ciss Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
dc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fdc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
firewire Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fxp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
gem Let ether_ifattach() announce our MAC address. 2004-03-20 20:12:13 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Add a header for the i8259A register definitions. This is based on 2004-01-06 18:59:37 +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 - Rewrite the timer and event API routines in subr_ndis.c so that they 2004-03-20 23:39:43 +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 Add generic support for the recent Adaptec flavors of ServeRAID. 2004-03-19 17:36:47 +00:00
isp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ispfw Update firmware sets for the 12160, 2200 and 2300 cards to the (more or 2004-01-14 18:38:03 +00:00
joy Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
kbd Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
led Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
lge Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
lnc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 - Remove some unused #includes. 2004-03-19 21:19:15 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
nmdm Add clone_setup() function rather than rely on lazy initialization. 2004-03-11 12:58:55 +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 Device megapatch 4/6: 2004-02-21 21:10:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccbb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pcf Remove isa compat stuff. 2004-03-14 23:03:57 +00:00
pci Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
random kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Back out code for auto-gdb detection that accidentally leaked into the 2004-03-18 02:36:41 +00:00
sk Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
smbus Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sn Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Actually program the list of recording devices in sv_mix_setrecsrc(). 2004-03-20 04:38:21 +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
sym Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
syscons Fixed a nasty old bug where a visual bell in the currently active 2004-03-18 21:07:54 +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 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
twe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Fix braino in previous commit: getenv() can return NULL. 2004-03-20 08:38:33 +00:00
ubsec Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
usb Put the event notification back where it was for freeBSD, after device creation. 2004-03-20 07:31:11 +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 When doing round-robin reads from a multi-plex volume, only switch to the 2004-03-19 10:28:34 +00:00
vr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +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 Don't announce MAC addresses twice. 2004-03-20 19:57:47 +00:00
wl Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
xe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
zs Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00