summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-07-03garbage collect unused parameter to PFLOG_PACKETHenning Brauer
i found this somewhere in my forest, I don't really remember writing it, the context indicates I did this in iceland... getting this is to make a 1000+ lines diff less painful (how do I always end up with those)
2011-07-03endodoify UVM_CNT too.Owain Ainsworth
``beat it'' tedu@ the deleteotron
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
The vm hackers don't use it, don't maintain it and have to look at it all the time. About time this 800 lines of code hit /dev/null. ``never liked it'' tedu@. ariane@ was very happy when i told her i wrote this diff.
2011-07-03Do as all other direct archs do and map contig memory through the directOwain Ainsworth
map in bus_dmamem_map(). ok miod@
2011-07-03correctify NULL 0 confusionTed Unangst
2011-07-03wsdisplay should use wsdisplaypoll not ttpoll.Nicholas Marriott
ok miod deraadt
2011-07-03Fix return values of wsdisplaykqfilter and move some code so it matchesNicholas Marriott
wsdisplaypoll. ok miod deraadt
2011-07-03Cleanup vnd(4) a bit now that it only has one mode of operation andMatthew Dempsky
uses standard disk device numbering. ok deraadt@
2011-07-03Refactor the fragment handling in pf_setup_pdesc() so that AF_INETClaudio Jeker
and AF_INET6 are doing the fragment handling the same way. Makes code more readable. With and OK bluhm@
2011-07-03avoid void * pointer arithmeticDavid Hill
OK claudio@
2011-07-03The UVM_STRAT defines have been unused since pmemrange was commited.Owain Ainsworth
They may die now. ``kill it'' thib@
2011-07-03Fix vnd(4) support for read-only files. We can't clear sc_flagsMatthew Dempsky
before closing the vnode, because VNDRW() checks for the VNF_READONLY bit and the vnode layer doesn't like it when you close a read-only vnode with FREAD|FWRITE. ok deraadt@
2011-07-03LINK_STATE_IS_UP() should consider LINK_STATE_UNKNOWN as an up state.Claudio Jeker
This is now possible because carp no longer uses LINK_STATE_UNKNOWN for a state that is considered down. This will simplify a lot of code. OK mpf@ mcbride@ henning@
2011-07-03Do not use LINK_STATE_UNKNOWN for the INIT state. LINK_STATE_UNKNOWN hasClaudio Jeker
a special meaning and should only be set if the link state is not known because it is considered as being up. Use LINK_STATE_INVALID instead. OK mpf@ mcbride@ henning@
2011-07-03Add a SIMPLEQ_REMOVE_NEXT() macro analogous to SLIST_REMOVE_NEXT().Matthew Dempsky
ok krw@
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
2011-07-03Call config_detach() on the child scsibus in sr_detach().Matthew Dempsky
ok jsing@
2011-07-03slight knf (particularly the function decls) so i dont get too distractedDavid Gwynne
while reading. ok henning@ jsing@ tedu@ marco@ bluhm@ krw@
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
the obvious cases to return EINVAL and ENXIO. ok tedu deraadt
2011-07-02Per recommandation in the the sparc docs, use unlocked reads whenPhilip Guenthe
spinning on a contended lock. ok kettenis@
2011-07-02Cleanup the softraid boot probe code. Rename the rather poorly namedJoel Sing
sr_metadata_list struct to sr_boot_chunk and use a sr_metadata struct rather than an array of u_int8_t when storing the metadata. Also rename some variables to keep the boot volume/boot chunk consistency. This diff also fixes a memory leak where the structures were never freed for key disks. Otherwise there should be no functional change. ok marco@
2011-07-02Use getvnode() instead of implementing our own file descriptor handlingJoel Sing
code. This gets us some additional validation and correct reference counting. Issue spotted by matthew@ ok thib@
2011-07-02Getting a disklabel to extract d_secsize to initialize a variable that is thenKenneth R Westerback
re-initialized before use is silly. ffs shouldn't know of or worry about the physical disk sector size. ok thib@
2011-07-02rename VFSDEBUG to VFLCKDEBUG;Thordur I. Bjornsson
prompted by tedu@
2011-07-02gc in_interfaces. doesnt seem to do anything except get incremented.David Gwynne
ok henning@ deraadt@
2011-07-01msi interrupts working on mfi(4)Theo de Raadt
2011-07-01The pf_headers union may also contain a mld_hdr or nd_neighbor_solicitAlexander Bluhm
struct. List those types explicitly to make sure that the union contains enough memory. Before we were just lucky. ok henning@
2011-06-30ansi, no binary changeJonathan Gray
2011-06-30Refactor some common open/close/detach disk driver code intoMatthew Dempsky
subr_disk.c. For now just the MI disk drivers. ok deraadt@, krw@; jsing@ liked the approach too
2011-06-30finish ansi in uvm. ok ariane ogaTed Unangst
2011-06-30Add DUID support for ext2fs mounts.Joel Sing
Initial diff from and tested by Luca Corti - thanks!
2011-06-30remove compat_35 filesTed Unangst
2011-06-30syncTed Unangst
2011-06-30compat_35 has not been enabled for sometime, time to remove itTed Unangst
2011-06-29Replace all instances of "scsibus* at hba?" with a single "scsibus* atMatthew Dempsky
scsi?" rule, similar to how ethernet PHY drivers attach at mii. Discussed on icb.
2011-06-29mark S8 encoding as emulated; only S16LE and U8 are natively supportedChristian Weisgerber
ok ratchov@
2011-06-29iop(4) is not a SCSI controller, so it shouldn't have the scsiMatthew Dempsky
attribute.
2011-06-29dmesg@ says pss has never been seen in the wild and the manpage says itTed Unangst
doesn't work. goodbye. ok miod
2011-06-29stop printing in apm, acpi doesn't do this. remove APM_NOPRINT option.Ted Unangst
kind of ok deraadt
2011-06-29notyet, notever. delete a bunch of code we won't be using.Ted Unangst
2011-06-29ansi with a little knf. ok deraadt jsgTed Unangst
2011-06-29ansi softdep, ok deraadtTed Unangst
2011-06-29always set sppp auth secret, as other code assumes it.Ted Unangst
confirmed to fix paul stoeber's crash. ok deraadt sthen
2011-06-28Remove the ega driver which is not referenced by any GENERIC kernel.Matthieu Herrb
ok tedu@, "I won't mourn it" miod@, "no objection" oga@, "I won't cry" todd@, "fine, even happy" nick@
2011-06-28change two function defs with () to (void)Ted Unangst
2011-06-28Rename FMARK to FIF_MARK and FDEFER to FIF_DEFER andThordur I. Bjornsson
move those flags to f_iflags; This makes rooms in the flag member of struct file for some goodies matthew@ as planned. ok matthew@, deraadt@.
2011-06-27Unbreak iopool conversion by putting the implicit yet missing importantMiod Vallat
initialization statements. Found the hard way by Sebastiaan Indesteege
2011-06-27If an shared interrupt handler returns -1, continue running other handlers.Theo de Raadt
If it returns 1, skip calling the handlers further down the list. The interrupt pin will remain asserted, and the handler will be called on the next go-around. This makes sparc64 "similar" to other architectures. ok kettenis jsing
2011-06-27When adding interrupt handlers to a chain, install them in priority order.Joel Sing
This results in the higher IPL handlers being run first. ok deraadt@ kettenis@
2011-06-27Mark ARP request broadcasts with M_BCAST in the mbuf flags.Camiel Dobbelaar
Fixes a case in bridge_output() where ARP requests are not broadcast on interfaces without the discovery flag. ok claudio deraadt