summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-20- Recognize the 8168C chipset.Brad Smith
- Add some more defines for the 8168C chipset. From NetBSD ok dlg@
2008-04-20Remove redundant checks for the 8139C+ chipset, this code can onlyBrad Smith
be reached if using the 8139C+ chipset. ok dlg@
2008-04-20- Add some more defines.Brad Smith
- Use one of the new defines in the re(4) code to remove a magic number. - Correct a comment. - Fix a typo. Most of this is from NetBSD. ok dlg@
2008-04-20Remove unused flags.Brad Smith
ok dlg@
2008-04-20Don't bother to call rl_rxeof() twice if both the RX Ok and Err bits are set.Brad Smith
Based on the same change to re(4) quite some time ago. ok dlg@
2008-04-20two more i2c probe checks. adt has split off or been sold to ONTheo de Raadt
semi, so now even more data sheets are available at http://www.onsemi.com/PowerSolutions/parametrics.do?id=2127 so if people want to help write drivers...
2008-04-19Change ELF loader to use the LMA as the load address for theTobias Weingartner
various segments. Hopefully this will help remove various hacks in the boot loader in the future. This should have no effect on most architectures (as we tend to have LMA == VMA). ok drahn@, soft ok's various others.
2008-04-19in nfsm_reqh(), only allocate an mbuf cluster if theThordur I. Bjornsson
len exceeds MLEN, not MINCLSIZE; inspired by a similar commit from damien. ok damien@, blambert@
2008-04-19remove build warnings:Charles Longeau
- unused variables - missing return ok espie@
2008-04-19Sort functions and remove obsolete bits.Marcus Glocker
2008-04-19Decrement len variable after removing newline, prevents copying theRay Lai
NUL at the end of a string into the mail. Discovered by dasn. Move newline printing into outer loop, prevents multiple newlines from appearing if there are multiple comments in a line. Discovered by okan. OK okan.
2008-04-19add a driver flag to force the negotiation of SATA 1 transfersDamien Miller
(1.5Gb/s). Useful where faster speeds are unstable; ok dlg@
2008-04-18syncTheo de Raadt
2008-04-18shorten nameTheo de Raadt
2008-04-18remove unneccessary parenthesesDamien Miller
2008-04-18convert select() => poll(), saves a runtime malloc+free per retryDamien Miller
feedback deraadt@ drahn@; ok deraadt@
2008-04-18add filtering on direction; ok mpf@ deraadt@ feedback jmc@Damien Miller
2008-04-18Add VS_INPUT_HEADER descriptor.Marcus Glocker
2008-04-18Fix return value of i_add_match() and remove some bogus APPLE_HYBTodd C. Miller
#ifdefs. Found by ragge@
2008-04-18Properly check memory allocation in client code. While at it, unifiedTobias Stoeckmann
vasprintf() check across OpenCVS code base. Based on a diff by Jacek Masiulaniec. ok (and unification requested by) xsa
2008-04-18Now that i386 has a per-process astpending, we can garbage collect ipi_astMark Kettenis
and do an ipi_nop cross-call from signotify() instead. ok miod@
2008-04-18If memory allocation fails during error message buffering, print all holdTobias Stoeckmann
back messages and exit. ok millert
2008-04-18detect adm1034Theo de Raadt
2008-04-18Halt CPUs upon reboot/halt.Mark Kettenis
ok krw@
2008-04-18adm1033 has a rev register to check as wellTheo de Raadt
2008-04-18if an iic operation fails to move all the data, return errorTheo de Raadt
ok kettenis
2008-04-18tweaks;Jason McIntyre
2008-04-18macro fixage;Jason McIntyre
2008-04-18fix the list width;Jason McIntyre
2008-04-18remove wparekey from the list of 802.11 ifconfig options.Damien Bergamini
pointed out by drahn@
2008-04-18Allow cal to show week numbers. Switch between sunday based week numberingPierre-Yves Ritschard
and ISO 8601 monday based week numbering with overlapping weeks if the -m flag is present. many positive feedback received. ok mbalmer@, jasper@, simon@ input from todd@
2008-04-18Add a function which can identify an USB descriptor explicitly by it'sMarcus Glocker
size, since the UVC spec uses different USB descriptors with the same bDescriptorSubtype ID.
2008-04-18introduce sftp extension methods statvfs@openssh.com andDamien Miller
fstatvfs@openssh.com that implement statvfs(2)-like operations, based on a patch from miklos AT szeredi.hu (bz#1399) also add a "df" command to the sftp client that uses the statvfs@openssh.com to produce a df(1)-like display of filesystem space and inode utilisation ok markus@
2008-04-18extend the if_ethersubr.c crc functions to support updating a runningDamien Miller
crc in addition to the existing "oneshot" mode and use them to replace ieee80211_crc_update() with the new ether_crc32_le_update(). Saves 1k kernel bss + some code. Mark the new ether_crc32_[lb]e_update functions as __pure for a ~25x speedup (on my i386 at least). feedback and ok damien@
2008-04-18use arc4random_uniform() for random number requests that are not aDamien Miller
power of two. use arc4random_bytes() when requesting more than a word of PRNG output. ok deraadt@
2008-04-18syncTheo de Raadt
2008-04-18install itTheo de Raadt
2008-04-18Add two cams.Marcus Glocker
2008-04-18correct sizeof; palmeidaTheo de Raadt
2008-04-17attach FTDI 2232LFelix Kronlage
2008-04-17Add missing monitor mode capabilities flag.Brad Smith
ok damien@
2008-04-17Really try to schedule clock ticks at fixed intervals. Make sure hardclock()Mark Kettenis
gets called for every clock tick, even if we miss one.
2008-04-17Teach security(8) to check for world-readable hostname.if files.Stuart Henderson
An increasing number of types of these files (e.g. ppp, carp and wlan adapters) may contain secrets. ok deraadt oga johan
2008-04-17save some space by making use of the WEP CRC table from net80211Damien Bergamini
and use the ieee80211_crc_update() function too. not tested as I do not have a wi(4) but I see no reason why it would not work. "Just be brave" deraadt@
2008-04-17before using them, force hostname.* files to be unreadable by worldTheo de Raadt
first version from todd, ok millert
2008-04-17make it more apparent that when we are dealing with 16 bit registersTheo de Raadt
(not a series of 8 bit registers), the bytes come off the wire in big-endian order
2008-04-17do not blindly call ieee80211_get_hdrlen() in rt2860_rx_intr().Damien Bergamini
we may end up passing control frames (ps-poll or others) which is not supported by ieee80211_get_hdrlen(). first found by pedro la peu, reminded by jsg@ closes kernel/5750
2008-04-17call ieee80211_crc_init() only once, when the first 802.11 deviceDamien Bergamini
attaches instead of at every attach. discussed with deraadt@
2008-04-17use sizeof(thing) instead of hard-coding itTheo de Raadt
2008-04-17use sizeof(thing) instead of hard-coding itTheo de Raadt