summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-06-17Get interrupt information from PDC and use it to program the IO SAPIC.Mark Kettenis
Needed to make edge triggered interrupts work.
2007-06-17We can not consider the first sti region as always mapped, since on pciMiod Vallat
cards it is no longer the rom image. This lets sti@pci work on non-dino bridges. Found by and ok kettenis@
2007-06-17Make sure to pass valid extended initialization structure pointers inMiod Vallat
sti_init(), for recent sti proms require them. Also, return a meaningful error value. ok kettenis@ mickey@
2007-06-17Disable memory above 256MB for now, it triggers bugs (probably related toMiod Vallat
cache operations).
2007-06-17Repair a couple of printfs.Miod Vallat
2007-06-17Coerce this into compiling.Miod Vallat
2007-06-17Add first shoot of SCAN command.Marcus Glocker
2007-06-17Some alpha (or SRM) designs use level 3 for i/o interrupts, instead of theMiod Vallat
more commonly encountered level 4. Do not complain in splassert() in this case (this is similar to the older vsbus vax machines workaround).
2007-06-17Add a new capability flag IEEE80211_C_QOS indicating that the driverDamien Bergamini
supports QoS. Add a new flag IEEE80211_F_QOS indicating whether QoS is enabled or not. Add a callback to notify drivers that AC parameters have changed in the QBSS. Drivers implementing QoS should define this callback and update their EDCA settings accordingly.
2007-06-17keep track of the Tx/Rx sequence numbers for each TID in theDamien Bergamini
ieee80211_node structure. add a flag to indicate whether a STA is a QSTA or not.
2007-06-17- remove two unused structuresDamien Bergamini
- add three new information elements identifiers: IEEE80211_ELEMID_QBSS_LOAD : QBSS Load IEEE80211_ELEMID_EDCA_PARAMS: EDCA Parameter Set IEEE80211_ELEMID_QOS_CAP : QoS Capability
2007-06-17No longer include usb_port.h, all macros have been converted to their CMarc Balmer
counterparts. Revert usb_port.h to it's original form with all the macro definitions to ease the import of new drivers from other BSDs. after discussion with deraadt; feedback from mk, miod, jsg, dlg. ok dlg.
2007-06-17(error in commit messages to other similar MI files; see position inTheo de Raadt
ChangeLog to see other files) avoid pulling in machine/disklabel.h when sys/disklabel.h is a better choice
2007-06-17amd64/standTheo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-16astro(4)'s iommu does cache-coherent DMA.Mark Kettenis
2007-06-16Add three new firmware commands to set authentication, set rate adaption,Marcus Glocker
and tune several 802.11 parameters.
2007-06-16move global declaration of ieee80211_merge_print_intvl into the onlyDamien Bergamini
function that uses it.
2007-06-16Add a few more registers.Mark Kettenis
2007-06-16do not allocate ring descriptors for the service queue.Damien Bergamini
this queue is used to load the firmware and the descriptors are written differently (in wpi_load_segment()). so the DMA descriptors were actually unused. saves 16KB of memory.
2007-06-16remove stupid macro.Damien Bergamini
2007-06-16ieee80211_lookup_node() does not exist.Damien Bergamini
remove prototype in .h and ref in man pages.
2007-06-16constifyDamien Bergamini
2007-06-16don't mix u_int{8,16,32}_t and uint{8,16,32}_tDamien Bergamini
use u_int{8,16,32}_t everywhere.
2007-06-16de-staticDamien Bergamini
ok jsg@
2007-06-16Enable iophy(4) for fxp(4). From brad.Mark Kettenis
2007-06-16When EOVERFLOW was added, it broke the zaurus bootblocksTheo de Raadt
2007-06-15disable softraid (because ↵Theo de Raadt
sr_boot_assembly->readdisklabel->readdoslabel->biowait) is what happens on late-cold architectures. something else has to be fixed first before that is permitted, i guess.
2007-06-15Check that sc_notify actually points to something before attempting to callGordon Willem Klok
it. Fixes marco@'s post c2k7 panics. ok marco
2007-06-15Drop the current random timestamps and the current ISN generationMarkus Friedl
code and replace both with a RFC1948 based method, so TCP clients now have monotonic ISN/timestamps. The server side uses completely random ISN/timestamps and does time-wait recycling (on port reuse). ok djm@, mcbride@; thanks to lots of testers
2007-06-15In power_match(), make sure oa_irq is correctly initialized.Miod Vallat
2007-06-15Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTSMarc Balmer
(which was used to define USB_USE_SOFTINTR). No binary changes. ok dlg, mk.
2007-06-15in pf_test_rule, before handling IPPROTO_ICMP / IPPROTO_ICMPV6, check thatHenning Brauer
the packet is of the expected address family (AF_INET / AF_INET6). crafted IPv4 packets with IPPROTO_ICMPV6 can make us crash otherwise. misbehaviour provoked by Adrian Close <adrian@close.wattle.id.au> playing with nmap; he also helped us big time debugging the problem. thanks! ok ryan
2007-06-15more (*&@#$ timeout.h falloutTheo de Raadt
2007-06-15the multicast filter is operated on as an array of u_int16_t's, not theDavid Gwynne
u_int32_t's like its described as in the chip descriptors. fixing this stops the driver from overwriting the field next to the multicast filter that specifies the number of tx descriptors we give the nic. we were accidentally telling the chip we had 32 thousand tx descriptors when we only have 100. trying to complete the 101th tx descriptor causes panics.
2007-06-15permit this to compile againTodd T. Fries
looks right krw@, Righto miod@
2007-06-15no need to include machine/disklabel.h when sys/disklabel.h is alreadyTheo de Raadt
pulled in. look at how doing it in one architecture gets that code copied to the derivative architectures... amazing..
2007-06-14Forgotten hackton diff: bounds check for seek on special devicesOtto Moerbeek
with a disklabel. Original diff from pedro@; ok pedro@ deraadt@
2007-06-14bzero the right thingTheo de Raadt
2007-06-14preserve the possible route label if the route belongs to the carpReyk Floeter
interface (ip-less parent). tested by claudio and me ok claudio@
2007-06-14unbreak tree after untested timeout.h deletionsTheo de Raadt
2007-06-14Prettier dmesg; requested a long time ago by deraadt@.Alexander Yurchenko
2007-06-14Add a new "rtlabel" option to ifconfig. It allows to specify a route labelReyk Floeter
which will be used for new interface routes. For example, ifconfig em0 10.1.1.0 255.255.255.0 rtlabel RING_1 will set the new interface address and attach the route label RING_1 to the corresponding route. manpage bits from jmc@ ok claudio@ henning@
2007-06-14syncMichael Knudsen
2007-06-14Fix some typos in a few Intel entries.Michael Knudsen
From brad.
2007-06-14When macppc was switched to __HAVE_VM_PAGE_MD, data structures were incorrectlyDale Rahn
exposed to userland, protect with _KERNEL. Tested by Antoine Jacoutot
2007-06-14sprinkle some #ifdef IPSEC so that pfsync compiles w/o ipsecHenning Brauer
from mickey, ok me markus mickey
2007-06-14Move the mstohz macro out of ubs_port.h and to the three places where it isMarc Balmer
used. ok jsg.
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-14Move four #defines out of usb_port.h and to the places where they are used.Marc Balmer
ok jsg.