summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-02Allow the kernel to compile with IEEE80211_DEBUG.Federico G. Schwindt
deraadt@ ok.
2011-03-02zap trailing whitespace;Jason McIntyre
2011-03-02grammar fix: from David H. Gutteridge, netbsd pr bin/44645Jason McIntyre
2011-03-02netbsd -r1.75: Fix argument for EL_EDITOR; from Jess ThrysoeeJason McIntyre
ok nicm
2011-03-02no need for a separate NOTES section; ok henningJason McIntyre
2011-03-02- change recieved -> received in comments, as well as two unused definesJasper Lievisse Adriaanse
in pxe.h. ok deraadt@ sthen@
2011-03-02- use a common FIELD_ADDR macro, instead of rolling 78 identical copies.Jasper Lievisse Adriaanse
ok canacar@
2011-03-02fix typo; spotted by Peter J. PhilippTheo de Raadt
2011-03-02Every time the user updates the bounds of the OpenBSD area of the disk, ↵Kenneth R Westerback
either explicitly or implicitly, update the start and end sector of the OpenBSD area in the disklabel with DL_SEBEND/DL_SETBSTART. Otherwise the new bounds would not be saved to disk. ok miod@ deraadt@
2011-03-02Sync ASC/ASCQ errors with www.t10.org/lists/asc-num.txt of 11/15/10.Kenneth R Westerback
Prompted by dlg@'s tape library trying to report a failure to thread a media (0x53, 0x04).
2011-03-02spelling error in comment; from bradTheo de Raadt
2011-03-02enable POOL_DEBUG again since we are not in releaseTheo de Raadt
2011-03-02we are now hacking on 4.9-currentTheo de Raadt
2011-03-01back out r1.162, the one that bumps openings up on sas and fcDavid Gwynne
devices. my theory is that some devices report queue full conditions in ways the firmware doesnt understand, or some firmwares default to NOT doing the queue full handling internally. either way it reports queue full conditions as faulted io which gets passed up to the block layer as errors. this makes us conservative again and safe. this fixes panics from ajacout ok sthen@ deraadt@
2011-03-01add missing word; Jeff RossTheo de Raadt
2011-03-01Introduce a dummy function in the SMALL case to digest arguments likeClaudio Jeker
"rdomain", "description", etc. so that the ifconfig on ramdisk is able to parse hostname.if files on updates. OK deraadt@
2011-02-28When the maximum splice length has been reached, send out the dataAlexander Bluhm
immediately by unsetting the SS_ISSENDING flag. This prevents a possible 5 seconds delay in socket splicing. ok markus@; commit it deraadt@
2011-02-28fix a buffer overflow in the pppoe receive packet handling.David Gwynne
diff from yasuoka@ ok deraadt@
2011-02-28switch open(...) to opendev(...)Alexander Hall
makes yet another utility honor DUID's ok jsing@ miod@ deraadt@
2011-02-28If 'check script' doesn't exit(), treat the service as 'down' ratherStuart Henderson
than 'unknown'. Fixes a problem where the script is killed due to expiry of the interval timer. ok pyr@ deraadt@
2011-02-26Force the DUID cache used to generate hw.disknames to be updatedKenneth R Westerback
after every disklabel read or write. This keeps the DUID cache more in sync with the physical world. De-syncing noted by drahn@ while zapping disklabels with dd. ok jsing@ deraadt@
2011-02-25Silence a bit of error output when no ftplist can be downloaded.Kenneth R Westerback
Silence is golden. Problem seen and fix tested by guenther@. ok guenther@ halex@
2011-02-24we want to look up the device attached to a raid volume by its address onDavid Gwynne
the bus, not which bioctl volume id it is. ok mikeb@ krw@ miod@
2011-02-24Update notes about PCI framebuffers.Mark Kettenis
ok miod@
2011-02-24SOCK_SEQPACKET is only valid for the AF_BLUETOOTH now, andMike Belopuhov
SOCK_RDM is a dead SysV compatibility option that is not described anywhere in the man page so don't reference it. ok claudio
2011-02-24There is no evidence Sun ever sold rebranded Tech Source GFX-4M/8M boards.Mark Kettenis
2011-02-24Remove daemon_shell and force the use of /bin/sh for the su(1) call.Antoine Jacoutot
ok robert@ espie@ miod@
2011-02-24Fix several documentation bugs (including a typo fix from schwarze@).Antoine Jacoutot
Missing documentation about the naming policy for rc scripts. Document rcexec. Remove daemon_shell, it's proved useless at best and can introduce issues we don't want to deal with. prodded by, discussed with and ok espie@ ok robert@ miod@
2011-02-24Don't use address and control field on PPPoE, they must not be used asYASUOKA Masahiko
the protocol.
2011-02-24Prevent the nd6_addr_add() work queue task from adding multiple addressesStefan Sperling
for the same prefix. Tested by giovanni@, steven@, Dennis den Brok. ok dlg miod claudio
2011-02-23fixup source address rewriting for the icmp errors with the rdr-to setup.Mike Belopuhov
problem was reported by babut at yandex dot ru in the pr 6564, tested by the pr originator and me, ok henning mcbride. shaves off a bunch of XXXs.
2011-02-22Mark descriptors as invalid *before* unmapping the associated mbuf.Mark Kettenis
Might prevent the unrecoverable DMA error mentioned in PR 6557. ok damien@
2011-02-22Disable PCIe Active State Power Management (ASPM) to avoid bge(4) randomlyRobert Nagy
detaching from the bus on some of the machines. tested by many, ok miod@
2011-02-22In drm_modeset_ctl make sure to check the (now signed) value is > 0 asOwain Ainsworth
well as < the array length. ok kettenis@, mikeb@ (who suggested the same fix) and marco@. "get that fixed" deraadt@.
2011-02-22ami figures out the names of the enclosure attached to it by snoopingDavid Gwynne
commands on the passthru busses after the kernel becomes !cold. however, if the enclosure doesnt have any sensors then we dont issue regular commands to it, so ami cant see what its name is. this moves the name fetch from the passthru io path to a walk of all the devices on the bus just after they were attached. problem reported and fix tested by henning@ ok miod@
2011-02-22run makewhatis -vMarc Espie
okay miod@
2011-02-22shut up unless -v, and a few minor enhancements.Marc Espie
okay miod@
2011-02-21If a spin up command can't be started becaause of a lack of openings,Kenneth R Westerback
delay and retry the original command rather than immediately erroring out. Fixes USB drives that spin themselves down due to inactivity, as confirmed by pirofti@ and jsg@. ok miod@, rough agreement pending more general solution dlg@.
2011-02-21call setusercontext(3) before chroot. ok miod@ sthen@Jakob Schlyter
2011-02-21Fix stats about node allocation failures.Stefan Sperling
ok damien; committing with miod's permission (src is soft-locked)
2011-02-21When bridging multicast frames in hostap mode, make a deep copy of the mbufStefan Sperling
instead of a shallow copy to avoid problems if the mbuf is modified later (e.g. if the frame is encrypted). From FreeBSD. http://marc.info/?l=freebsd-current&m=114168135819304&w=2 http://svn.freebsd.org/viewvc/base?view=revision&revision=156367 ok damien; committing with miod's permission (src is soft-locked)
2011-02-21Make mos(4) set IFF_BROADCAST in if_flags.Stefan Sperling
ok jsg kevlo claudio; committing with miod's permission (src is soft-locked)
2011-02-21Honour MBR_read() results and don't pretend we can parse blocks weKenneth R Westerback
did not successfully read. Tweak some casts. Fixes infinite loop problem noted by jeremy@ while installing on boxen with 'random' garbage in MBR. General loop detection may follow post-4.9. Tested by jeremy@ and ok miod@
2011-02-21usage: mt [-f device] command [count]David Gwynne
most of the work and bug fixes were done by mikeb@, i put it in ioctl form. ok mikeb@ and miod@ tested by me an earlier revision was tested by Łukasz Czarniecki who also reported the problem in the first place.
2011-02-21Remove redundant statement to keep this in line with radeonfb(4).Mark Kettenis
ok miod@
2011-02-21Re-initialize acceleration engine after leaving X.Mark Kettenis
ok miod@
2011-02-19Only attach if the "device_type" propery is "programmer-button". On the iMacMark Kettenis
G5 (PowerMac8,2) attaching pgs(4) makes the machine hang. This machine has the "device_type" property set to "gpio" attaching pgs(4), which is that case for newer machines that don't seem to have a real button anyway. ok miod@, jasper@
2011-02-19If the user screws up adding a partition, don't keep partial bitsKenneth R Westerback
of the partition info around to confuse disklabel, newfs, fsck, etc. From Pedro Martelletto. ok miod@
2011-02-19Fix previous ``fix'' - since the hw.model sysctl does not return a numberMiod Vallat
after all, we need to use a regular [[ ]] construct instead of (( )).
2011-02-18alc_newbuf is always called from the interrupt context so it can't sleep;Mike Belopuhov
tested by Gabriel Linder, ok kevlo, miod