summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-15Better product names for the newest Intel cards. Include the productClaudio Jeker
number in the name to simplify identifying the card in dmesg. OK dms
2009-09-15Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec
function, which is additionally exported for use by others. It will be needed by smtpd's SSL module when the SMTP client code is changed to replace libevent's evbuffers with our msgbuf_* API. ok gilles@ henning@ guenther@ eric@
2009-09-15In bgpctl sh nei, display whether a neighbour is set to use passiveStuart Henderson
mode and/or E-BGP multihop. Ok and suggestions from claudio@
2009-09-15Fix a small merge error from august 2003. ok jmc@, jj@.Matthieu Herrb
2009-09-15The default terminal size should be 80x24, not 80x25.Nicholas Marriott
2009-09-15cpu status flag, cpuid added to cpu_info.Takuya ASADA
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added. constraint modifier fixed in lock.h to output correct assembly. calling proc_trampoline_mp in exception.S.
2009-09-14simplify code in preparation for other things. tested by many.Federico G. Schwindt
2009-09-14Deal with the fact that we need to control an external PHY attached to TSEC2Mark Kettenis
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable.
2009-09-14doing numeric lookups without specifying an ai_socktype fails no longer.Claudio Jeker
Update the expected answers accordingly. Found by david, OK fgsch
2009-09-14Switch the various link state printing codes to use the new if_mediaClaudio Jeker
independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
2009-09-14Switch get_linkstate() to use the new LINK_STATE_DESCRIPTIONS insteadClaudio Jeker
of the if_media dance. Simplifies the code nicely. OK henning, sthen, michele, deraadt
2009-09-14Add a way to convert the ifi_link_state to a string without the use ofClaudio Jeker
if_media. This makes link state tracking a lot easier as there is no need to convert if types to if_media types, etc. Additionally this allows us to extend the link states to include states tracked on higher protocol layers. gre(4) keepalives packets, bfd and udld can be implemented without ugly hacks. OK henning, michele, sthen, deraadt
2009-09-14Nuke unused server_client_index function, pointed out by martynas@.Nicholas Marriott
2009-09-14fix typo; ok jmc@Ingo Schwarze
also reported upstream to dhcp dash bugs at isc dot org
2009-09-14don't try to manipulate an invalid node. fixes codec detectionJacob Meuser
problem reported by martynas@. this bug has been there a long time (r1.61), but sloppy RIRB handling was hiding it ...
2009-09-14List Sun Dual Gigabit Ethernet and Dual SCSI/P Adapter.Mark Kettenis
2009-09-14Correctly empty the tty rings in wsdisplaystart() if the display isMiod Vallat
in SCR_GRAPHICS mode; spotted by martynas@
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
with it which became extremely annoying with what mpath wants to do. the major change is a new interface for submitting scsi commands. previously the only way for drivers like sd, cd, st, etc to push commands onto the hardware was via scsi_scsi_cmd(). the problem with scsi_scsi_cmd is that it doesnt tell the caller if the command failed, was queued, or completed unless you shoved a buf down with it. this is important for mpath which wants to know what the physical path to the device did so it can report it back to the midlayer which called it. this provides a new api which lets drivers like cd/sd/st/mpath etc allocate an xs, fill it in, and provide a completion routine which the midlayer will call with the state of the command when it is finished with it. the caller is then responsible for freeing the xs. from the hba side of thing, the return code from the scsi_cmd entrypoint is largely ignored now, and it is now always the responsibility of the hba driver to call scsi_done when it has completed the io, rather than returning COMPLETE and expecting the midlayer to do it for you. i have emulated scsi_scsi_cmd on top of this new api so existing users of it will continue to work. sd(4) has been reworked to use the new api directly to both demonstrate its use and test that the new api actually does work. this diff was mostly written in a day at f2k9. thanks to miod for poking through hba drivers to help mitigate against fallout from the change to the COMPLETE semantic. this has been reviewed by krw who didnt spot anything wrong. thanks to dave del debbio for testing. ok deraadt@
2009-09-13Don't try to check for ECC with fbdimm as the offset exceedsJonathan Gray
the number of bytes currently read into the sm_data array. Problem found by recent version of gcc.
2009-09-13Unchecked copyout() calls cause premature death in furry animals, soMiod Vallat
check their return values in the ATA_S_COMPLETE ioctl handler. dlg@ agrees.
2009-09-13Remove (last) obsolete panic() case.Marcus Glocker
2009-09-13M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly dealKenneth R Westerback
with m_tag_copy_chain() failures. Use m_defrag() to eliminate hand rolled defragging of mbufs and some uses of M_DUP_PKTHDR(). Original diff from thib@, claudio@'s feedback integrated by me. Tests kevlo@ claudio@, "reads ok" blambert@ ok thib@ claudio@, "m_defrag() bits ok" kettenis@
2009-09-13ATI SB700 can be handled in ahci mode like SB600. suggested byMatthieu Herrb
and ok kettenis@
2009-09-13Fix command undo for compression. Fixes artifacts seen in some cases.Marcus Glocker
2009-09-13Make sure we really have pending interrupts such that we don't do anMark Kettenis
out-of-bounds array access later on. ok drahn@, dms@
2009-09-13Move some real noisy operations to a higher debug level.Marcus Glocker
2009-09-13Use function pointers in erasecols and eraserows for framebufferMarcus Glocker
operations, so we do compression in there as well.
2009-09-12Catch up with recent changes to GENERIC.Mark Kettenis
2009-09-12Don't use function pointers at places where we always call the sameMarcus Glocker
function.
2009-09-12Compensate for the fact the the FDT uses a different offset for the registersMark Kettenis
than the hardcoded ones we used before. Replace a few magic numbers with #defines while I'm there. Based on suggestions from dms@.
2009-09-12Initialize global pointer to interrupt controller softc earlier such that weMark Kettenis
don't crash if we unmask a preconfigured interrupt.
2009-09-12Correctly report copyout() failure in SIOCG80211STATS ioctl; ok damien@ jsg@Miod Vallat
2009-09-12Doh, trim variables unused now.Nicholas Marriott
2009-09-12Tidy some common code for destroying sessions into a new function.Nicholas Marriott
2009-09-12Re-sort some functions. Fix comment. No functional changes.Marcus Glocker
2009-09-12Simplify line len checking: use one limit for all SMTP exchanges.Jacek Masiulaniec
This is not as strict as various RFCs want it, but we can make it more granular later. For now, let all mails flow by using the maximum of all limits found in the RFCs. ok gilles@
2009-09-12tmux always outputs \177 for backspace, so explicitly set VERASE to \177 forNicholas Marriott
new windows.
2009-09-12fix a wrong computation in session_readline() where the length of line wasGilles Chehade
deduced from the buffer size prior and after evbuffer_readline() call. the problem is that this accounts for the characters which evbuffer_readline() removed and we do not know how many they were (\n, \r\n ..). fix just does a strlen() call of line which is a bit slower but way safer. This could very well fix the broken headers issue some people reported
2009-09-12cmdlinetoolong stat was incremented at the wrong place, fixGilles Chehade
2009-09-12GPIO quirk for Dell Inspiron 1400Jacob Meuser
2009-09-12- fix a compile time warningGilles Chehade
- add a new stats counter to distinguish between command lines which exceeded the limit and data lines which exceeded the limits
2009-09-12there are machines that have more than one fixed speaker. useJacob Meuser
the one with the lowest association.
2009-09-12move code for getting controller capabilities out of azalia_init()Jacob Meuser
and into it's own function, azalia_get_ctrlr_caps()
2009-09-12replace a fwrite || fwrite construct with a fprintf which achieves the sameGilles Chehade
while being less error prone
2009-09-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-11- adjust usage() to fit in 80 columnsStuart Henderson
- re-order client options in usage() to match server options and the manual, as suggested by jmc. ok jmc@
2009-09-11Don't panic if the command buffer runs full. Instead try to flush it,Marcus Glocker
and continue operation afterwards. If we can't flush immediately, we will undo the operation and return EAGAIN to wsdisplay (like we do already for the xfer queue). This allows us to set higher resolutions (tested up to 1280x1024) without bumping the command buffer or xfer buffer memory further.
2009-09-11bump versionDariusz Swiderski
suggested by maja@, ok by kettenis@
2009-09-11add 'machine fdt' command that dumps device tree if presentDariusz Swiderski
ok by kettenis@
2009-09-11This sample ruleset does not use require-order to mix NAT/rdrStuart Henderson
and filter rules, because we no longer have translation rules. Pointed out by Mitja Muzenic, ok henning@