summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-26explicitly print an empty value between two end_line() calls to preventCan Erkin Acar
garbage from being printed at certain window sizes. Noticed by deraadt@
2009-06-26Using information gleamed from the FreeBSD driver, change the MAC addressTheo de Raadt
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards can work in the expresscard adaptor, as pci devices. ok jsg
2009-06-26Status line fixes: don't truncate status-right now the length calculation isNicholas Marriott
done for UTF-8, limit to the maximum length correctly when printing, and always print a space even if the left string is longer than the width available.
2009-06-26Overhaul sr_boot_assembly(). The original code had a number of problems,Joel Sing
including a "chunk id already in use" bug that occurred when assembling more than one volume at boot. Volumes are now kept in order, as are the chunks which they are assembled from. Duplicated chunk IDs are now handled appropriately, with the chunk that has the most recent ondisk metadata being used. Also tested by nicm@ who got bitten by the "chunk id already in use" bug. ok marco@
2009-06-26Support the ICH10 variants of em(4). All the work done by Dariusz SwiderskiClaudio Jeker
with help from Brad. OK deraadt@
2009-06-26since nitems() is not yet fit for userland consumption, provide itTheo de Raadt
ourselves ok krw
2009-06-26use standard safe CTheo de Raadt
2009-06-26locally define nitems() macro, #ifndef'd.Okan Demirmen
"please commit" gilles@ jacekm@
2009-06-26Also #ifndef nitems here, caught by Thomas Jeunet.Nicholas Marriott
2009-06-26the pr_usrreq implementation for routing sockets shares exactly one lineBret Lambert
of code between cases, so stop pretending otherwise, and move the if() dance to a switch, as is done in every other pr_usrreq I'm aware of. ok claudio@ michele@
2009-06-26There is no need to log routing socket version mismatches.Claudio Jeker
OK henning@, sthen@
2009-06-26More consistent RTM_VERSION checking. A few missing one was in the wrongClaudio Jeker
spot. OK henning@, sthen@
2009-06-26Another daemon needing RTM_VERSION checks. Why rwhod is doing all the hardClaudio Jeker
work instead of using getifaddrs() and working on this much simpler structure is beyond my immagination. Looked over by henning@ and sthen@
2009-06-26check that dumpdef still works after undefining macros, and not dumps core.Marc Espie
problem found by Philip Guenther.
2009-06-26- include two missing headers in if.cJasper Lievisse Adriaanse
- add missing parenthesis in nfs.c ok canacar@
2009-06-26the correct *.ipk file has ${OSrev} in itTheo de Raadt
2009-06-26regenKevin Lo
2009-06-26add the VIA VX855 chipsetKevin Lo
ok deraadt@
2009-06-26the 'inputs.usingdac' mixer item was used to select which group ofJacob Meuser
DACs to use. for several months, there have been at most two groups, the first being all usable analog DACs and the second being all usable digital DACs. so 'inputs.usingdac' essentially was used to switch between analog and digital modes. this was entirely unclear to most users because the DACs were listed by their NIDs, which means nothing unless you know how azalia(4) internals works. rename 'inputs.usingdac' to 'outputs.mode', and replace the lists of DAC NIDs with 'analog' and 'digital'. similarly for recording, change 'record.usingadc' to 'record.mode', and replace the lists of ADC NIDs with 'analog' and 'digital'.
2009-06-26if a codec has multiple line out jacks, and the codec says allJacob Meuser
the line out jack have different colors, use the colors in the line out mixer item names.
2009-06-26If two or more children exit before hotplugd is scheduled only one SIGCHLDKurt Miller
will be delivered, so deal with this case in the SIGCHLD handler. Also retry if waitpid() fails with EINTR. looks good deraadt@ millert@
2009-06-25do not use nitems(); ok claudioTheo de Raadt
2009-06-25Remove some dead assignments, found by sthen with clang.Nicholas Marriott
2009-06-25#ifndef nitems to avoid redefining it if it is already in a header.Nicholas Marriott
2009-06-25the rule is not to use nitems() in userland yetTheo de Raadt
2009-06-25sync the SENSOR_DRIVE_* names with sysctl(8)'sOkan Demirmen
ok canacar@
2009-06-25use the nitems() macro where appropriateOkan Demirmen
ok canacar@
2009-06-25sasyncd isn't interested in messages on the routing socket other thanStuart Henderson
RTM_IFINFO to monitor the state of carp(4) interfaces; programme the filter on the socket accordingly so it doesn't have to handle other message types. ok henning@
2009-06-25fix the function name in log_warn() text, it was borrowed from someStuart Henderson
previous test code of mine.
2009-06-25Another kroute.c needing RTM_VERSION checks. Looked over by sthen@ and henning@Claudio Jeker
2009-06-25Back out if_ix.c 1.16, 1.17 and 1.18 (and corresponding changes to toTheo de Raadt
if_ix.h) since it corrupts packets or the checksum flags or something upwards and breaks nfs. The 1.16 MCLGETI change does not cause this but has a double free on reboot, and the 1.18 fixes that double free but introduces the packet corruption.
2009-06-25At least try to check for the RTM_VERSION here even so part of this codeClaudio Jeker
escaped from a horror story and robs you're sanity. This needs major cleanup. OK sthen@, OK henning@
2009-06-25Another kroute.c code with missing RTM_VERSION checks.Claudio Jeker
OK sthen@, henning@
2009-06-25Add missing RTM_VERSION checks. Bad me, no cockies.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Check RTM_VERSION even on sysctl data.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25backout the buf_acquire() does the bremfree() since all callersThordur I. Bjornsson
where doing bremfree() befure calling buf_acquire(). This is causing us headache pinning down a bug that showed up when deraadt@ too cvs to current, and will have to be done anyway as a preperation for backouts. OK deraadt@
2009-06-25Another copy another missing RTM_VERSION check.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Another copy of the strange while loop seen in route(8). Add missingClaudio Jeker
RTM_VERSION check. Tested and OK sthen@, OK henning@
2009-06-25Same code as in route(8) same RTM_VERSION check missing.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Add a missing RTM_VERSION check.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Add missing RTM_VERSION check. This is needed before accessing other dataClaudio Jeker
from routing messages retrieved via routing socket or sysctl. Tested and OK sthen@, OK henning@
2009-06-25typo;Jason McIntyre
2009-06-25re-enable inteldrm since new X driver is about to fix the issueTheo de Raadt
2009-06-25incorrect .PATH setting, discovered with nicmTheo de Raadt
2009-06-25fxp no longer fits on this mediaTheo de Raadt
2009-06-25Document how to add static MPLS labels.Michele Marchetto
input jmc@, ok claudio@
2009-06-25Change safe_rng_read() from __inline to static __inline likeJonathan Gray
the original FreeBSD code for consistent behaviour between c89/c99 compilers.
2009-06-25Teach ifstated to use ROUTE_FILTER. Requested by claudio@.Stuart Henderson
ok claudio@ henning@
2009-06-25scrub_flags is a u_int8_t, but PFSTATE_SCRUB_TCP is 0x0100, so theStuart Henderson
"reassemble tcp" state option failed to work correctly. Increasing this to u_int16_t fixes kernel/6178. ok deraadt@ henning@
2009-06-25Use the pane flags not the window flags. Doh.Nicholas Marriott