Commit Graph

158529 Commits

Author SHA1 Message Date
yamt ab54f30196 remove R_GETONEREP. 2007-04-30 23:10:55 +00:00
dsl bfe36c5b04 Add amd64 to the list of ports that support linux emulation.
Note that the emulation root is linux32 when running i386 linux programs
  on an amd64 system.
Note that paths that start /../ are only looked up in the real root.
Modify the bug/note about symlinks not being looked up in the emulation root.
Some of this stuff ought to be in a generic 'emulation' man page.
2007-04-30 21:16:55 +00:00
dsl fe47977a5f Add a note about the way absolute symlinks inside the emulated root are now
handeld.
2007-04-30 20:50:20 +00:00
dsl dd85830e7b Include extra header (vfs_syscalls.h). 2007-04-30 20:20:28 +00:00
dsl e6918d8f47 Remove proc->p_ru and the 'rusage' pool.
I think it existed to cache the numbers in kernel memory of a zombie when
proc->p_stats was part of the 'u' area - so got freed earlier and wouldn't
(easily) be accessible from a separate process.  However since both the
p_ru and p_stats fields are freed at the same time it is no longer needed.
Ride the recent 4.99.19 version change.
2007-04-30 20:11:41 +00:00
tron c021b87a9d Reset error code if an ioctl() request is not handled by the generic
disk framework. This stops ld(4) from returning an error for various
ioctl() requests which actually *did* work. As a result fdisk(8) and
therefore also sysinst(8) work with ld(4) devices once again.

Based on a patch supplied by Todd Kover in PR kern/36244, successfully
tested with ld(4)@icp(4).
2007-04-30 17:23:09 +00:00
dsl 2ad855f76d Remove comment about process stats not always being resident.
They are allocated from a pool and thus permanently resident.
2007-04-30 16:30:56 +00:00
rmind a28550c721 Welcome to NetBSD 4.99.19: Added support for POSIX Asynchronous I/O. 2007-04-30 15:14:13 +00:00
rmind 9c025db4ef Regen syscalls for AIO. 2007-04-30 14:47:32 +00:00
rmind 67d703cf25 Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
2007-04-30 14:44:28 +00:00
dsl 906b9af2a7 Rework compat stat() and statvfs() code so that it no longer uses the stackgap. 2007-04-30 14:05:47 +00:00
tron 04dc8ab30b Bump date because of last change. 2007-04-30 12:33:13 +00:00
tron 962652c0b2 Improve example of restoring a complete filesystem with "restore -r":
- NetBSD's "newfs" doesn't accept a second (non-option) argument.
  Patch provided by Jeff Ito in PR bin/36241.
- Use "sd0" instead of "rp0" because NetBSD's doesnt have a disk driver
  called "rp".
- Use "/dev/rst0" instead of "/dev/rst8". With NetBSD's device numbering
  scheme a system would have to have 9 tape drives to get "/dev/rst8".
2007-04-30 12:32:35 +00:00
yamt 6e3d653f39 fix a lock leak in rev.1.109. pointed by Mindaugas R. 2007-04-30 10:30:51 +00:00
dsl 8932ebd238 Remove some unused calls to stackgap_init() 2007-04-30 09:20:18 +00:00
dsl 0df00dcf55 Split the statvfs functions so that the 'work' is done to a kernel buffer
which can either be copied directly to userspace, or converted then copied.
Saves replicating a lot of code in the compat functions (esp. for
getvfsstat) at a cast of an extra function call in the non-emulated case -
which is unlikely to be measurable given the other costs of the actions
involved (even on vax).
Remove dofhstat() and dofhstatvfs() (and the last caller).
Remove some redundant stackgap_init() calls.
2007-04-30 08:32:14 +00:00
simonb 815c7faa9e Restore $NetBSD$ tag. 2007-04-30 01:26:35 +00:00
macallan a9c87314bd add support for i2c waitstates so we can actually talk to slow slaves
Suggestions and review by simon
2007-04-30 00:07:54 +00:00
bouyer 5b335f0238 Note ICH8 LAN support. 2007-04-29 20:50:19 +00:00
bouyer 632fb43a09 Note ICH8 LAN support. 2007-04-29 20:39:10 +00:00
bouyer 4b495bb053 Add support for ICH8 (i82801H) LAN, from FreeBSD.
Should work on:
i82801H IFE (GT) LAN Controller
i82801H IFE (G) LAN Controller
i82801H (M_AMT) LAN Controller
i82801H (AMT) LAN Controller
i82801H LAN Controller
i82801H (IFE) LAN Controller
i82801H (M) LAN Controller

tested with: Intel i82801H (AMT) LAN Controller, rev. 2
2007-04-29 20:35:21 +00:00
bouyer 56c3c4a3c0 Regen: remove extra "Intel" from previous commit. 2007-04-29 20:35:02 +00:00
bouyer 3f28ce9e00 Remove extra "Intel" from previous commit 2007-04-29 20:33:22 +00:00
bouyer 91dbb3bbf7 Regen: add Intel i82801H IFE G/GT LAN Controller 2007-04-29 20:31:23 +00:00
bouyer a9e36fb20c Add:
Intel i82801H IFE (GT) LAN Controller
Intel i82801H IFE (G) LAN Controller
from FreeBSD
2007-04-29 20:29:53 +00:00
msaitoh 8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
yamt fbee155d25 use mutex and condvar. 2007-04-29 15:31:53 +00:00
yamt 6623a01439 don't forget to destroy mutex and condvar. 2007-04-29 15:30:26 +00:00
yamt f14398066d include condvar.h. pointed by Kurt Schreiner. 2007-04-29 14:58:21 +00:00
yamt bbe5115ad9 use condvar. 2007-04-29 14:56:59 +00:00
yamt aca6764004 use mutex and condver. 2007-04-29 10:30:18 +00:00
pooka c442e78507 Add -p to specify server port if someone should for some reason
happen to run sshd on port, to pick a random number, 443.

Probably should give a way to specify rest of the ssh options.
2007-04-29 10:02:56 +00:00
yamt ac99b69f8d use mutex and condvar. 2007-04-29 08:41:10 +00:00
isaki 174e071c25 Remove obsoleted #undef. 2007-04-29 05:31:00 +00:00
christos 219dcac37d Fix compilation when NIOAPIC == 0 2007-04-28 14:51:58 +00:00
joerg 22ee755a55 Make the beep on resume optional. It gets controlled by
machdep.acpi_beep_on_reset.
2007-04-28 14:03:00 +00:00
isaki e7c552f22e Fix format of the combination of 'F\B\L' and ':\V' in
bitmask_snprintf(9).
2007-04-28 13:11:53 +00:00
mrg 6984ddb165 note that the known broken sparc & sparc64 yamt-idlelwp has been commited 2007-04-28 09:31:46 +00:00
xtraeme 6af752323b It's "Copy a dictionary" not "Copy an dictionary". preempt wiz and
bump date.
2007-04-28 06:01:13 +00:00
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