summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-15Remove the old ioctl interface which has been disabled for overJonathan Gray
six years (since bioctl support was added). ok krw@ dlg@
2012-08-14Add support for basic HTTP authentication as described on RFC 2617 andChristiano F. Haesbaert
RFC 3986. This allows the following idiom in ftp: ftp http[s]://user:pass@host/file With some pointers from halex a lot of testing and feedback from lteo, thanks a lot. ok lteo@
2012-08-14Garbage collect the USE_GCC variables; everything usesMatthew Dempsky
COMPILER_VERSION now. From Brad.
2012-08-14Add framework support for controlling symbol visibility in sharedMatthew Dempsky
objects, inspired by NetBSD. Discussed with kurt, kettenis, and millert. ok kettenis
2012-08-14syncTheo de Raadt
2012-08-14whitespace cleanup; no binary changeMike Belopuhov
2012-08-14use scsi_get_link to find out the name of a child device for bioctl ratherDavid Gwynne
than snoop scsi commands and copy it in an io path. no functional change, but the code has one less XXX now.
2012-08-14expose the max number of logical volumes the hardware supports as the widthDavid Gwynne
of its scsibus. only advertise 1 lun on logical volumes instead of letting the midlayer fix it up to 8. give every target on the bus max_cmds openings. iopools means they will properly share access to them. this in particular is useful on skinny controllers which only advertise 31 command slots. if you have 16 volumes, theyll only get 1 opening each with the old maths. this way round the ones that are busy will share the slots. tested on a perc5 with two volumes and hard workloads.
2012-08-14Boldify windows with alerts in choose-* list.Nicholas Marriott
2012-08-14Tidy up tty_write, from Sean Estabrooks.Nicholas Marriott
2012-08-14Use a separate define for each default format template and strip clutterNicholas Marriott
from the choose-tree defaults.
2012-08-14fix bad argument passed to errx()Charles Longeau
ok sthen@ benno@ claudio@
2012-08-14remove unused variableCharles Longeau
ok krw@
2012-08-14remove unused variableCharles Longeau
ok matthew@
2012-08-14Add a patch missed during a merge sometime to useNicholas Marriott
TAILQ_FOREACH_SAFE. From Tiago Cunha.
2012-08-14Optimize checks for /etc/exports.Antoine Jacoutot
from robert at peichaer dot org discussed with and ok halex@
2012-08-14regenDavid Coppa
2012-08-14Replace the encoded character in the device name: Clang doesn't like it.David Coppa
From Brad. OK jsg@
2012-08-14dont maintain tables of all the pci subtypes just so we can print thingsDavid Gwynne
like "Dell PERC 5/i" in dmesg. the firmware on the board knows its own name so we can use that instead. saves some bytes in the kernel.
2012-08-14print the boards name (eg, perc 5/i) according to the firmware like mfii.David Gwynne
ok deraadt@
2012-08-14gc sc_flags now that the iop struct can tell us where the different IDBsDavid Gwynne
are. noted by haesbaert@
2012-08-14oops, dont claim FUSION is an iop type we will support in mfi(4)David Gwynne
2012-08-14move knowledge of the location of the inbound doorbell out of code inDavid Gwynne
transition_firmware into a member of the iop structures. ok mikeb@ haesbaert@
2012-08-14add a ref to the vmwh package, help/ok lteo schwarze sthenTed Unangst
2012-08-14kernel configs dont need "scsibus* at foo?" anymore.David Gwynne
"guess you get more commits" deraadt@
2012-08-14enable mfii(4).David Gwynne
ok deraadt@
2012-08-14wire in mfii.4David Gwynne
prodded by deraadt@
2012-08-14basic manpage for new mfii(4)David Gwynne
2012-08-14wire in mfii(4)David Gwynne
ok by mikeb@ haesbaert@ deraadt@ matthew@
2012-08-14introduce mfii(4), a driver for the generation of megaraid sas boardsDavid Gwynne
after the ones currently supported by mfi(4). mfii is to mfi what mpii is to mpi. it is also strange in that it reuses bits of both mfi(4) and mpii(4) hardware structures. the register layout is sort of like mfi, but the majority of the messaging (post and completion paths) are like mpii. the new logical disk io message is the same as the scsi io command in mpii with an extra raid context bit on the end. other operating systems have supported the new hardware in their existing megaraid sas drivers by cutting them in half and using a metric buttload of function pointers at pretty much every driver entry point to switch between the non-fusion behaviour and the fusion behavior. the only really common code seems to be the handling of the management commands before branching off into the chip specific message handling to move it on and off the hardware. i'll deal with abstracting the mgmt stuff out later. this is working so im getting it in now to polish further in the tree. ok by mikeb@ haesbaert@ deraadt@ matthew@
2012-08-14split the definitions of the hardware out into a separate file so it canDavid Gwynne
be reused by a driver for the recent megaraid sas fusion boards. mikeb was also interested in doing this a while back to make working on mpii.c easier. ok by mikeb@ haesbaert@ deraadt@ matthew@
2012-08-13sync a comment with reality and remove an error path duplicate; from bradMike Belopuhov
2012-08-13unset _rcflags and _rcuser so that they don't get inherited by rc.d(8)Antoine Jacoutot
scripts; from robert at peichaer dot org ok halex@ While here, put the "sanitation" commands in their own block.
2012-08-13Set the daemon_class as readonly as it should be (and is documented asAntoine Jacoutot
such). from robert at peichaer dot org modified after a discussion with halex@ ok halex@ robert@
2012-08-13get rid of the last foo_lo and foo_hi bits i could find in the hardwareDavid Gwynne
structures and use htole64 instead of htole32(addr >> 32); htole32(addr); gets rid of "handy" stack variables to get the dva to 64bits. sprinkle some more byte swaps for things that should have it. tested on a perc5 (xscale)
2012-08-13do appropriate bus_dmamapy_syncs around the pcq/completion ring.David Gwynne
tested on a perc5 (xscale)
2012-08-13Add explicit references from rthread.o to all of the weak symbolMatthew Dempsky
overrides provided by libpthread.a. This ensures that statically linked threaded programs use (e.g.) __cerror() from libpthread.a instead of libc.a. (Same idea previously used by libuthread.) Thanks to fgsch@ for pointing out libuthread's solution to the static linking problem. ok guenther@, tedu@;
2012-08-13replace uint32_ts for hi and lo addresses in the mfi_init_ hardwareDavid Gwynne
descriptors with single uint64_ts. theyre not some weird middle endian thing. this makes the code more readable. add some missing htole32s to the code while here. tested on a perc5 (xscale).
2012-08-12Make sure snooping is enabled on Intel 7 Series HD Audio.Mark Kettenis
Tested by naddy@.
2012-08-12Fix almost ten-years old bug in siglongjmp(), which would not restore a signalMiod Vallat
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf signal mask means sigsetjmp was invoked with a zero `savemask' argument). While there, clean comments of all *{set,long}jmp routines, and shave a few instructions by using bcnd insead of cmp + bb to test for zero values. Passes the regress tests, and now devel/libsigsegv configure siglongjmp test will not spin (this test is however flawed as it expects a signal handler declared as running on the sigaltstack and `returning' through siglongjmp to be invoked on the signal stack the next time the signal is raised).
2012-08-12Use .Lk for HTTP hyperlinks, not .Pa.Ingo Schwarze
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
2012-08-12By default mask the reserved bits and the ext len bit in the attributeClaudio Jeker
flags field. Some systems seem to start sending bad flags around which cause session failures in bgpd. Make sure that bgpd ignores the must be zero flags correctly and ensure that they are always reset to zero when sending updates out. Reported and patch tested by Laurent CARON, OK henning@
2012-08-12Simplify width calculation (all numbers always sequential) and don'tNicholas Marriott
rely on uninitialized data, from Thomas Adam.
2012-08-12.Sq should use curly right quotes in HTML output to match its curlyMatthew Dempsky
left quotes. Also, properly reinitialize the styles attribute string buffer for each column in a table so that the attributes don't accumulate. tweak and ok schwarze
2012-08-12Explicitly state that only two unit specifiers are recognized instead ofLawrence Teo
"several." Note: if anyone adds support for more unit specifiers in the future, please change this back to "several" (instead of using an exact number) so that it matches the iked.conf(5) man page. :) While here, fix a typo in the quick mode section: "phase 1 lifetime" -> "phase 2 lifetime" ok mikeb sthen jmc haesbaert henning
2012-08-11fix use after freeCharles Longeau
ok eric@
2012-08-11Add missing header needed by PRI format stringCharles Longeau
Add missing header needed by time() ok eric@
2012-08-11Make a couple of variables local.Antoine Jacoutot
from robert at peichaer dot org ok halex@
2012-08-11Actually correctly handle -rpath-link, instead of eating its argument butMiod Vallat
handling it as -r. Oops.
2012-08-11Fix state tracking for the error ccb, and pay attention when the READ_LOG_EXTJonathan Matthew
command used in ncq error recovery fails. Fixes 'ccb->ccb_xa.state == ATA_S_ONCHIP' assertion failures when talking to dying disks. broken disk supplied by Aidan Rowe ok dlg@