summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2007-06-14Move the inclusion of sys/timeout.h from usb_port.h to the drivers thatMarc Balmer
need it. If a USB driver uses timeout(9) functions, the header file sys/timeout.h must be included. Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus). ok dlg.
2007-06-14Fix label name in writedisklabel().Miod Vallat
2007-06-14some spaces in the wayTheo de Raadt
2007-06-14excessive blank lines making the versions differentTheo de Raadt
2007-06-14set the prototype disklabel to version 1Theo de Raadt
2007-06-14Remove some debug prints which I let slip in.Dale Rahn
2007-06-14do not depend on previous loop variable, use a constant insteadTheo de Raadt
2007-06-14boot code does not do daddr64_t yet. 'unchange that' deraadt@Dale Rahn
2007-06-13- Remove the nm_inprog member from struct nfsmount;Thordur I. Bjornsson
NQNFS leftover. - Remove setting of the NFSMNT_DISMINPROG flag, its set and unset in the same function servering no purpose, im however going to reuse it shortly. - kill an if thats always true (NFSMNT_KERB cant be set) - misc cleanup and KNF. ok beck@
2007-06-13Remove some statics and inlines (mostly to get a readable profile output).Artur Grabowski
"reads ok" dlg@
2007-06-13Remove the definition and (single) use of the DECLARE_USB_DMA_T macro.Marc Balmer
No binary change. ok dlg.
2007-06-13Remove the definition and usage of the IF_INPUT macro which was definedMarc Balmer
as ether_input_mbuf which is itself a macro for ether_input. No binary change. ok dlg.
2007-06-13Remove the definition and use of umass/umass_quirks related macros.Marc Balmer
No binary change. ok dlg.
2007-06-13Remove the defintion and use of some byteswap macros.Marc Balmer
No binary change. ok dlg.
2007-06-13Apply some KNF after the recent removal of macros and type definitions.Marc Balmer
No binary change. ok ray.
2007-06-13There is no need to set RTAX_NETMASK on RTF_HOST routes. RTAX_NETMASK willClaudio Jeker
be set to NULL as first in rtrequest1() for all host routes. With and OK reyk@
2007-06-13Support the Macbook, Macbook Pro, Mac Mini and possibly the iMac.Deanna Phillips
Tested by many.
2007-06-13Don't attempt multichannel playback. This workaround allows a streamDeanna Phillips
to connect to multiple outputs, which is needed for some codecs like the Sigmatel ones found in Macs and on my VAIO. There is a bigger problem with how DACs are grouped that should be solved when we get around to supporting multichannel formats. Tested by many.
2007-06-13Switch macppc to the interactive bootloader in stand/boot.Dale Rahn
Much more useable on serial console systems.