141809 Commits

Author SHA1 Message Date
yamt
238236815c fix lock/unlock mismatch in rev.1.115.
reported by Chris Tribo on current-users@.
2005-12-15 02:23:38 +00:00
reinoud
1a9677836e Stub to pmap.c to avoid unhandled enumeration value error. Its only used
for printing purposes.

Will be modified later when UDF is finally committed after review.
Comitting has been put on halt due to dispute over a patch.
2005-12-15 01:53:30 +00:00
briggs
c9d34b2987 Add an offset to the I/O port translations. This allows IQ80321
and others to avoid providing PCI I/O space at address 0.
Iyonix, however, needs to provide PCI I/O space at 0.
The others require I/O space to be offset in part due to a bug
work-around in wm(4) which requires that I/O space access be used
to reset the controllers.  If I/O space is mapped at zero, the card
claims, but ignores, the transactions, and the controller doesn't
get reset properly and can't then be used.
2005-12-15 01:44:00 +00:00
rpaulo
9c3930a81d Descend into net/. 2005-12-14 23:56:45 +00:00
rpaulo
5233f18e7f Add a simple program to test bpf ioctls. A more comprehensive test for
bpf filters will follow up shortly.
2005-12-14 23:55:02 +00:00
rpaulo
bcc8ea407a Remove BIOC[GS]RSIG and fix BIOC[GS]HDRCMPLT typo. 2005-12-14 22:50:07 +00:00
rpaulo
08ac963d6f Correct typo in comments. 2005-12-14 22:46:52 +00:00
reinoud
40d49ffb71 Add partition type names & number, label-name, and mount program for
filesystem UDF.
2005-12-14 22:02:01 +00:00
reinoud
53571a9ffb Add UDF filesystem type. 2005-12-14 21:58:39 +00:00
reinoud
660b0d120f Add entry for in enum vtagtype and VNODE_TAGS for UDF vnodes. 2005-12-14 21:57:11 +00:00
reinoud
cdfee8349d Allow SCIOCCOMMAND ioctl that executes a SCSI command to also be issued
within the kernel when the FKIOCTL flag is passed to the ioctl.

No code actually uses this yet but is committed for completion.
2005-12-14 21:55:47 +00:00
dsl
ae10740c03 Revert previous change.
It breaks the code that generates a default label (with partition 'a'
covering the entire volume - which is what everything expects) for disks that
don't have a NetBSD label nor an MBR, but do have a single filesytem covering
the entire volume.
2005-12-14 21:40:32 +00:00
rpaulo
43bb9c133c Fix previous commit: ABS, IND and MSH are valid codes. 2005-12-14 20:33:46 +00:00
bouyer
fc1d07dd69 Only VNDIOCSET needs a valid process context, so don't blindly
dereference l, test it l is NULL first.
Fix exporting a vnd device to a XENU domain.
2005-12-14 19:49:16 +00:00
christos
7330d168b8 proc to lwp change 2005-12-14 18:33:32 +00:00
wiz
c23b1a74bb Fix sign extension broken by previous. dillo hacked here too. 2005-12-14 17:35:40 +00:00
briggs
ae315be3b6 Bump SYMTAB_SPACE. 2005-12-14 16:21:55 +00:00
cube
cb6200f890 Remove bogus XXX comment: a.msg doesn't point to stack data. 2005-12-14 15:27:59 +00:00
cube
ae544644cf Fix typo in previous commit. 2005-12-14 15:23:00 +00:00
reinoud
d3857d0bd2 Fix disklabel recognition code for mbr based systems like i386. It would
return NULL even though no disklabel was found making callers assume that a
valid disklabel WAS found but instead were presented by the dummy disklabel
that is created.

If the rval is SCAN_CONTINUE it now returns a standard error that no
disklabel was found instead of the NULL.
2005-12-14 15:01:03 +00:00
oster
5dd44bf55a more proc->lwp changes. (untested, but at least the pmax kernel builds) 2005-12-14 02:55:42 +00:00
yamt
78bf100dce simplify rev.1.68 and fix EINVAL problem. add a comment. PR/32224. 2005-12-14 01:58:01 +00:00
christos
d4d0b2f85f whitespace. 2005-12-14 00:41:17 +00:00
christos
9f7f6692b9 proc -> lwp 2005-12-14 00:35:31 +00:00
christos
0e9d2fc182 proc -> lwp, ansi 2005-12-14 00:32:29 +00:00
christos
49743c0da1 argument type conflict. 2005-12-14 00:28:08 +00:00
christos
801713f68b proc -> lwp 2005-12-14 00:08:34 +00:00
rpaulo
7174b22dd3 In bpf_validate(), get rid of bpf_maxbufsize test as there are other
clients of bpf_filter(), like if_ppp, that are not limited by
bpf_maxbufsize. The same check is done at the run time, so there is no
problem created.

Noticed by Guy Harris in private email.
2005-12-13 23:53:49 +00:00
cube
9af385388e machdep.acpi_root -> hw.acpi.root, as discussed on source-changes. 2005-12-13 23:27:31 +00:00
christos
8c1531779b p -> l 2005-12-13 22:08:58 +00:00
christos
d7e5caf4fd include libc after our own files to fix ports that have 2 assym.h's. One
in pthread and one in libc.
2005-12-13 22:07:20 +00:00
peter
3c194e239e Add an extra argument to "setvar" to indicate whether a keyboard,
display or mouse variable should be changed. This is backwards compatible
with the old setvar style: if the argument is not specified, it defaults
to `keyboard'.
2005-12-13 21:46:47 +00:00
oster
202b0bbece s/struct proc/struct lwp/ to provide forward reference for lwp.
Fixes build problem on vax.
2005-12-13 21:33:21 +00:00
abs
97ca1ffebb Update some missed _close() and _open() functions from 'struct proc *p'
to 'struct lwp *l'.
2005-12-13 20:55:46 +00:00
christos
da46e07e04 struct lwp needs to come earlier. 2005-12-13 19:27:56 +00:00
christos
f131fafcb8 add sony.4 2005-12-13 18:23:31 +00:00
christos
51f1d9a81b Man page for the new laptop driver. 2005-12-13 18:20:56 +00:00
dsl
ea2078818f TOG require that 'set +o' output the options in a form suitable for
restoring them - make it so.
2005-12-13 17:44:18 +00:00
christos
cde8d91b30 always set the value, don't shortcut when val == oval.
From Sami Kantoluoto
2005-12-13 16:54:21 +00:00
christos
783445c362 add fwd decl of struct lwp; needed by the vax. 2005-12-13 16:47:18 +00:00
tsutsui
d00f9f7f23 ANSIfy and some KNF. 2005-12-13 16:32:33 +00:00
christos
fff3c8238c add fwd declaration for struct proc. Fixes vax build. 2005-12-13 16:25:59 +00:00
explorer
3bf671ed3b 'the the' => 'the' and change DLT type from IEEE_80211_RADIO to the correct IEEE802_11_RADIO name 2005-12-13 16:15:10 +00:00
tsutsui
9cf2f5cb8b Move pv_entry stuff from MD pmap_physseg to MD vm_page.
Suggested and OK'ed by thorpej, and tested on R3000/R4400/R5000/Rm5200 CPUs.
2005-12-13 15:41:50 +00:00
briggs
eea7d7edaf Reword entry for X to note maint. of XFree86 and not transition to X.org
at this time.
2005-12-13 15:30:18 +00:00
xtraeme
7c0269873e Misc grammar and typos fixes from Enrique Matias Sanchez via
private email.
2005-12-13 14:23:06 +00:00
reinoud
255662c92a Fix of panic that was introduced since ktrace-lwp branch was merged. The
shortcut to the process of the passed lwp paniced the kernel since lwp
could/can be passwd as NULL in VOP_WRITE().

This was happening when ktracing to NFS. The function ktrwrite() set the
uio_lwp to NULL and then calls VOP_WRITE() with this argument. nfs_write()
then accessed lwp *l->l_proc wich paniced.

Thanks to David Laight for his help on tracking it down.
2005-12-13 13:12:18 +00:00
martin
e35adea403 Fix wrong buffer size calculation. From Henning Petersen in PR lib/32291. 2005-12-13 12:59:48 +00:00
yamt
0a40fe5a5e physio: deal with unaligned buffers/small maxphys/overlapped buffers.
fix PR/32224 from Matthias Scheler.
(uvm_vslock needs to be redesigned for threaded applications.
but it's a different problem.)
2005-12-13 12:29:32 +00:00
dsl
24c43e28bb Use PRIu64 to print ino_t (maybe there should be a PRIino_t somewhere....) 2005-12-13 10:56:16 +00:00