Jeroen Ruigrok van der Werven
1cf1a725ff
Fix indention which I did wrong in a previous commit.
...
Submitted by: bde
2002-04-29 08:18:06 +00:00
Peter Wemm
db17c6fc07
Tidy up some loose ends.
...
i386/ia64/alpha - catch up to sparc64/ppc:
- replace pmap_kernel() with refs to kernel_pmap
- change kernel_pmap pointer to (&kernel_pmap_store)
(this is a speedup since ld can set these at compile/link time)
all platforms (as suggested by jake):
- gc unused pmap_reference
- gc unused pmap_destroy
- gc unused struct pmap.pm_count
(we never used pm_count - we track address space sharing at the vmspace)
2002-04-29 07:43:16 +00:00
Warner Losh
d76b2f9d54
Spell hw.cbb.start_memory the same in the HINT as well as the sysctl.
...
Noted by: bde
2002-04-29 07:41:58 +00:00
Warner Losh
9ce2d50cf2
Make sysctl RW
2002-04-29 07:37:09 +00:00
Poul-Henning Kamp
b7dee1db97
Moving closer to being able to use NetBSD's generic mii_set_media()
...
function.
2002-04-29 07:18:26 +00:00
Warner Losh
8ad896e0ad
Untimeout before calling timeout. I think that I have caught all the cases
...
where we were scheduling a timeout multiple times, but am not positive.
2002-04-29 06:55:46 +00:00
Poul-Henning Kamp
a295ccc9f0
Edging ever closer to NetBSD...
2002-04-29 06:48:20 +00:00
David E. O'Brien
f3320cac13
Barrow something from the `nmap' port to help the ENOCLUE people upgrading
...
from releng4 and are not able to properly read make(1) output.
2002-04-29 06:35:25 +00:00
Poul-Henning Kamp
45521525a7
Move us yet closer to IFM_* definitions in NetBSD.
2002-04-29 05:32:44 +00:00
Alan Cox
532eadef77
Document three synchronization issues in vm_fault().
2002-04-29 05:23:01 +00:00
Eric Anholt
c9d942be3a
Diff reduction to my experimental code: clean up return code handling.
...
Approved by: des
2002-04-29 00:25:10 +00:00
Alan Cox
780b1c0997
Pass the caller's file name and line number to the vm_map locking functions.
2002-04-28 23:12:52 +00:00
Cameron Grant
21ed9908a2
add a missing \n to an unregister failure message
2002-04-28 22:59:45 +00:00
Cameron Grant
9dbee70d4a
recognise ct5880-e
...
Submitted by: SONODA Yoshihide <yshd@na.rim.or.jp>
2002-04-28 22:38:23 +00:00
Poul-Henning Kamp
b418ad5c2e
Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/
2002-04-28 20:34:20 +00:00
Poul-Henning Kamp
07dd938303
Don't pass three args when one will do just fine, and even prevent
...
mistakes like the one brgphy.c (now corrected).
2002-04-28 19:25:07 +00:00
Dag-Erling Smørgrav
afe18bfe77
Move drm to the i386-only section.
2002-04-28 19:21:48 +00:00
Poul-Henning Kamp
83549c664b
Improve an API by about 4 lines per driver.
2002-04-28 19:01:32 +00:00
Poul-Henning Kamp
3aae18bde8
Use generic MII #defines instead of private ones when the registers
...
are IEEE defined.
Object file comes out the same.
2002-04-28 18:47:29 +00:00
Poul-Henning Kamp
1aad4b2a52
Merge in rev 1.9 from NetBSD.
2002-04-28 18:43:30 +00:00
Poul-Henning Kamp
2f35ea476d
We don't need the arp kludge any more.
2002-04-28 18:29:44 +00:00
Poul-Henning Kamp
6b00cf46ec
Stylistic sweep through the timecounter code.
...
Renovate comments.
2002-04-28 18:24:21 +00:00
Poul-Henning Kamp
d25917e856
Don't screw up our uptime with historical dates.
2002-04-28 16:51:36 +00:00
Gary Jennejohn
3573a23fa1
Change instances of avma1pp2- to ifpi2- in printf's since the name
...
of the driver should be emitted.
This was already changed in the code committed to RELENG_4.
2002-04-28 11:47:10 +00:00
Bruce Evans
4cfce7a7a6
Removed unused forward struct declaration.
2002-04-28 09:51:45 +00:00
Marcel Moolenaar
4ee5409b54
Add mca.c.
2002-04-28 08:43:47 +00:00
Scott Long
b22841b0ff
Nuke -g
2002-04-28 06:38:38 +00:00
Alan Cox
d974f03c69
o Introduce and use vm_map_trylock() to replace several direct uses
...
of lockmgr().
o Add missing synchronization to vmspace_swap_count(): Obtain a read lock
on the vm_map before traversing it.
2002-04-28 06:07:54 +00:00
Eric Anholt
67a2a28fe4
Hook the DRM up to the build and add it to NOTES.
...
Approved by: des
2002-04-28 04:58:40 +00:00
Warner Losh
9218b6a376
Alphabetize descriptions and remove the "PCI" from the desciptions.
...
Suggested by: brooks
2002-04-28 02:04:28 +00:00
Peter Wemm
44e74ba6c3
We do not necessarily need to map/unmap pages to zero parts of them.
...
On systems where physical memory is also direct mapped (alpha, sparc,
ia64 etc) this is slightly harmful.
2002-04-28 00:15:48 +00:00
Ian Dowse
ba1551ca81
Avoid the user-visible effect of setting SA_NOCLDWAIT when the
...
SIGCHLD handler is SIG_IGN. This is a reimplementation of the
problematic revision 1.131 of kern_exit.c. To avoid accessing process
UPAGES, we set a new procsig flag when the SIGCHLD handler is SIG_IGN
and use that instead.
2002-04-27 22:41:41 +00:00
Peter Wemm
4f033348f4
Finish fixing hints. Remember the use_kenv state for the next run.
...
Otherwise we fall back to using the static hints the next time around.
We still have the leftover fallback code there which meant that we skipped
the use_hints checking on the second and subsequent calls. Also, be a bit
more careful about walking off the end of the envp array.
I've extracted this from a larger diff. I hope I didn't miss anything...
2002-04-27 22:32:57 +00:00
Peter Wemm
fc1218bb71
Partial fix for hints
...
Obtained from: mux
2002-04-27 22:25:13 +00:00
Ian Dowse
3eee035c5b
Remove a stale comment saying that the vnode lock must be the first
...
element in the structure pointed to by vp->v_data; the vnode lock
is now within the vnode structure itself.
2002-04-27 22:20:33 +00:00
Ian Dowse
10632e44cc
Remove the nfs_{lock,unlock,islocked} functions and the associated
...
definitions; they have been unused and #if 0'd out since the Lite/2
merge and we are unlikely to want them in the future.
2002-04-27 22:10:16 +00:00
Alan Cox
089b073345
o Begin documenting the (existing) locking protocol on the vm_map
...
in the same style as sys/proc.h.
o Undo the de-inlining of several trivial, MPSAFE methods on the vm_map.
(Contrary to the commit message for vm_map.h revision 1.66 and vm_map.c
revision 1.206, de-inlining these methods increased the kernel's size.)
2002-04-27 22:01:37 +00:00
Eric Anholt
24d44c5d51
Add makefiles for DRM modules
...
Approved by: des
2002-04-27 20:55:03 +00:00
Eric Anholt
4fc9623548
Add the code for the DRM, based on the code from the drm-kmod port.
...
This is not hooked up yet, that will come later.
Approved by: des
2002-04-27 20:47:57 +00:00
Alan Cox
c01945726b
For what it's worth, fix the compilation of an I386_CPU-only kernel
...
now that certain warnings are fatal.
2002-04-27 18:13:35 +00:00
Alan Cox
ce6612b6b6
Don't call vm_map_growstack() from trapwrite() as vm_fault() now performs
...
this automatically.
2002-04-27 17:07:15 +00:00
Alan Cox
72ba293d78
MFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
...
around vm_fault() in trap_pfault().
2002-04-27 17:00:28 +00:00
Darren Reed
7df187a3ad
Merge updates from 3.4.26 - 3.4.27.
2002-04-27 16:56:25 +00:00
Warner Losh
cd5a4c63c7
This patch fixes my breakage of ssid matching. I introduced the
...
breakage when I tried to merge OpenBSD wi_hostap changes into the
tree. Skibo found the problem and submitted these patches. Thanks!
Submitted by: skibo@pacbell.net
2002-04-27 16:03:25 +00:00
Warner Losh
0853849336
Better names for the PCI cards. The biggest change is that we now
...
identify the Intersil Prism 2.5 PCI native card as that, rather than
Linksys, the first folks to get it to market.
2002-04-27 16:01:26 +00:00
Alan Cox
644d87b30a
MFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
...
around vm_fault().
2002-04-27 09:34:15 +00:00
Seigo Tanimura
acbbcc5f1d
Fix the code fragment clobbered in my last commit.
2002-04-27 09:33:49 +00:00
Seigo Tanimura
d48d4b2501
Add a global sx sigio_lock to protect the pointer to the sigio object
...
of a socket. This avoids lock order reversal caused by locking a
process in pgsigio().
sowakeup() and the callers of it (sowwakeup, soisconnected, etc.) now
require sigio_lock to be locked. Provide sowwakeup_locked(),
soisconnected_locked(), and so on in case where we have to modify a
socket and wake up a process atomically.
2002-04-27 08:24:29 +00:00
Poul-Henning Kamp
f5d157fb51
Explain magic number.
...
Add magic date no explanation.
Add a delta which was lost in transit yesterday which prevented
other timecounters from actually being used.
2002-04-27 07:28:54 +00:00
Poul-Henning Kamp
50d866ce0f
Fix a {} bug which doesn't have any effect yet.
...
Spotted by: jake
2002-04-27 07:07:37 +00:00