summaryrefslogtreecommitdiff
path: root/sys
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-17make it clear in the code and in the man page that the rate2plcp andDamien Bergamini
plcp2rate functions use plcp codes in most-significant-bit-first format (R4-R1). some drivers like wpi(4) and iwn(4) want plcp codes in lsb-first format so they can't use those functions. also the IEEE standard uses R1-R4 notation so this can be a bit confusing for those refering to it. use u_int8_t for plcp code and rate instead of int.
2007-11-17Rename fiber TBI flag from BGE_TBI to BGE_PHY_FIBER_TBI. No functional change.Brad Smith
ok dlg@
2007-11-17use tables to determine the best control to use for play.gain, record.gainAlexandre Ratchov
and monitor_gain; this makes play.gain always usable as general purpose volume knob even on devices that don't have outputs.master. ok jakemsr@, deanna@
2007-11-17sync error messages with man page's DIAGNOSTICS section.Damien Bergamini
2007-11-17Allow for more than one flag per GPIO pin.Marc Balmer
ok grange.
2007-11-17Support GPIO_PIN_PULLDOWN (pulldown-enable) as GPIO pin flag.Marc Balmer
2007-11-17pull-down (GPIO_PIN_PULLDOWN) is a valid flags for some GPIO devices,Marc Balmer
e.g. the AMD Geode C5536 GPIO. ok grange
2007-11-17The initial ipl on luna/mvme188 like interrupt arbiters is IPL_HIGH, notMiod Vallat
IPL_NONE; fixes a false splassert warning on boot.
2007-11-17Replace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or otherMiod Vallat
appropriate types. No functional change.
2007-11-17Add some preprocessor magic to let M187 and M188 kernels compile again.Miod Vallat
2007-11-17Remove unused variable.Miod Vallat
2007-11-17Rework {get,set,raise}ipl() to minimize psr modification, especially onMiod Vallat
boards such as mvme1[89]7 where spl changes can be atomic.
2007-11-16Pass name of CPU nodes instead of "cpu" such that we see it for unconfiguredMark Kettenis
CPUs on UP kernels.
2007-11-16clear host to mcu mailbox after loading microcode.Damien Bergamini
otherwise, talking to the bbp through the mcu may fail.
2007-11-16Make the GPIO functionality of the AMD Geode LX CS5536 available.Marc Balmer
gpio* at glxpcib? Based on an initial diff from Martin Hedenfalk <martin@bzero.se> which I largely rewrote. Tested on the ALIX.3C1 and the Soekris net5501. ok dlg, grange, marco
2007-11-16Fix typo in comment.Mark Kettenis
2007-11-16No need to mention which codec is being used if there's only one.Deanna Phillips
2007-11-16in the strange/unnatural/ridiculous situation where a non-blockingTheo de Raadt
connect() which has completed and failed.. if connect() is called again.. return the so_error instead of EINVAL; from Alexey Vatchenko matches what other systems do now ok millert henning
2007-11-16typoMike Belopuhov
ok deraadt
2007-11-16Fix dmesg output. From form@.Mike Belopuhov
ok deraadt
2007-11-16firmware (if not store in a seeprom in the device) for the uticom(4)Theo de Raadt
this was compiled by someone from the full source code published by TI under a surprisingly free license (which is probably not even actually enforceable in any way, since they forgot to put the phrase Copyright above it... where do they hire their lawyers?? anyways, everyone benefits)
2007-11-16driver for TI TUSB3410 usb serial, written by dxi@mail.ru andTheo de Raadt
hasso@dragonfly.org, ported but not yet tested.. waiting for hardware
2007-11-16the cpu_feature/cpu_id stuff here is bullshit, XXX it so that it gets fixed ↵Theo de Raadt
one day soon
2007-11-16UltraSPARC-IIIi CPUs are different and choose the BUSY/NACK pair based on theMark Kettenis
target CPU ID. Make sure we check the right bits.
2007-11-16fix the bus_space #define nightmare, so that amd64 and i386 are much moreTheo de Raadt
uniform. as a result shared code like acpi needs less #ifdef's ok marco kettenis
2007-11-16Remove microtime calls and RNG benchmarking from the pchb attachmentMike Belopuhov
code. This is due to the fact that we do timecounter initialization after autoconf(9). ok deraadt
2007-11-16in pf_test_fragment(), ignore protocol-specific criteria for packets ofDaniel Hartmeier
different protocols. from Max Laier. ok markus@, henning@
2007-11-16quotes around model name tooTheo de Raadt
2007-11-16er, the newline is wrong. dissapointing.Theo de Raadt
2007-11-16convert code over from sd.c, to let tapes discollect. Lucas StefanuttiTheo de Raadt
of pr 5635 confirms this works for him. similar diff authored by krw who was unaware i wrote this and mailed it to Lucas...
2007-11-16use arc4random_bytes() instead of multiple arc4random() calls;Damien Miller
ok deraadt@ dlg@ henric@ mcbride@
2007-11-16something has to go, unfortunatelyTheo de Raadt
2007-11-16do not make up a device name for interrupts.. give it the dv_xnameTheo de Raadt
2007-11-16accept ATA ioctls so tools like atactl work on disks behind the atascsiDavid Gwynne
layer. i intended to write better ways to deal with disks, but i have been too slack. shame on me. this is less code than the equivilent in wdc/pciide, which amuses me greatly.
2007-11-16cast pointer to right typeTheo de Raadt
2007-11-15enable most acpi functionality by default. now instead of 'enable acpi',Theo de Raadt
you use 'disable acpi' or 'disable apm' withn you encounter problems (depending on which kind of problems). if we work hard enough, this can remain the situation by the time we ship the next release. otherwise, we will re-disable acpi... so let's crackin'
2007-11-15remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (andTheo de Raadt
will be improved), or it is unsafe because AML assumes it must be there ok almost everyone
2007-11-15Make acpicpu(4) attach to the existing CPUs only.Mike Belopuhov
Problem reported by form@. Fix idea by kettenis@. Lots of help from deraadt@. Tested by deraadt@, form@ and me. ok deraadt marco
2007-11-15match expresscard ralTheo de Raadt
2007-11-15syncTheo de Raadt
2007-11-15ralink N expresscard modelTheo de Raadt
2007-11-15Check for curcpu()->ci_softintr being nonzero before invoking dosoftint(),Miod Vallat
in the common case, this saves us two potentially expensive setipl() calls.
2007-11-15Make a few end-of-trap-handling symbols global, to get better ddb traces.Miod Vallat
Also, pick better symbol names in the sir/ast processing.
2007-11-15At last, port the mvme88k eh.S r1.66 fixes to aviion.Miod Vallat
2007-11-15Resolve the struct trapframe tf_mode/tf_flags duality by getting rid ofMiod Vallat
the tf_mode name. This field only contains flags used internally by the exception processing code.
2007-11-15Stop referring the initial kernel stack as the ``interrupt stack''. It'sMiod Vallat
been years since it has last been used for that purpose, so name it the initialization/startup stack. While there, do not store the initialization stack in cpu_info, and have secondary_pre_main() return its value so that the bootstrap code does not need to fetch it from cpu_info. This might be reconsidered when the startup stacks will be freed after they are not used anymore, but there are more things to do first.
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-15Attach to "rsc-console". Hopefuly this will give us a proper console onMark Kettenis
the Sun Fire 280R/V480/V880 when the console is directed to the RSC card.