summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-11-25Don't handle acpiev events inside the gpe handler since this causes deadlocks.Marco Peereboom
ok jordan@
2006-11-25Fixed acpiec code for deadlockJordan Hargrave
acpiec events are handled at GPE/thread context, no longer need wakeup cVS: ----------------------------------------------------------------------
2006-11-25add commented out entries for gem@sbusBrad Smith
2006-11-25initial stab at an SBus front end for gem(4). currently untested.Brad Smith
From martin@NetBSD
2006-11-25Initial NAND flash support for Zaurus, not enabled yet; prodded by many.Uwe Stuehler
2006-11-25Cleanup obsolete rate bits and pass right value to the TX rate descriptor.Marcus Glocker
ok claudio@
2006-11-25If no TX rate has been calculated yet, set rate value to autoselectMarcus Glocker
instead DS1. Add 'mode' informations to malo_media_status(). Some KNF.
2006-11-25fix use of gem_bitwait().Brad Smith
2006-11-25Split the GEM registers into two halfs and provide a bus_space_handle_tBrad Smith
for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD
2006-11-25additional registers and some comment fixes.Brad Smith
From NetBSD
2006-11-25Fix a copy and pasto.Brad Smith
From martin@NetBSD
2006-11-24Small KNF fix.Marcus Glocker
2006-11-24Enable setting of fixed rates.Marcus Glocker
2006-11-24Check the reference count for interface addresses when detachingCan Erkin Acar
an interface. Fixes a double free panic. ok claudio@, looks fine henning@
2006-11-24Enable automatic rate adapation (done by firmware and hardware).Marcus Glocker
ok claudio@
2006-11-24From Jon Simola <jsimola@gmail.com>:Marcus Glocker
Completely rewrote bcw_reset() based on new specs, this cleared up the random attach warning I occasionally had during warm boots. Also change the license, as nearly nothing is left of the original bce code.
2006-11-24regenBrad Smith
2006-11-24add the Broadcom BCM5709 PCI id.Brad Smith
2006-11-24When copying out struct statfs to userland, we need to zero out the fsidArtur Grabowski
field unless it's root that's asking. This far, this has been done by putting a struct statfs on the stack and modifying it. struct statfs is large. Large things on the stack are bad. Create copyout_statfs() that copies out a struct statfs to userland, does the necessary root check and gives userland what it needs withtout wasting stack space. pedro@, deraadt@ ok.
2006-11-24add support to tag ipsec traffic belonging to specific IKE-initiatedReyk Floeter
phase 2 traffic. this allows policy-based filtering of encrypted and unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and isakmpd.conf(5) for details and examples. this is work in progress and still needs some testing and feedback, but it is safe to put it in now. ok hshoexer@
2006-11-24never call an ioctl without process context! this diffs checks theReyk Floeter
ifp->if_link_state instead of calling the ifmedia ioctl. this is safe in timeouts without process context and allows to use bridge stp with usb ethernet devices now. figured out and tested by Stuart Henderson, closes pr 5304.
2006-11-24replace a magic number (reserved TX descs?) with macroBrad Smith
From tsutsui@NetBSD
2006-11-24regenBrad Smith
2006-11-24add the DLink DWL-G120 product id.Brad Smith
2006-11-23Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,Marcus Glocker
but it seems rarely used and we don't know in connecton with which chip. 88W8335/88W8310 uses 88W8000G RF (2.4GHz).
2006-11-23Do not attach second port on dual port cards for now.Mark Kettenis
This makes the first port work. ok brad@
2006-11-23Set some more power management bits; makes Yukon-2 XL work somewhat.Mark Kettenis
ok brad@
2006-11-23The duration field is calculated by the firmware. Remove malo_txtime()Marcus Glocker
therefore. ok claudio@
2006-11-23OpenBSD-ify the HW VLAN tag insertion code.Brad Smith
2006-11-22add the BCM4312 PCI id.Brad Smith
2006-11-22Be more generous with interrupt disabling in the scheduler.Miod Vallat
2006-11-22The softintr lock needs to be an __mp_lock, not a __cpu_simple_lock.Miod Vallat
2006-11-22style(9): remove variables names from prototypes.Damien Bergamini
ok mglocker@
2006-11-22Remove rssadapt(9) bits; Firmware supports rate adaption. Also,Marcus Glocker
remove unused arguments in the TX descriptor setup routine. ok claudio@
2006-11-22don't write to BBP before it is ready and fully initializedDamien Bergamini
-> move rt2560_set{tx,rx}antenna() after rt2560_bbp_init(). from <sephe at dragonflybsd dot org>
2006-11-22If M_CANFAIL is set and the malloc() size is to bigThordur I. Bjornsson
return NULL instead of panic()'ing. ok pedro@, deraadt@
2006-11-22Some more minor cleanup in the PCI hookup.Marcus Glocker
From Jon Simola <jon@mecha.ca>.
2006-11-22From Jon Simola <jon@mecha.ca>:Marcus Glocker
Attach to cardbus based bcw cards, and more cleanup. This should help with a few of the card lockup reports I've received.
2006-11-21Fail wi_get_txpower() on USB wi(4), so that we don't CSR_READ on them.Miod Vallat
ok mickey@ jsg@
2006-11-21Free allocated mbufs at TX done. While there also reset some TX descriptorMarcus Glocker
values. Fixes "WARNING: mclpool limit reached; increase kern.maxclusters" ok claudio@
2006-11-21fix dmesg printing for the artisea chipset.Brad Smith
2006-11-21Define IPL_SCHED.Miod Vallat
2006-11-21splassert support.Miod Vallat
2006-11-21Don't bother using _cpu_intr_raise() for splhigh(), use _cpu_intr_suspend().Miod Vallat
2006-11-21Use _cpu_intr_resume() instead of splx() for consistency. No functional change.Miod Vallat
2006-11-21From Jon Simola <simola@mecha.com>:Marcus Glocker
Lots of help from Jonathan Gray. bcw_regs has been removed, and DMA/descriptor style changes that look more normal. Tested, no loss in current unfunctionality.
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-11-21Remove watchdog handler workaround introduced in rev 1.149 which is noBrad Smith
longer necessary.
2006-11-21style changes. no op.Brad Smith
2006-11-20Re-enable HW VLAN tagging.Brad Smith