summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-02-20Fixed structure size for sleep states (bad grange!)Jordan Hargrave
ok marco@
2006-02-20- remove mbuf linearization code. it is broken in this context and it is veryDamien Bergamini
unlikely that we will see mbuf chains with 62 fragments anytime soon (anyway, it would not crash, it would just freeze TX). - fix max scatter value so we don't end up filling the ring with one mbuf chain.
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-20Display device name for button attachJordan Hargrave
ok marco@
2006-02-20Add acpibtn device. Remains disabled for now.Marco Peereboom
2006-02-19Added code for aml_notify GPE notification callbackJordan Hargrave
ok marco@
2006-02-19Fix acpi_enter_sleep_state() by replacing current ugly hackAlexander Yurchenko
with mostly correct sleeping state transition code. ok brad@ marco@
2006-02-19- fix h/w VLAN tagging and enable it for adapters that support it (VLAN tagDamien Bergamini
stripping job is left to the network stack). - enable interrupt mitigation by default. - add some magic to the initialization sequence in the hope that it will fix TX issues seen on some adapters.
2006-02-19add the TTTech MC322Brad Smith
2006-02-19sync w/ rt2560.c:Damien Bergamini
don't try to release references to nodes that have been freed by net80211. 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.
2006-02-19jordan:Marco Peereboom
Enable interrupts. Added peripheral code to make this work. marco: Replace softintr and other types of interrupts with a handler with context. Fixed interrupt magic for GPEs. Some KNF This is work done by jordan and I but has to be a single commit.
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-17Remove earlier introduced delays. We really only need them during autconf.Marco Peereboom
ok jordan@
2006-02-17Add a generic delay function as per the ACPI spec.Marco Peereboom
from jordan@
2006-02-17Fix another typo. From Constantine A. Murenin.Mark Kettenis
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-17Add sensors output. This is for debug only and will be removed later.Marco Peereboom
2006-02-17Better comments.Marco Peereboom
2006-02-17Propogate some values through the sysctl hw.sesnsors interface for debugMarco Peereboom
purposes. This will be removed later and replaced with something better.
2006-02-17Use tsleep instead of delay when !cold.Marco Peereboom
2006-02-17Argh, we need delays between reads/writes. The backend reads (i2c most likely)Marco Peereboom
are so slow that values come back as 0 sometimes. We have to do this despite the spec saying we shouldnt have to. Guess having a faster parser than others can hurt sometimes. Idea from jordan.
2006-02-17If there is no link then set IFM_NONE so ifconfig will show a mediaBrad Smith
status of (none) whether in auto or forced speed/duplex mode.
2006-02-17- simplify link state handling code.Brad Smith
- update interface baud rate properly so userland programs such as a SNMP daemon or bgpctl/ospfctl for example will display the correct interface speed instead of always saying 1 Gbps. From FreeBSD
2006-02-17Fixed code for handling _INIJordan Hargrave
Rearranged debug statements ok marco@
2006-02-17Detect if battery slot is available but without a battery in it.Marco Peereboom
ok jordan
2006-02-16Use rasops_unpack_attr() to decompose attributes instead of doing it by hand,Miod Vallat
as we are not supposed to know how rasops encodes attributes here. Tested matthieu@
2006-02-16Added stub for calling _INIJordan Hargrave
Fixed aml_dowhile for NULL return ok marco@
2006-02-16Print useful information during boot about the battery and power supply.Marco Peereboom
ok jordan.
2006-02-16Fixed parser/evaluator to retrieve battery info+stateJordan Hargrave
Cleanup of parser Dell laptops return battery status ok marco@
2006-02-16Adjust debug levels to something sane.Marco Peereboom
2006-02-16set IFCAP_VLAN_MTU unconditionally.Brad Smith
2006-02-16Do not bother enabling HW TX checksum offload since the code toBrad Smith
support this feature was removed awhile ago.
2006-02-16Only set HW VLAN assist flag when IFCAP_VLAN_HWTAGGING is set.Brad Smith
2006-02-16Fix typo's. From Constantine A. Murenin.Mark Kettenis
2006-02-16disable HW VLAN tagging.Brad Smith
2006-02-16Patch from Dimitry Andric to fix the allocation of 4 pages of gartMatthieu Herrb
memory for hardware cursor. Tested by many, ok tedu@
2006-02-16- stop enabling/disabling interrupts in nfe_intr().Damien Bergamini
- store RX/TX settings in nfe_softc so we don't recompute them all the time. - fix h/w VLAN tagging flags.
2006-02-16regenJonathan Gray
2006-02-16Add Novatel and Kyocera EVDO cards.Jonathan Gray
2006-02-16AirPrime EVDO does not work with uplcom as suspected.Jonathan Gray
Noticed by Ben Lovett.
2006-02-16regenBrad Smith
2006-02-16add some ENE CardBus controllers.Brad Smith
2006-02-15move setting IFCAP_VLAN_MTU back to where it is supposed to be.Brad Smith
2006-02-15add support for 64bit rings base addresses.Damien Bergamini
2006-02-15actually disable h/w VLAN tagging for now.Damien Bergamini
2006-02-15- enable jumbo frames for adapters that support it.Damien Bergamini
- extend TX DMA mappings size from MCLBYTES to NFE_JBYTES. - add initial (disabled) bits for interrupts mitigation. - add initial (disabled) bits for h/w VLAN tagging. - did some consistency tweaks while i'm here.
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-15be gone whitespace.Brad Smith