Commit Graph

180959 Commits

Author SHA1 Message Date
mrg
07f49ab104 also print the cpu_number() when we get a strayintr(). 2009-05-18 00:25:15 +00:00
he
df7cd4eea6 Complete the device_t / softc split by changing the sc_dev member
from "struct device" to "device_t".  Commit overlooked when tga.c was
changed?
2009-05-18 00:14:27 +00:00
snj
1a30d8a579 Fix some typos and bad wording. From Raphael Langerhorst in
PR misc/35213, plus two small nits from me.
2009-05-18 00:07:47 +00:00
joerg
0334ae0007 Merge for pkg_install-20090513. 2009-05-17 21:31:59 +00:00
joerg
52b3fbfec5 Import pkg_install-20090513:
- Make compression type selection in pkg_create optionally explicit.
- PREV_PKGPATH / SUPERSEDES
2009-05-17 21:21:07 +00:00
bouyer
cc56ebe228 on Xen the GDT has to be updated though HYPERVISOR_update_descriptor().
Export i386/i386/gdt.c:update_descriptor() and use it in x86_set_sdbase(),
as a direct write to the GDT will cause a kernel trap.
Fix PR port-xen/41401.
2009-05-17 18:24:23 +00:00
mjf
bcf861f849 u_intNN_t -> uintNN_t 2009-05-17 18:21:29 +00:00
dyoung
776b6e11bf Reverse the sense of the DETACH_FORCE check so that we return EBUSY in
the correct circumstances.
2009-05-17 18:11:34 +00:00
ad
61cac435e4 - Convert from makecontext() -> _lwp_makecontext().
- Rely on _lwp_makecontext() to set up the thread identity register.
  This is not currently done (a bug), nor does libpthread use the
  threadreg yet. I'm doing this so it the code can be used by the
  person working on TLS to verify that their threadreg code is working.
2009-05-17 14:49:00 +00:00
elad
a0de6c0f32 Undocument FILE_LOCK(), FILE_UNLOCK() -- heh. 2009-05-17 14:46:33 +00:00
cegger
82fdd59cb5 fix crash with LOCKDEBUG+DIAGNOSTIC kernels:
sdhc_bus_clock() calls mutex_enter().
then in DIAGNOSTIC section, sdhc_bus_clock() calls sdhc_card_detect().
sdhc_card_detect() calls mutex_enter() on the same mutex again.
when LOCKDEBUG is enabled, you get

Mutex error: lockdebug_wantlock: locking against myself
2009-05-17 14:36:46 +00:00
mjf
3d68316951 Add an exmaple of unmounting all file systems apart from NFS and MFS
e.g,

	umount -a -t nonfs,mfs

This makes it clear that the "no prefix" only needs to be on the first
file-system argument to -t. The mount(8) man page has a clear example
of this but for some reason umount(8) was missing one.
2009-05-17 14:09:15 +00:00
he
8cce58a8c3 Add LDADD+= and DPADD+= settings so that this builds on sun2 as well,
where we can't rely on shared libraries expressing the needs of the
program.
2009-05-17 11:38:42 +00:00
cegger
9c2bd94081 fix crash in bridge_ioctl():
BRDGGFLT and BRDGSFILT bridge controls are only available with BRIDGE_IPF and PFIL_HOOKS defined.
In amd64 GENERIC and XEN kernel configs PFIL_HOOKS is defined but BRIDGE_IPF is not.

When a BRDGGFLT or BRDGSFILT command comes in, then ifd->ifd_cmd is not in range
of bridge_control_table_size. Then bc is not set and is dereferenced
later => BOOM.
2009-05-17 11:34:21 +00:00
ad
92ee1731b0 Updates to f_flag need to be made with atomics. 2009-05-17 10:08:38 +00:00
wiz
bdcda8d0cc Remove trailing whitespace. Avoid marking up punctuation. Remove
superfluous Pp. Make HTML-ready. ioctl(4) -> ioctl(2).
Fix wrong end-of-sentence break.
2009-05-17 06:50:59 +00:00
wiz
ef7e198809 Remove trailing whitespace. Make HTML-ready. 2009-05-17 06:46:46 +00:00
wiz
3e6dc3da17 Avoid Pp before Sh; make HTML-ready; add missing comma in SEE ALSO. 2009-05-17 06:45:47 +00:00
pooka
bb7d994504 pad -> PAD. Fixes build problem reported by Paul Goyette in private email. 2009-05-17 05:57:01 +00:00
pooka
ed09069bac regen: pad -> PAD 2009-05-17 05:55:42 +00:00
yamt
7e13bf31c7 remove FILE_LOCK and FILE_UNLOCK. 2009-05-17 05:54:42 +00:00
pooka
5b4deca5cb pad -> PAD 2009-05-17 05:54:22 +00:00
fair
b97f1ee262 Eliminate groff warning. Add protocol reference in SEE ALSO section.
A little more verbiage for clarity.
2009-05-17 05:08:57 +00:00
fair
784c61fc29 Eliminate a groff warning. Clarify wording. 2009-05-17 02:52:03 +00:00
fair
6dfa2f6a1f Eliminate a groff warning. Clarify text. 2009-05-17 02:36:10 +00:00
fair
ab7ce9f834 Eliminate many groff warnings seen in build.
Restructure opening description for clarity.

This man page is very sparse and assumes a lot of knowledge.
We should consider adopting text from the OpenBSD ipsec(4).
2009-05-17 02:22:43 +00:00
tsutsui
cb5bffc5fa Split device_t/softc. Tested on D-Link DL-4000. 2009-05-17 02:08:35 +00:00
tsutsui
f84df6daef u_intNN_t -> uintNN_t 2009-05-17 01:33:24 +00:00
tsutsui
3447a7cdd6 Split device_t/softc. Compile test only, but mostly similar changes
with sparc/dev/sbus.c rev 1.69.

XXX: it looks some functions should be merged between sparc and sparc64.
2009-05-17 01:28:27 +00:00
fair
1496bb7663 Eliminate a groff warning seen during build.
Add some paragraph breaks for clarity/readability.
Sentence periods should be at end of lines.
2009-05-17 01:23:27 +00:00
fair
3ce984d756 Eliminate groff warnings seen during build.
Clarify that NetBSD can't use BT keyboards as console (others can).
2009-05-17 01:00:57 +00:00
fair
eab9c3d787 Eliminate several groff warnings seen during build. 2009-05-17 00:53:36 +00:00
tsutsui
e298c1144d Split device_t/softc.
Tested PCI HME on i386.  Sbus HME is compile test only.
2009-05-17 00:40:43 +00:00
fair
7ce3405656 Eliminate a groff warning seen during build.
Correct sysctl(8) variable section, add one more variable.
Change some wording for improved clarity.
2009-05-17 00:37:53 +00:00
tsutsui
420c7350fb Use device_private() to get struct sbus_softc from device_t parent.
XXX: sbus_softc has been split from device_t on sparc, but not on sparc64!?
2009-05-17 00:28:35 +00:00
rmind
c873419d8f Skip LSIDL and LSZOMB threads when retrieving info. 2009-05-16 23:59:56 +00:00
rmind
ba3fa2c82f sys_mq_open: remove broken access flag check.
Noted by Stathis Kamperis.
2009-05-16 23:58:09 +00:00
ad
74b6a42ba2 Fix suspend/resume problem with some configurations. From drochner@. 2009-05-16 23:48:00 +00:00
ad
a61915e94f Remove unused code that's confusing when using cscope/opengrok. 2009-05-16 22:20:40 +00:00
christos
434ce22684 fix dependencies. 2009-05-16 21:37:48 +00:00
dyoung
0f04ad55b3 Do not detach a sd(4) instance if it is open, but return EBUSY,
instead.  If the detach is forced, do what sdclose() does on the
last close: flush the cache, delete our reference to the SCSI bus
device, et cetera.
2009-05-16 20:10:52 +00:00
nakayama
ed5e46c9f6 Remove clear %tick in locore.s since it is cleared at cpu_initclocks() in
clock.c.
2009-05-16 19:19:04 +00:00
nakayama
44daeab399 - move definition of tick() from ctlreg.h to psl.h and rename to gettick()
for consistency with other functions for reading/writing ASRs.
- move definition of tl() from trap.c to psl.h as same as above.
- define settick() in psl.h and use it in clock.c.
- cosmetic chages in psl.h.
2009-05-16 19:15:34 +00:00
martin
a6eabcae57 we can not free() a dmamap! 2009-05-16 18:24:44 +00:00
plunky
7b19d61dc6 change description of libbluetooth to "Bluetooth Library" as it contains
more than just host lookups

also, remove libsdp as that has been deprecated
2009-05-16 18:13:08 +00:00
plunky
c1d5e5d586 change description for libbluetooth to "Bluetooth Library" as it is
more than just host lookup these days
2009-05-16 18:12:04 +00:00
nakayama
a7ae1082e0 Follow pad to PAD change. 2009-05-16 17:45:23 +00:00
martin
53a2c28e97 Implement dmamap_unload - I might be missing something, or is it realy
this easy?
2009-05-16 17:42:35 +00:00
martin
f4b7e59662 Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.
2009-05-16 17:16:12 +00:00
cegger
f26d5a00cc KNF, same object code generated. 2009-05-16 17:01:15 +00:00