summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-05We only use the io space in em_reset_hw() on a few MAC typesJonathan Gray
and it does not exist at all on newer hardware so only map it on those types we are interested in. Fixes "PRO/1000 PT (82575EB)" for Sylvain Desveaux and will also be required for at least 82580. ok claudio@
2011-04-05wd_hibernate_io() is a standalone disk io writer which tries to notTheo de Raadt
damage kernel memory very much while doing the job. It is not very pretty yet, but improving it will need some MI work. ok mlarkin jsg dlg
2011-04-05- use nitems() no binary change on amd64Jasper Lievisse Adriaanse
"reads OK" claudio@
2011-04-05Iopoolification. Testing by marco@.Kenneth R Westerback
ok dlg@ marco@
2011-04-05Add a flag to cmd_find_session so that attach-session can preferNicholas Marriott
unattached sessions when choosing the most recently used (if -t is not given). Suggested by claudio@.
2011-04-05regenMiod Vallat
2011-04-05Icelandic keyboard mapping. Commited from an Icelandic keyboard.Miod Vallat
2011-04-05Bind C-u to delete-line in vi mode like ksh does, suggested by thib.Nicholas Marriott
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-05Allow GCC2 to be used as a cross compiler from amd64 (can build m68k and sparcDale Rahn
with some additional assistance). ok miod@ Useful to quickly build kernels, say at hackathons.
2011-04-05Move session related code into session.c.Claudio Jeker
2011-04-05Replace if/else ladder with much more legible switch statement forBret Lambert
testing tcp flags. ok henning@ claudio@
2011-04-05mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUTHenning Brauer
ok claudio krw
2011-04-05Provide macros for ssm/rsm.Joel Sing
2011-04-05Fix the previous commit: define ___cerror, no __cerrorPhilip Guenthe
tested by otto@; ok miod@
2011-04-05Implement syscall_return.Joel Sing
"Go ahead" kettenis@
2011-04-05handle ACK prioritization for v6, ok henning@Stuart Henderson
2011-04-05Move PSW in struct cpu_info. Also ensure that we leave interrupts disabledJoel Sing
when switching to virtual mode in the trap handler. Re-enabling interrupts whilst in the trap handler for an interrupt makes life interesting. ok kettenis@
2011-04-05Regenerate -- linux_sys_set_tid_address().Paul Irofti
2011-04-05Add set_tid_address() syscall. Lots of help from and okay guenther@.Paul Irofti
This is more than a simple syscall.This expands TLS support quite a bit. Also linux_sys_clone() handles CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID, CLONE_PARENT_SETTID flags as well as the CLONE_SETTLS by doing what set_thread_area() is doing. Next on the list is futex support which should allow compat to cope with newer Linux kernels.
2011-04-05Bye bye, kern.emul.freebsdPhilip Guenthe
Pointed out by aja@
2011-04-05Fix PID fetching -- noticed last night by guenther@.Paul Irofti
2011-04-05Fix logic bug in debug code and enable spllower()/splraise().Joel Sing
ok kettenis@
2011-04-05provide VSCSI_STAT_RESET so userland can tell us that the connection toDavid Gwynne
the device was reset rather than blindly fail it. requested by claudio@
2011-04-05Remove FREEBSD_COMPAT bits and obsolete RTHREAD definePhilip Guenthe
2011-04-05Remove FREEBSD_COMPAT bits and obsolete RTHREAD definePhilip Guenthe
2011-04-05Remove unused macro.Bret Lambert
ok henning@ claudio@
2011-04-05the tree builds better when you don't use PF_FASTROUTEStuart Henderson
ok henning@ mikeb@
2011-04-05hid_locate() is supposed to accept the last two arguments being NULL, soMiod Vallat
correctly handle this in the failure case.
2011-04-05Iopoolification to eliminate another few instances of the currentKenneth R Westerback
shibboleth - NO_CCB. This in no way means this driver works. ok gcc@ dlg@
2011-04-05Rename a few xbow global variable names to make them less ambiguous.Miod Vallat
Remember the hub widget number of each node, instead of only the master node. Use this in xbridge to compute the proper direct DMA map configuration register value (it needs to embed the hub widget number matching the physical address range). This should allow us to pick memory from a different node than the one we booted from, as the DMA window, if wanted.
2011-04-05remove the a_desc member from the vop_*_args structuresThordur I. Bjornsson
as it's unused and unset.
2011-04-05move forward with scsi multipathing.David Gwynne
the big change is how paths between mpath capable devices and the kernel are managed. originally the midlayer would steal the links to the devices and hide them behind mpath. all the changes an adapter made to a link (eg activate or detach), the midlayer had to test if it was an mpath link and then call special mpath code to handle it. the original code also assumed that all paths behaved the same, but the reality is that different devices have different command sets and behaviours. figuring out which behaviour to pick and prioritising them is basically the same job autoconf does with match and attach. rather than special casing mpath in the midlayer and reimplimenting autoconf, this turns paths into actual device drivers with match and attach routines. after they figure out if the path is active, they then give it to mpath(4) to use as a backend. i have written drivers for symmetric access devices (sym(4)) where all paths to the same logical unit are as good as each other, lsi/engenio arrays (rdac(4), and emc arrays (emc(4)). the rdac and emc drivers only detect active paths at attach time, the do not cope if the controller changes state unless you unplug the path and plug it in again to retest the active state. they also do not have support for directing array failover. operating and hoplugging has been tested with mpii(4), fc and sas mpi(4), and iscsi via vscsi (claudio did this too). ok krw@ deraadt@
2011-04-05Every single vop_default is set to eopnotsupp, so retire itThordur I. Bjornsson
and return EOPNOTSUPP directly from the VOP_* functions. Filesystems should, at some point fill in every function in the vop_default struct so we can get rid of the 'if' statements in VOP_*.
2011-04-05Enable wide mode for PSW defaults.Joel Sing
ok kettenis@
2011-04-05remove mention of fastroute here as wellJonathan Gray
'you are not allowed to speak until you commit' mikeb@
2011-04-05Handle a daemon_flags of '-n' by using printf '%s\n' instead of echoPhilip Guenthe
ok otto@, aja@
2011-04-05Remove unused variable.Paul Irofti
2011-04-05ditch fastroute, an ipf feature that made its way into pf beforeMike Belopuhov
route-to and friends were introduced making it obsolete. one even has to look it up int the ipf manual to get and idea what it's supposed to do. reuse some kernel bits for the upcoming nat64 stuff. "kill it with fire" from mcbride, "what mcbride said" from mpf, "kill kill kill" and ok henning.
2011-04-05Save and restore the PSW value when making a PDC call, rather than blindlyJoel Sing
reloading from kpsl. ok kettenis@
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-05add a scsi probe routine so isp(4) can reject high luns when the midlayerDavid Gwynne
is probing, rather than every time it issues an io. ok krw@
2011-04-05Deep below wdc_ioc_ata_cmd() it is possible that some controller (present orTheo de Raadt
future) will try to dma the command buffer to the disk in some way. Use dma_alloc() to get ahead of this potential failure path. ok dlg krw
2011-04-05syncTheo de Raadt
2011-04-05Arguments to m_dup_pkthdr() have changed; sync man page with reality.Bret Lambert
ok claudio@
2011-04-05Passing M_WAITOK to mbuf functions is supposed to be a contract betweenBret Lambert
the caller and the function that the function will not fail to allocate memory and return a NULL pointer. However, m_dup_pkthdr() violates this contract, making it possible for functions that pass M_WAITOK to be surprised in ways that hurt. Fix this by passing the wait flag all the way down the functions that actually do the allocation for m_dup_pkthdr() so that we won't be surprised. man page update forthcoming ok claudio@
2011-04-05Quote $daemon_flags to prevent echo(1) picking them as input flags.Antoine Jacoutot
from Piotr Sikora ok robert@
2011-04-05Add support to display numbers with thousands separatorsMarco Pfatschbacher
and to switch the ifstat view to Bits/s. This allows us to see live network throughput in units like MBit/s, which is more practical. OK sthen@, manpage OK jmc@, "put it in" deraadt@
2011-04-05Fix function argument list.Paul Irofti
2011-04-05 - Change pool constraints to use kmem_pa_mode instead of uvm_constraint_rangeArtur Grabowski
- Use km_alloc for all backend allocations in pools. - Use km_alloc for the emergmency kentry allocations in uvm_mapent_alloc - Garbage collect uvm_km_getpage, uvm_km_getpage_pla and uvm_km_putpage ariane@ ok