summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-03-04remove vlan header.Brad Smith
2006-02-28Switch to software WEP in a way mostly similiar to what David YoungJonathan Gray
did in NetBSD. Fixes WEP on aanriot@'s ADM8211A. ok deraadt@
2006-02-25comment code that is currently unused (radar detection and dynamic rxDamien Bergamini
sensitivity tuning). fix a typo while i'm here.
2006-02-25instead of panicing when tx rate is zero, fallback to 1Mbps.Damien Bergamini
this is a temporary workaround since we should really not see any node with an empty rate set but it seems to happen in hostap mode.
2006-02-25load the firmware only when necessary (first call to rt2661_init or if theDamien Bergamini
cardbus socket has been powered off). restore the call to rt2661_init() in the watchdog since the firmware is not reloaded in this case. fixes "timeout waiting for BBP" errors seen on some PCI adapters.
2006-02-24Make the "ring buffer overrun" message a DEBUG message insteadBrad Smith
of a DIAGNOSTIC message for now, this should be looked at after release.
2006-02-24remove NetBSD rnd(4) code.Brad Smith
2006-02-21remove some commented out and NetBSD-specific code.Brad Smith
2006-02-21add missing MTU ioctl switch case.Brad Smith
Noticed by: Ben Lovett <ben at tilderoot dot com>
2006-02-20Fix kernel builds without bpfilter. Linking is still broken.Damien Bergamini
"Please commit this diff ASAP" brad@
2006-02-20Be sure to call shutdownhook_disestablish() as this is a removeable device.Jonathan Gray
ok mickey@
2006-02-18don't try to release references to nodes that have been freed by net80211.Damien Bergamini
in HostAP mode, when switching to the INIT state, net80211 sends a DISASSOC and a DEAUTH frame to all associated stations and immediately free all the nodes while we may still hold references to them in our Tx queues. hopefully, this should fix PRs 4469/kernel and 4953/kernel.
2006-02-17Missed part of last atw commit.Jonathan Gray
2006-02-17Use ieee80211_compute_duration() instead of homerolled function.Jonathan Gray
From a change to NetBSD by David Young. Tested by aanriot@ on ADM8211A and me on ADM8211B.
2006-02-15don't re-init the interface on watchdog timeout. we need to reload theDamien Bergamini
firmware which can't be done outside of a process context. instead, just turn the interface down (rt2661_stop) for now.
2006-02-11Move a bit more under MPT_DEBUG.Kenneth R Westerback
ok marco@
2006-02-10Fix LBA48 access for ServerWorks SATA.Mark Kettenis
ok grange@
2006-02-08eliminate a reset when configuring the IP address.Brad Smith
tested by kettenis@
2006-02-06typos from alexey dobriyan;Jason McIntyre
ok mickey marco mbalmer niklas brad
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-02-05Add a fix from David Young to not set the ring indexes to somethingJonathan Gray
obviously invalid, which can occur when ejecting a CardBus rtw.
2006-02-05Rework code a bit more and move mpt_print_header() completely underKenneth R Westerback
MPT_DEBUG. May shave a few more bytes, makes logic a bit clearer. No functional change. ok marco@
2006-02-05and the softc addition too.Brad Smith
2006-02-05call gem_setladrf() if the NIC is already running and only theBrad Smith
PROMISC or ALLMULTI flags are being adjusted or if adjusting the multicast addresses instead of doing a full re-init of the chip. ok kettenis@
2006-02-04Redo debugging mechanism to something less loud and more useful.Marco Peereboom
Shaves 22k of the kernel. ok krw
2006-02-02make an exposed printf for debugging a debug printf and add a few commasBrad Smith
in the dmesg printing to make the dmesg entry look a little nicer. ok mickey@
2006-02-01dont clutter up dmesg with useless or redundant informationDavid Gwynne
prodded by deraadt@
2006-02-01a driver for the phillips pcf8584 i2c controller as found on the sun netraDavid Gwynne
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@
2006-01-30Add basic radiotap support. Modelled somewhat afterJonathan Gray
ral and NetBSD wi radiotap. "looks ok" damien@
2006-01-30only flush the TX descriptors in re_start() if there are packetsBrad Smith
to be transmitted. tested by jsg@
2006-01-29Don't ask bus_dmamem_alloc() for zero bytes. 'bioctl -H x:y amiz' noKenneth R Westerback
longer triggers a panic. ok marco@ dlg@.
2006-01-28Consider temperatures below -45 degC to be invalid for Winbond chips.Mark Kettenis
2006-01-28remove 2 printf's from dc_coal() too.Brad Smith
2006-01-28Make sure that HW VLAN stripping is not enabled and remove unused codeBrad Smith
for HW VLAN stripping.
2006-01-28remove printf's from dc_newbuf().Brad Smith
2006-01-26Make lm at iic detach properly, and use config_detach(9) to fully detachMark Kettenis
lm at iic if we attach lm at isa for the same chip. tested by robert@, krw@
2006-01-23update sm(4) from NetBSD, including support for more models and MII;Martin Reindl
also activate ISA attachment; ok brad@
2006-01-22Nothing uses this file anymore.Alexander Yurchenko
ok miod@
2006-01-20- xl_encap(): free the mbuf chain and return if bus_dmamap_load_mbuf()Brad Smith
returns an error other than EFBIG. - xl_encap(): remove a redundant check already done in xl_start_90xB(). - merge xl_encap_90xB() into xl_encap().
2006-01-19Try to disable unconnected temperature sensors.Mark Kettenis
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@
2006-01-17Support W83791SD as an lm(4) without sensors.Mark Kettenis
2006-01-15Commit missing bits too:Mark Kettenis
If we attach an lm(4) to isa(4) that is already attached to iic(4), disable the one attached to iic(4). idea from deraadt@
2006-01-14Move isa-specific members of struct lm_softc into lm_isa.c.Mark Kettenis
2006-01-14Rename nslm7x.c into lm78.c and nslm7xvar.h into lm78var.h, and clean upMark Kettenis
lm78var.h. Now that I've completely rewritten the driver, replace copyright with my own. suggested by deraadt@
2006-01-14- give rate to rx radiotapDamien Bergamini
- read TSF high 32bit word before low 32bit word to avoid wraparounds
2006-01-14Correct the length of the rx radiotap to be that of the rx not txJonathan Gray
struct. ok damien@
2006-01-13- fix short slot timeDamien Bergamini
- add WEP capability flag - make sure to reset fallback to CCK rates when switching to 802.11a - give BBP more time to initialize
2006-01-13fix short slot time + cosmeticDamien Bergamini
2006-01-13- simplify lookup of 802.11a channels (we know they exist)Damien Bergamini
- kill two stupid comments while i'm here