freebsd-skq/sys/dev
keramida 82945f004f Revert iwn channel-argument handling of set_txpower() to r201822
Pass the channel argument as a real argument and not through
RXON.  The RXON version seems to have problem with both the older
228.57.2.23 firmware and the latest 228.61.2.24 version resulting
in device initialization errors like:

  wpa_supplicant[2928]: Failed to initiate AP scan.
  kernel: firmware error log:
  kernel: error type      = "SYSASSERT" (0x00000005)
  kernel: program counter = 0x0000147C
  kernel: source line     = 0x0000058B
  kernel: error data      = 0x0000058B00000000
  kernel: branch link     = 0x0000145A00001492
  kernel: interrupt link  = 0x000006DE00000000
  kernel: time            = 7310
  ...
  kernel: iwn0: iwn_config: could not set TX power
  kernel: iwn0: iwn_init_locked: could not configure device, error 35

By passing the current channel to hal->set_txpower() the firmware
error is fixed, at least for the 4965 chipset of my Thinkpad and
the ones tested by Bernhard.

Submitted by:	Bernhard Schmidt <bschmidt@techwires.net>
Approved by:	rpaulo
2010-01-09 04:00:22 +00:00
..
aac Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
acpi_support Update acpi_ibm syctl nodes on resume. 2010-01-05 20:29:30 +00:00
acpica Merge ACPICA 20091112. 2009-11-16 21:47:12 +00:00
adb Add support for interpreting taps on ADB touchpads as a button click. 2009-11-28 17:48:25 +00:00
adlink Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
advansys Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
ae Small spelling fix, "Ethetnet" -> "Ethernet" 2009-12-25 19:38:12 +00:00
age Fix multicast handling. All Atheros controllers use big-endian form 2009-09-29 23:03:16 +00:00
agp Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
aha
ahb
ahci Avoid false positive probe on ICH6 chipsets. 2009-12-25 07:59:31 +00:00
aic
aic7xxx Disable K&R style function definitions for WARNS=6. 2009-12-31 00:07:26 +00:00
alc Fix multicast handling. All Atheros controllers use big-endian form 2009-09-29 23:03:16 +00:00
ale Fix multicast handling. All Atheros controllers use big-endian form 2009-09-29 23:03:16 +00:00
amd Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
amdsbwd amdsbwd: new driver for AMD SB600/SB7xx watchdog timer 2009-11-30 11:44:03 +00:00
amdtemp Restore (undocumented) support for early revisions and add more comments. 2009-09-14 23:08:19 +00:00
amr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
an - For 350 chips, don't set various INTR bits in TX control word; turning INTR 2009-11-24 16:57:35 +00:00
arcmsr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
asmc Use %zu for size_t. 2009-09-14 21:33:00 +00:00
asr
ata Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ath Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
atkbdc Add new "hw.psm.tap_enabled" tunable and sysctl. 2009-12-18 17:46:57 +00:00
auxio Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
bce - Introduce new option BCE_JUMBO_HDRSPLIT that allows user to enable header 2009-10-21 12:47:09 +00:00
bfe Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
bge Fix regression introduced in r198318. BCM5754/BCM5754M uses the 2010-01-03 21:49:24 +00:00
bktr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
bm Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
buslogic
bwi More consistent whitespace. 2009-11-11 20:29:40 +00:00
cardbus Move the PCI-specific logic of removing a cardbus device into a 2010-01-05 20:42:25 +00:00
cas Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
ce Always use a private timer instead of if_watchdog and if_timer to drive 2009-11-17 16:43:02 +00:00
cfe
cfi Move from using devclass_find_free_unit(cfi_diskclass, 0) to -1, since 2009-06-10 17:41:24 +00:00
ciss Don't panic due to unlocking an unowned mutex if we fail during attach. 2009-12-17 17:46:08 +00:00
cm - Add a private timer to drive the transmit watchdog instead of using 2009-11-19 22:06:40 +00:00
cmx
coretemp Change 'dev.cpu.N.temperature', sysctl I (degC) to IK (Kelvin). 2009-09-06 12:01:29 +00:00
cp Always use a private timer instead of if_watchdog and if_timer to drive 2009-11-17 16:43:02 +00:00
cpuctl - Add support to atomically set/clear individual bits of a MSR register 2009-06-30 12:35:47 +00:00
cpufreq
cs Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ct
ctau Always use a private timer instead of if_watchdog and if_timer to drive 2009-11-17 16:43:02 +00:00
cx Always use a private timer instead of if_watchdog and if_timer to drive 2009-11-17 16:43:02 +00:00
cxgb Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
cy
dc cardbus -> CardBus 2010-01-03 23:28:32 +00:00
dcons
de Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
digi
dpms Attach dpms(4) to vgapm and make sure to restore DPMS state after 2009-12-15 19:58:23 +00:00
dpt Get rid of #ident, GCC 4.4 warns about it being deprecated. 2010-01-08 17:20:41 +00:00
drm Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
e1000 Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ed Use a private callout timer to drive the transmit watchdog instead of using 2009-11-17 14:23:09 +00:00
eisa strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
en
ep Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
esp
et Only Tx checksum offloading is supported now. Remove experimental 2009-11-20 20:43:16 +00:00
ex Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
exca CardBus instead of cardbus. 2010-01-03 23:26:29 +00:00
fatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
fb Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
fdc Remove _FDE quirk handling as these quirks are automatically repaired 2009-12-14 22:28:32 +00:00
fe Fix comment typo. 2009-11-25 13:31:17 +00:00
firewire Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
flash
fxp It seems some 82559ER controllers do not support Rx checksum 2009-09-28 19:40:16 +00:00
gem Work around a quirk with the G5 Xserve, which has a fake GMAC controller 2009-10-18 17:11:16 +00:00
glxsb
hatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hifn Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
hme Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
hptiop Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
hptmv Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hptrr Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver 2009-11-08 11:33:51 +00:00
hwpmc Use VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele(). 2009-12-29 02:35:50 +00:00
ic add %b formats for various registers 2009-06-21 19:17:22 +00:00
ichsmb ichsmb: add another pci id 2009-12-16 12:25:27 +00:00
ichwd ichwd: don't attach to isa pnp device(s) by accident 2009-11-07 11:41:23 +00:00
ida
ie Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
ieee488 Make isa_dma functions MPSAFE by introducing its own private lock. These 2009-11-09 20:29:10 +00:00
if_ndis Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
iicbus
iir Get rid of #ident. 2010-01-08 20:40:28 +00:00
io
ipmi - Fixed incorrect watchdog timeout setting: MSB of a 2-byte 2009-12-18 12:10:42 +00:00
ips Fix argument order in a call to mtx_init. 2009-12-17 00:21:12 +00:00
ipw For ic_opmode switch cases, provide a default label with a printf saying 2009-07-10 15:28:33 +00:00
iscsi/initiator Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
isp Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ispfw Add 8Gb card firmware. Update some 2Gb and 4Gb f/w sets. 2009-08-01 00:57:34 +00:00
iwi For ic_opmode switch cases, provide a default label with a printf saying 2009-07-10 15:28:33 +00:00
iwn Revert iwn channel-argument handling of set_txpower() to r201822 2010-01-09 04:00:22 +00:00
ixgb - Use callout_init_mtx() instead of callout_init(..., CALLOUT_MPSAFE). 2009-11-19 18:37:55 +00:00
ixgbe Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
jme If we fail to read the Ethernet address from the card, just print an 2010-01-08 10:32:27 +00:00
joy
kbd Use an unsigned integer for storing the key code. 2009-09-22 11:29:11 +00:00
kbdmux Use proper types in kbdmux_kbd_getc(): 2009-06-08 20:24:29 +00:00
ksyms Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
le Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
led (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
lge - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
lindev lindev(4) [1] is supposed to be a collection of linux-specific pseudo 2009-09-26 12:45:28 +00:00
lmc One more #ifdef fix for GCC 4.4. 2010-01-08 15:57:56 +00:00
malo Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
mc146818 Remove clause 3 from Izumi Tsutsui's licenses. 2009-12-25 22:58:43 +00:00
mca strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
mcd
md (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
mem
mfi Revert r200231. It was already taken cared by jhb long ago. 2009-12-07 21:24:07 +00:00
mge Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
mii cardbus -> CardBus 2010-01-03 23:31:58 +00:00
mk48txx Fix botches in r201005: 2010-01-01 22:47:53 +00:00
mlx Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
mly Put mly_timeout() under MLY_DEBUG, so that newer GCC versions don't 2010-01-08 15:46:27 +00:00
mmc Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
mn
mpt Use a constant instead of a magic number for the flag that enables decoding 2009-12-30 19:42:27 +00:00
mse
msk It seems generation of link state change of e1000phy(4) is not 2009-11-17 18:19:45 +00:00
mwl - Add a private timer to drive the transmit watchdog instead of using 2009-11-19 22:06:40 +00:00
mxge Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
my - This driver used the if_watchdog timer both as a watchdog on transmit and 2009-11-19 18:43:43 +00:00
ncv strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
nfe Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
nge Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
nmdm - Remove an unnecessary memory barrier from an atomic op. 2009-06-09 13:33:03 +00:00
nsp strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
null Remove unneeded minor numbers from /dev/null and /dev/zero. 2009-09-06 09:59:02 +00:00
nve - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
nvram
nxge Fix compile after previous "harmless" commit. 2009-11-19 21:47:54 +00:00
ofw Missed style fixes. 2009-06-14 00:15:26 +00:00
patm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
pbio
pccard cardbus -> CardBus 2010-01-03 23:31:58 +00:00
pccbb Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pcf strict kobj signatures: fix iicbus_write impl in dev/pcf 2009-06-11 17:15:44 +00:00
pci Move the PCI-specific logic of removing a cardbus device into a 2010-01-05 20:42:25 +00:00
pcn - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
pdq Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
powermac_nvram
ppbus Check pointer for NULL before dereferencing it, not after. 2009-10-22 06:51:29 +00:00
ppc
pst Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pty Move ptmx into pty(4). 2009-09-06 10:27:45 +00:00
puc Fix interrupt handling. It started off broken and grew worse over time. 2009-12-11 03:08:07 +00:00
quicc
ral Implementation of the upcoming Wireless Mesh standard, 802.11s, on the 2009-07-11 15:02:45 +00:00
random
rc
re Move interface reinitialization down after disabling WOL in resume 2009-11-19 23:14:40 +00:00
rndtest
rp These checks against BUSY aren't needed: the newbus layer does this 2009-09-05 08:38:25 +00:00
safe Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
sbni
scc
scd
sdhci
sec Fix Book-E/MPC85XX build. Some prototypes were wrong and got revealed with 2009-06-13 08:57:04 +00:00
sf Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
si
siba
siis Usually these controllers are able to automatically decode command code to 2009-12-29 21:49:11 +00:00
sio
sis Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
sk Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
smbus
smc strict kobj signatures: fix assortment of miibus_writereg impls 2009-06-11 17:14:54 +00:00
sn - Add a private timer to drive the transmit watchdog instead of using 2009-11-19 22:06:40 +00:00
snc Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
snp Add ttydisc_rint_simple(). 2009-08-23 08:04:40 +00:00
sound Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
speaker Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
spibus strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
ste Make sure to store dma address of RX buffer in little endian form. 2010-01-08 02:43:20 +00:00
stg strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
stge Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
streams
sym While certain supported Symbios/LSI SCSI chips (532c896, 53c1000, 53c1010) 2009-10-31 17:06:36 +00:00
syscons Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
tdfx Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
ti - Add a private timer to drive the transmit watchdog instead of using 2009-11-19 22:06:40 +00:00
tl - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
trm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
tsec tsec: Use IFQ_DRV macros for managing interface packet queue. 2009-11-20 13:28:06 +00:00
twa Change the command argument to ioctl routines to u_long to avoid 2009-09-22 16:28:07 +00:00
twe Teach twe driver to report array stripe size to GEOM. 2009-12-25 17:34:43 +00:00
tx Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
txp Make sure rx descriptor ring align on 16 bytes. I guess the 2009-08-31 22:09:48 +00:00
uart Recognize the NS16552 found in PCIe-based sun4u machines. 2009-12-23 22:31:43 +00:00
ubsec strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
usb Remove unused uhci_dump_qhs(). 2010-01-08 15:52:06 +00:00
utopia
vge Remove wrong assertion. 2009-12-25 00:23:47 +00:00
vkbd
vr Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
vx - Add a private timer to drive the transmit watchdog instead of using 2009-11-19 22:06:40 +00:00
watchdog
wb - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
wds
wi Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
wl These drivers only set if_timer but never set if_watchdog. Just remove 2009-11-19 18:11:23 +00:00
wpi Don't panic on failure to attach if we fail before or during the 2009-12-14 19:18:02 +00:00
xe Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
xen In blkif_queue_cb(), test the return value from gnttab_claim_grant_reference() 2009-12-29 23:31:21 +00:00
xl cardbus -> CardBus 2010-01-03 23:29:49 +00:00