summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2011-06-05Move the bufcachepercent setting code to MI locations -- set it to 42%Theo de Raadt
for now; that is unlikely to hit some of the remaining starvation bugs. Repair the bufpages calculation too; i386 was doing it ahead of time (incorrectly) and then re-calculating it. ok thib
2011-04-07merge vfs_conf.c and vfs_init.c and retire vfs_conf.c;Thordur I. Bjornsson
The contents belong togather a long with other crud, that should get moved at some point. ok deraadt@, miod@
2011-04-06POOL_DEBUG has nothing to do with portalfsTheo de Raadt
2011-04-05Remove portalfs.Thordur I. Bjornsson
While it is a terribly cool idea, it's just awful and since noone has stepped up to the plate to keep it up with the current vop state, retire it to the attic. ok krw@, deraadt@, guenther@, miod@. comments from jmc@
2011-04-05Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, noPhilip Guenthe
one has been weeding it, and it makes life harder. Toasts of Brennivin for its passing from many; diff ok henning@
2011-04-04COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)Theo de Raadt
can go away ok guenther
2011-03-02enable POOL_DEBUG again since we are not in releaseTheo de Raadt
2011-03-02we are now hacking on 4.9-currentTheo de Raadt
2011-02-15move us to real 4.9Theo de Raadt
2011-01-19group filesystems togetherThordur I. Bjornsson
ok miod@
2011-01-13move to 4.9-currentTheo de Raadt
2011-01-10add a new function, explicit_bzero, to be used for erasing "secret" stuff.Ted Unangst
unlike normal bzero, we guarantee that the compiler will not optimize out calls to this function for otherwise dead variables. to be adjusted as needed when compilers and linkers get smarter. ok deraadt miod
2011-01-07Add socket option SO_SPLICE to splice together two TCP sockets.Alexander Bluhm
The data received on the source socket will automatically be sent on the drain socket. This allows to write relay daemons with zero data copy. ok markus@
2011-01-06only athn at uhub (not pci or cardbus) needs firmloadDamien Bergamini
2011-01-06"athn* at uhub? port ?"Damien Bergamini
this adds preliminary support for the Atheros AR9271 chipset and probably the AR9280+AR7010 and AR9287+AR7010 too though those were not tested. scanning still takes a very long time (~1 sec per channel) but otherwise, operation in STA mode seems stable. will implement fast channel change soon. committed over the Ubiquiti WifiStation EXT (AR9271) on i386 with WPA. requires firmware (see man page for details) ok deraadt@ (who checked the .h files)
2010-12-21Bring back the "End the VOP experiment." diff, naddy's issues whereThordur I. Bjornsson
unrelated, and his alpha is much happier now. OK deraadt@
2010-12-21Convert netisr to a normal soft interrupt instead of hanving MD codeClaudio Jeker
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
2010-10-18tmac update no longer neededTheo de Raadt
2010-10-18There is no reason to not include MPLS and mpe(4) in GENERIC. Makes myClaudio Jeker
life a lot easier. Sure deraadt@
2010-10-06Retire SkipjackMike Belopuhov
There's not much use for the declassified cipher from the 80's with a questionable license these days. According to the FIPS drafts, Skipjack reaches its EOL in December 2010. The libc portion will be removed after the ports hackathon. djm and thib agree, no objections from deraadt Thanks to jsg for digging up FIPS drafts.
2010-09-24use a better description for the vnd(4) entry on this file.Igor Sobrado
ok millert@
2010-09-24vscsi lives once more!David Gwynne
2010-09-22Add a new interface pppx(4) -- the ppp multiplexer to be used with npppdClaudio Jeker
and pipex. pppx(4) creates an interface whenever a session is created so that altq and pf can work on these. Started by dlg@ debugged and made usable by myself OK dlg@ yasuoka@ deraadt@
2010-09-22OCF support for the Galois/Counter Mode (GCM) for AES asMike Belopuhov
described in FIPS SP 800-38D. This implementation supports 16 byte authentication tag only, splitting transformation into two parts: encryption and authentication. Encryption is handled by the existing AES-CTR implementation, while authentication requires new AES_GMAC hash function. Additional routine is added to the software crypto driver to deal with peculiarities of a combined authentication- encryption transformation. With suggestions from reyk, naddy and toby.
2010-09-20Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is libraryTheo de Raadt
code using socket options. ok matthew
2010-09-10Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)Thordur I. Bjornsson
have been resolved.
2010-09-06End the VOP experiment. Instead of the ridicolusly complicated operationThordur I. Bjornsson
vector setup that has questionable features (that have, as far as I can tell never been used in practice, atleast not in OpenBSD), remove all the gunk and favor a simple struct full of function pointers that get set directly by each of the filesystems. Removes gobs of ugly code and makes things simpler by a magnitude. The only downside of this is that we loose the vnoperate feature so the spec/fifo operations of the filesystems need to be kept in sync with specfs and fifofs, this is no big deal as the API it self is pretty static. Many thanks to armani@ who pulled an earlier version of this diff to current after c2k10 and Gabriel Kihlman on tech@ for testing. Liked by many. "come on, find your balls" deraadt@.
2010-08-13now that we are at -current again, re-enable POOL_DEBUGPeter Hessler
"go ahead" kettenis@
2010-08-12we are at -current againTheo de Raadt
2010-08-08take us to releaseTheo de Raadt
2010-08-08we ship releases with POOL_DEBUG off. post-release, turn it back on.Theo de Raadt
POOL_DEBUG is for development safety (catches our bugs early), but this particular safety comes off for release. reminded by miod
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-24move to 4.8-betaTheo de Raadt
2010-07-21disable vscsi until we actually have something that uses it (like iscsid),David Gwynne
and until matthew@ is happy with it. suggested by deraadt@
2010-07-20Add OpenSSH's timingsafe_bcmp() to libkern.Matthew Dempsky
ok djm@, deraadt@
2010-07-13dma_alloc() and dma_free(). This is a thin shim on top of a bag ofTheo de Raadt
pools, sized by powers of 2, which are constrained to dma memory. ok matthew tedu thib
2010-07-05i forgot to remove various compat references from here. spotted by deraadtTed Unangst
2010-07-01garbage collect the now unused PAGEFASTRECYCLE option.Thordur I. Bjornsson
ok deraadt@, david@
2010-07-01another day, another compat gets removed. today is ibcs2's turnTed Unangst
2010-07-01compat_o43 and compat_23 can dieTheo de Raadt
2010-07-01turn off COMPAT_O43Theo de Raadt
2010-06-29Replace enc(4) with a new implementation as a cloner device. We stillReyk Floeter
create enc0 by default, but it is possible to add additional enc interfaces. This will be used later to allow alternative encs per policy or to have an enc per rdomain when IPsec becomes rdomain-aware. manpage bits ok jmc@ input from henning@ deraadt@ toby@ naddy@ ok henning@ claudio@
2010-06-29Remove COMPAT_HPUX. No one wanted to support it and its fewmets werePhilip Guenthe
blocking other cleanups ok miod@
2010-06-08Introduce a diskmap pseudo device which allows userland to open a diskJoel Sing
specified via its disklabel UID. The mapping from the disklabel UID to the real disk and the opening of the resulting device is performed atomically using a single ioctl. ok krw@ deraadt@
2010-05-26Reintroduce bufqs. A few changes since it was backed out after some goodThordur I. Bjornsson
comments from dlg@. No need for a separate bufq.h, keep all of in buf.h; As requested by kittens and deraadt. Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon, also other goodies like heuristics for sd(4) for selecting the bufq type and the death of disksort() are forthcoming. Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and phessler. OK art@, beck@, kettenis@, oga@
2010-05-26PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it isTheo de Raadt
implied.
2010-05-11ip_ether.c makes only sense if the kernel has gif(4) support.Claudio Jeker
OK sthen@
2010-05-10athn(4) is going to support a new family of Atheros 802.11nDamien Bergamini
chips (AR9003), which differs from the currently supported families (AR5008, AR9001 and AR9002). The main differences (from a driver point of view) are: * DMA: Tx and Rx descriptors have changed. A single Tx descriptor can now reference up to 4 scatter/gather DMA segments. There is now a DMA ring for reporting Tx status with separate Tx status descriptors (this ring is used to report Tx status for all the Tx FIFOs). Rx status descriptors are now put at the beginning of Rx buffers and do not need to be allocated separately from buffers. There are two Rx FIFOs (low priority and high priority) instead of one. * ROM: The AR9003 family uses OTP-ROM instead of EEPROM. Reading the ROM is totally insane since vendors can provide only the chunks of ROM that differ from a default image (and thus the default image has to be stored in the driver). This is referenced as "compressed ROM" in the Linux driver, though there is no real compression involved, at least for the moment. * PHY registers: All PHY registers have changed. Some registers offsets do not fit on 16 bits anymore, but since they are 32-bit aligned, we can still make them fit on 16 bits to save .rodata space in initialization tables. * MAC registers: Some MAC registers offsets have changed (GPIO, interrupt masks) which is quite annoying (though ~98% remain the same.) * Initialization values: Initialization values are now split in mac/soc/bb/radio blocks and pre/core/post phases in the Linux driver. I have chosen to not go that road and merge these blocks in modal and non-modal initialization values (similar to the other families). The initialization order remains exactly the same as the Linux driver though. To manage these differences, I have split athn.c in two backends: ar5008.c contains the bits that are specific to the AR5008, AR9001 and AR9002 families (used by ar5416.c, ar9280.c, ar9285.c and ar9287.c) and that were previously in athn.c. ar9003.c contains the bits that are specific to the new AR9003 family (used by ar9380.c only for now.) I have introduced a thin hardware abstraction layer (actually a set of pointers to functions) that is used in athn.c. My intent is to keep this abstraction layer as thin as possible and not to create another ugly pile of abstraction layers a la MadWifi. I think I've managed to keep things sane, probably at the expense of duplicating some code in both ar5008.c and ar9003.c, but at least we do not have to dig through layers and layers of virtual descriptors to figure out what is mapped to the hardware. Tested for non-regression on various AR5416 (sparc64+i386), AR9281 and AR9285 (i386 only) adapters. AR9380 part is not tested (hardware is not available to the general public yet). Committed over my AR9285 2.0.
2010-05-07order the network pseudo-devices by name. Move pppoe and sppp into that list.Claudio Jeker
OK kettenis, krw, dlg
2010-05-01Unbreak ramdisks.Owain Ainsworth
I forgot that uvm_object.c wasn't build if SMALL_KERNEL. Fix this by building the file unconditionally and only building the less used functions when SMALL_KERNEL is not defined. unbreaks ramdisk build. ok jsg@