summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2007-11-17implement ic_set_key() and ic_delete_key() callbacks.Damien Bergamini
2007-11-17RT2560+RT2661: update the physical address in the RX descriptor afterDamien Bergamini
bus_dmamap_load() in the case where the same mbuf is reloaded. RT2661: remove a 2x prototype, fix an error message.
2007-11-17sync error messages with man page's DIAGNOSTICS section.Damien Bergamini
2007-11-16clear host to mcu mailbox after loading microcode.Damien Bergamini
otherwise, talking to the bbp through the mcu may fail.
2007-11-16cast pointer to right typeTheo de Raadt
2007-11-15New driver for Ralink RT2860 chipset.Damien Bergamini
Attaches as 'ral' as it shares the PCI and CardBus frontends with RT2560 and RT2661 though it is actually a separate driver. Requires a firmware that can't be redistributed with the base system due to license restrictions (exact same license as iwn(4) firmware). The 802.11n capabilities not yet supported (except MIMO). Great thanks to Sam Fourman Jr for donating hardware. ok deraadt@
2007-11-11The interrupt routine doesn't need to explicity invoke splbio/splx.Kenneth R Westerback
But the polling routine needs to wraps its call of the interrupt routine with splbio/splx. This ensures scsi_done() is properly protected. While in the polling routine, fix the timing code so milliseconds are not treated as microseconds.
2007-11-10- Fix command timeouts in certain scenarios (like under X11)Marcus Glocker
- Properly issue the RTS-Threshold firmware command ok claudio@
2007-11-07More SPLBIO around scsi_done.Kenneth R Westerback
2007-11-06More scsi_done() at SPLBIO.Kenneth R Westerback
2007-11-05More scsi_done() at SPLBIO.Kenneth R Westerback
2007-11-05More scsi_done() at SPLBIO. Wrap more interrupt function calls whileKenneth R Westerback
polling in splbio/splx. Put belts and suspenders splbio/splx around the scsi_done() call since it may be possible to get there other ways. Partly from thib@
2007-11-05More scsi_done() at SPLBIO. Wrap more interrupt function calls whileKenneth R Westerback
polling in splbio/splx.
2007-11-05More scsi_done() at SPLBIO. Wrap another interrupt function call whileKenneth R Westerback
polling in splbio/splx. Wrap one call to dpt_done_ccb() not already at SPLBIO.
2007-11-05More scsi_done() at SPLBIO. Wrap another interrupt function call whileKenneth R Westerback
polling in splbio/splx. And wrap scsi_done() itself since it appears reachable from multiple places.
2007-11-05More scsi_done() at SPLBIO. If you poll by manually calling theKenneth R Westerback
interrupt function, wrap the call in splbio/splx!
2007-11-05Take a bit more care to ensure that SCSI_POLL commands always returnKenneth R Westerback
COMPLETE and never SUCCESSFULLY_QUEUED.
2007-11-01backout last "fix" because it breaks operation on some devices. evenReyk Floeter
if the fix looks right, it seems to expose another problem that i haven't found yet. figured out by Denis Doroshenko at gmail dot com
2007-10-29fix the setup of Tx descriptors. the frame type and "no ack" bits wereReyk Floeter
initialized in ar5k_ar521*_setup_tx_desc() but cleared in ar5k_ar521*_fill_tx_desc() by setting the segment length incorrectly. From ath5k via Nick Kossifidis (mickflemm at gmail dot com)* ---snip--- The missing no_ack in broadcast frames caused them to be retried up to the retry_limit(1+4=5 transmissions by default). ---snap--- * it was explicitly mentioned that it is ISC-licensed now
2007-10-24Unconditionally initialize all channels, regardless of locale.Bret Lambert
Shaves 258 bytes from i386 kernel. Feedback, guidance, testing, and ok jsg@
2007-10-22enable the fifo probe code as long as the serial is not used as consoleFederico G. Schwindt
or kgdb. if this probes to be a problem it will be disabled again . tested and ok by toby@ otto@ jsing@
2007-10-20Remove unneeded scope declarations that shadows existing ones. krw@ okFederico G. Schwindt
2007-10-20Move a few more definitions to pcf8584var.h. Needed for SUNW,envctrl andMark Kettenis
SUNW,envctrltwo support. ok deraadt@
2007-10-20Call scsi_done() at SPLBIO. 'looks olright' says mickey.Kenneth R Westerback
2007-10-20Put scsi_done() invocations inside existing splbio/splx pairs to makeKenneth R Westerback
damned sure scsi_done is invoked at splbio. Noted by deraadt@.
2007-10-18avoid splassert, caused by the fact that iha_main() is calledOtto Moerbeek
unprotected by iha_exec_scb(). With help and ok miod@
2007-10-18Add some first LEDs support. Tested on my cardbus Linksys WPC54G Ver 3.Marcus Glocker
Diff ported from DragonFlyBSD
2007-10-17use ansi declarations and rename gdt to sc to avoid shadows and followFederico G. Schwindt
what other drivers do; no binary change.
2007-10-16more remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-10-15more remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-10-14Fix a panic which happens with ACX100 chipsets in ieee80211_add_xrates()Marcus Glocker
because the drivers tries to set extended rates for a 11b chip. Tested and OK winiger@
2007-10-13remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-10-13add the AR5416 and AR5418 device IDs (needs some more testing)Reyk Floeter
2007-10-12The newer single chip Atheros wireless chipsets like the AR5424,Reyk Floeter
AR2423 etc. are mostly compatible to the AR5212 but use a different algorithm to set the 2GHz RF channel, that's why they didn't work in OpenBSD. I figured out that the channels were set with an offset, setting channel 11 in the driver caused the hardware to set channel 5 etc. Because I didn't figure out the pattern to fix the algoritm yet, I fixed it in a workaroundish way by defining a small "table" with offsets for the 11b channels to get the right results. For example, if we want to set channel 11 (2462MHz), we add an offset of -30MHz, and feed the result (2432MHz ^= channel 5) into the unmodified AR5212/AR5112 RF setup function. Long description for a commit message, but it needed some time to figure it out. It is still not perfect, needs some more work, and it doesn't work in all cases; but it allows to use newer chipsets in 11b mode restricted to 1 or to 2Mbit/s. 11a mode seems to work without problems so far.
2007-10-09MALLOC -> mallocGilles Chehade
ok krw@
2007-10-09Use %zu for printing size_t values.Ray Lai
OK dlg.
2007-10-06Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.Kenneth R Westerback
2007-10-05gilles missed one of the __attribute__((__packed__)) here inJonathan Gray
the __attribute__((__packed__)) -> __packed conversion.
2007-10-04attribute packed -> __packedGilles Chehade
ok miod@ a while ago, ok pyr@
2007-10-04Since we know the firmware load works, merge the single firmware filesMarcus Glocker
together to one single, finally. You need to bump the firmware package to version 1.3! OK jsg@
2007-10-03MALLOC+bzero -> malloc+M_ZERO.Kenneth R Westerback
In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
2007-10-01Spacing.Marcus Glocker
2007-10-01Fix `bogus xmit rate setup' panic, which mostly happened while associatingMarcus Glocker
to an 11b AP due to not correct initialized tx rates.
2007-10-01remove rate_fb variable as it always gets set to the same valueJonathan Gray
as rate anyway.
2007-10-01Print the MAC address.Jonathan Gray
2007-10-01Disable default debug setting, make tx power map printing debug only.Jonathan Gray
2007-10-01more btoc -> atopMartin Reindl
2007-10-01Use uint_* consistent.Marcus Glocker
Agreed with jsg@
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.Kenneth R Westerback
2007-09-30Spacing.Marcus Glocker