Commit Graph

158540 Commits

Author SHA1 Message Date
christos
cedd1a800a PR/36229: Geoff Wing: uninitialized dkwedge_info structure in mount_mfs
causes random failures
2007-04-28 02:56:32 +00:00
dogcow
7d60d09883 and unbork some more changes. 2007-04-28 00:03:37 +00:00
dogcow
b4fa94e8ef fix unused variable fallout b0rkenness 2007-04-27 23:53:15 +00:00
bouyer
1e1bf73d65 IOCTL_PRIVCMD_MMAPBATCH: mimic linux behavior and return no error
even if a pmap_enter_ma() (the underlying hypercall, really) returns one.
The fact that the mapping failed is notified to the called by oring
0xF0000000 to the mfn.  This makes Xen 3.0.4 HVM work.
2007-04-27 22:10:39 +00:00
mlelstv
0de32b854f Fall back to kvm interface for protocols that do not yet
offer a sysctl interface. Fixes PR bin/36210.
2007-04-27 18:37:53 +00:00
is
1c9f73a029 First part of Code for SigmaTels not-quite-UIRDA dongles.
I missed the USB stack rework, so more work needs to be done to
connect them to uirda.c and the USB subsystem.
2007-04-27 14:42:49 +00:00
jnemeth
7456457055 Add a define for caddr_t to ip_compat.h and revert most of the
special cases for it.  This is to simplify the code to prepare it
for pullup to netbsd-4 and submitting back upstream.  The change
was requested by martin@.
2007-04-27 10:17:15 +00:00
thorpej
834ac9fdd7 Update thorpej-atomic. 2007-04-27 06:33:04 +00:00
matt
e7fb6f9eb5 Count tx/rx intrs.
Don't set OW in the first transmit descriptor until all descriptors have
been set up.  Always try to drain the transmit ring.
2007-04-26 23:08:22 +00:00
agc
d4e50471e9 Add fusermount and its manual pages into the sets lists. 2007-04-26 21:22:04 +00:00
dsl
e9a2689558 Since ktrace/systrace can sleep, move the VREF(dp) to before them. 2007-04-26 21:21:44 +00:00
agc
dac395ade7 Descend into fusermount if MKPUFFS is defined 2007-04-26 21:14:46 +00:00
agc
460f24ec7b Add an fusermount(8) utility, mainly for compatibility with some FUSE
file systems.
2007-04-26 21:13:39 +00:00
dsl
41bef1b523 Be a little less over-zelous about converting ".." at the emulation root
to the real root.  Rather that do the check inside lookup() - where it
applies to to every ".." in a pathname, explicitly check the start of
the caller-supplied buffers and any absolute symbolic links.
Note that in the latter case the re-search from the real root is supressed.
Should fix PR kern/36225
2007-04-26 20:58:37 +00:00
dsl
9f6d43522e Pass the emulation root string into namei() from emul_find_interp() so that
the ktrace entries for lookups done during exec can have the full filename.
This is rather a hack :-)
2007-04-26 20:06:55 +00:00
garbled
3dc01edf82 Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.
2007-04-26 19:47:03 +00:00
garbled
ca2a9952ca Add slide to INSTALL and remove SLIDE irq hack. It turns out to not do
anything after all.
2007-04-26 19:44:02 +00:00
skrll
548803dea8 Fix some comments. 2007-04-26 19:43:21 +00:00
garbled
1d37c1ae36 Rather than use the residual data to guess that we have a raven pchb,
note the raven pchb in device_register, and then look that up when
attaching the pcib.
2007-04-26 19:27:04 +00:00
pavel
e1cce84524 Add myself to releng. 2007-04-26 19:10:14 +00:00
christos
7731d9378a PR/36223: Milos Negovanovic: Don't ask if we want to install mbr_bootselect
with -f.
2007-04-26 18:51:00 +00:00
garbled
5ab2832938 Add special code to properly detect a W83C553 pcib sitting on a RAVEN
based machine.  When we do, we have to frob a few special bits on the
pcib to finish the setup that the prom didn't bother completing for us.
With this change, NetBSD finally runs on the MTX604 board.. Many thanks
to John Baker for providing remote access to the machine, and rebooting
it repeatedly for me.
2007-04-26 17:39:54 +00:00
dyoung
5dc959f7f3 Add back MI evbsh5 files, but mark them 'obsolete'. 2007-04-26 17:22:19 +00:00
dyoung
8e702cd95d Add ATADEBUG to ease debugging. 2007-04-26 17:21:18 +00:00
dyoung
1348389da4 Add ATADEBUG for ease of debugging. 2007-04-26 17:11:35 +00:00
dsl
7a81c4d42e Move the ktrace (and systrace) in namei() inside the retry loop for
emulation lookups.
If doing a lookup relative to the emulation root, prepend the emulation root
to the traced filename.
While here pass the filename length through to the ktrace code since namei()
knows the length and ktr_namei() would have to call strlen().
Note: that if namei() is being called during execve processing, the emulation
root name isn't available and "/emul/???" is used.  Also namei() has to use
strlen() to get the lenght on the emulatoon root - even though it is a
compile-time constant string.
2007-04-26 16:27:32 +00:00
seanb
0c835d6548 - Receive sequence counter is little endian on the wire.
Convert to host order before passing to net80211.
- Code inspection: sam
2007-04-26 16:25:56 +00:00
njoly
e703aa9569 Save the translated error value from Native to Linux, used by tracing
functions.

Reviewed by manu.
2007-04-26 12:54:17 +00:00
thorpej
71d1bb49c8 Update thorpej-atomic status. 2007-04-26 05:51:21 +00:00
joerg
18436a60ed Fix a NULL reference on failing mbuf allocation.
In bge_start return if IFF_OACTIVE is set in combination with
IFF_RUNNING, drop obscure check for length of interface queue.
Remove message about failing bge_encap, it can happen just too easily
because of full descriptor rings.
2007-04-25 21:12:48 +00:00
dogcow
9403f9f12f make coda compile again. 2007-04-25 20:45:02 +00:00
dsl
47799dd2af Move the place where we convert the return value of emulation lookups that
would return the emulation-root to the real root to the main exit path.
Means that lookups of both "/" and "/." get converted from "/emul/xxx" to "/".
2007-04-25 20:41:42 +00:00
dyoung
60ead1a452 Back out last. To compile, it depends on changes that I am not
ready to commit, yet.
2007-04-25 20:40:20 +00:00
matt
3af169362e Make this compile again (after stackgap removal) 2007-04-25 12:54:26 +00:00
matt
bb1c05a804 Make this compile again if COMPAT_ULTRIX is enabled. 2007-04-25 12:53:46 +00:00
manu
f4aafa3084 Fix build 2007-04-25 03:12:56 +00:00
dyoung
e82cadce1c Remove unused member 'm6_route' from struct mif6. 2007-04-25 01:12:46 +00:00
dyoung
4f86563948 Constify. 2007-04-25 00:24:05 +00:00
dyoung
d43d3ae5b8 Get rid of some gratuitous casts and join some lines. 2007-04-25 00:11:18 +00:00
dyoung
2fe02c923a Constify. 2007-04-24 23:43:50 +00:00
perseant
6a87e08daa Get rid of our own private copy of genfs_putpages, having adapted the real
genfs_putpages to suit our purposes.
2007-04-24 22:47:56 +00:00
perseant
0569cad0fd Split the VOP interface part of genfs_putpages() from the code. The new
function that does the work, genfs_do_putpages(), now takes as an argument
a pointer to the page that would be waited on, if PGO_BUSYWAIT were not set.
This allows a consumer, e.g. lfs_putpages(), to perform an action outside
the scope of UVM before sleeping on the page in question.
2007-04-24 22:46:03 +00:00
pooka
65b2578e0c allow to mount nullfs types only from directories
TODO: generalize
2007-04-24 21:38:32 +00:00
pooka
b474c785b7 If ubc style write fails, do not extend the file by zero-padding
it.  It might be that the file server is either crashing or just
returning consistent errors.  uiomove() would handle the error,
but if the pages weren't faulted in, memset() to the unfaultable
ubc window would cause a kernel page fault.
2007-04-24 16:29:29 +00:00
tnozaki
6a1c27dd91 fix typo. 2007-04-24 15:42:08 +00:00
pooka
c25fa1208b remember to flag park as done when we're done with it 2007-04-24 09:44:57 +00:00
dsl
461647c21e Update using no pecoff specific system call code. 2007-04-23 21:23:13 +00:00
dsl
ad5f09d13c Having removed all the CHECK_ALT_XXX() none of these syscall functions
do anything except call a standard function.  Nuke them all.
2007-04-23 21:22:29 +00:00
pooka
c65d708ad2 adjust misleading comment: PGO_SYNCIO does not depend on PGO_CLEANIT 2007-04-23 20:10:50 +00:00
christos
135e711f26 bump date. 2007-04-23 18:41:11 +00:00