summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-05abort any time adjustment in progress if the clock is set with settimeofdayChris Kuethe
ok millert
2009-06-05Revert the curpmap change. We know the IPI is broken on both ends,Philip Guenthe
but even with proposed fixes, the reaper panics are back.
2009-06-05use the right accounting for bound edges (i think)Theo de Raadt
2009-06-05enable IPv6 receive TCP/UDP checksum offload; from BradChristian Weisgerber
2009-06-05Disable and clear hardware cursor to clean up after X.Mark Kettenis
2009-06-05Sanity check: we overrun the rnd_ed[] array if nbits is 32, but thatPhilip Guenthe
should be impossible given the multi-order delta logic ok deraadt@
2009-06-05Update to Reinoud Zandijk's much more current version of ecma167-udf.hKenneth R Westerback
and make textual tweaks to .c files to keep them compiling. From NetBSD. No changes to .o's at this point.
2009-06-05Save some state and restore it after we return from X, because the acceleratedMark Kettenis
X driver for this chip doesn't know how to clean up after itself.
2009-06-05Dynamic buffer cache sizing.Bob Beck
This commit won't change the default behaviour of the system unless the buffer cache size is increased with sysctl kern.bufcachepercent. By default our buffer cache is 10% of memory, which with this commit is now treated as a low water mark. If the buffer cache size is increased, the new size is treated as a high water mark and the buffer cache is permitted to grow to that percentage of memory. If the page daemon is invoked, the page daemon will ask the buffer cache to relenquish pages. if the buffer cache has more than the low water mark it will relenquish pages allowing them to be consumed by uvm. after a short period the buffer cache will attempt to re-grow back to the high water mark. This permits the use of a large buffer cache without penalizing the available memory for other purposes. Above the low water mark the buffer cache remains entirely subservient to the page daemon, so if uvm requires pages, the buffer cache will abandon them. ok art@ thib@ oga@
2009-06-05%zu is not meant for size_t in the kernel. Change to %lu.Ray Lai
OK miod
2009-06-05EPERM from VOP_ACCESS() is always an error, so don't hide it.Thordur I. Bjornsson
Diff from FreeBSD. OK blambert@
2009-06-05Add missing #ifdef INET6 ... #endifAlexander Hall
Makes non-IPv6 kernels build again blame and ok henning@
2009-06-05this one tooMartynas Venckus
2009-06-05reduce diff i will send in a minuteMartynas Venckus
2009-06-05Clamp the ending bound to the size of the disk. This makes disklabel -ATheo de Raadt
still do the right thing if the MBR has a lie in it
2009-06-05The names for p_flags bits had fallen out of datePhilip Guenthe
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
alternate routing table and separate them from other interfaces in distinct routing tables. The same network can now be used in any doamin at the same time without causing conflicts. This diff is mostly mechanical and adds the necessary rdomain checks accross net and netinet. L2 and IPv4 are mostly covered still missing pf and IPv6. input and tested by jsg@, phessler@ and reyk@. "put it in" deraadt@
2009-06-04Change i386 ACPI sleep to KASSERT if the pmap can't be activatedMike Larkin
properly. Now i386 and amd64 implementations match. ok art
2009-06-04- factor out rf into its own structureMartynas Venckus
- clean up the softc a bit - remove unused SET_CHANNEL - init set sens
2009-06-04Ensure we are sleeping from the kernel. Code changed to match i386.Mike Larkin
ok art
2009-06-04remove variable left behind by thibTheo de Raadt
2009-06-04Make backtraces through interrupts work.Mark Kettenis
2009-06-04switch to a bnx style dynamic pool backed tx so we don'tJonathan Gray
have to allocate everything up front. Requested by reyk@, 'I'm fine with it' dlg@, 'commit it' deraadt@
2009-06-04fix minor tab alignmentCharles Longeau
ok jj@
2009-06-04More fallback from struct disklabel changes, yawnMiod Vallat
2009-06-04- 8187 uses different anaparam valuesMartynas Venckus
- use function pointer we've saved; that'll make things easier for 8187b.
2009-06-04Fix fallback from struct disklabel changes.Miod Vallat
2009-06-04obvious shrinkage.Owain Ainsworth
ok krw@, miod@.
2009-06-04detect & print the revision (rev. d, b) of rtl8187l chip using theMartynas Venckus
tx_conf register. if you get "not supported" in your dmesg; it's actually an (early) rtl8187b that's using rtl8187l id; so you should test the diff on tech@. otherwise; rtl8187b devices not matched yet.
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-04tiny tiny space nitThordur I. Bjornsson
2009-06-04- prepare for multiple revisions; urtw_lookup stuffMartynas Venckus
- fix some comments - remove var from a declaration; for consistency
2009-06-04- make comments understandable by lintMartynas Venckus
- reduce diff a bit
2009-06-04difs&eifs are 8187 regsMartynas Venckus
2009-06-04merge some individual SIS_SETBIT (done for natsemi chips only)Stuart Henderson
into sis_iff_ns() (called only for natsemi). from Brad.
2009-06-04- KNFMartynas Venckus
- nitemize
2009-06-04- update io functions to support indexMartynas Venckus
- add index macros
2009-06-04Remove support for non-ELF; it never existed for amd64.Mark Kettenis
2009-06-04- fix some commentsMartynas Venckus
- remove some unused fields from softc - spacing
2009-06-04spacingMartynas Venckus
2009-06-04instead of having some 'generic' data str. with "NB: don't use itMartynas Venckus
for tx" for some fields, and functions trying to do everything; split it into rx_data & tx_data. this way it's less error-prone. i've actually fixed a bug doing this. "please start comitting this stuff" jsg@
2009-06-04typo; init -> in itBret Lambert
ok thib@
2009-06-04add $OpenBSD$ tagThordur I. Bjornsson
2009-06-04trying to split some parts;Martynas Venckus
- tx_start never actually free'd mbufs; oops report/test/ok jsg@
2009-06-04allow IPvShit to be turned off completely per-interface.Henning Brauer
ifconfig em0 -inet6 deletes all v6 addresses including link-local and prevents new ones from being added. ifconfig em0 inet6 <addr> re-enables v6, brings the link local back and adds optional <addr> ok theo reyk
2009-06-04regenDamien Bergamini
2009-06-04the Sitecom WL-608 is a run(4) (although it is not 80.11n capable).Damien Bergamini
it has an RT2070 MAC/BB which is a (cheap) single-chip 802.11g solution. USB ID provided by Michael Kiesel.
2009-06-04the following:Bret Lambert
error = foo(); if (!error) bar(); is an alien construct; replace with one from this planet ok thib@
2009-06-04POOL_DEBUG and DIAGNOSTIC should be better friendsTheo de Raadt
2009-06-04Move code that logically belongs together to be together.Bret Lambert
ok thib@