Commit Graph

142014 Commits

Author SHA1 Message Date
christos
242aadbe63 Include string in the cpp flags. 2005-12-20 22:51:18 +00:00
christos
d10f4d6b55 libutil bump. 2005-12-20 21:34:29 +00:00
christos
349633b5fa make setuserenv and setuserpath take an environment setting function and
an environment pointer and expose them.
bump version.
2005-12-20 21:32:20 +00:00
christos
724f51cbd9 expose setuserpath and setuserenv, now used by xdm. 2005-12-20 21:31:27 +00:00
christos
174556b791 Add setusercontext handling (from Patrick Welche) 2005-12-20 21:30:19 +00:00
tron
e7b5db7c4a Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.
2005-12-20 21:06:42 +00:00
christos
7dfafee4b6 Search the new common framework. 2005-12-20 20:39:15 +00:00
christos
275e8bb92d add files I forgot to commit. 2005-12-20 20:29:40 +00:00
rpaulo
7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
christos
153f1146ed Use common sources with userland. 2005-12-20 19:35:26 +00:00
christos
6fcf9fd532 Provide _DIAGASSERT and NULL, so that we don't have to do it in *all* the
libkern files.
Also the new inet_addr, provides inet_aton; advertise it.
2005-12-20 19:35:12 +00:00
rpaulo
cfdce0208a Update to match reality. 2005-12-20 19:34:43 +00:00
christos
7c77bfb8e4 Forward declarations for structs. 2005-12-20 19:32:58 +00:00
christos
f01a2f5714 Define INADDR_NONE when we are in the kernel too. 2005-12-20 19:32:30 +00:00
christos
e5548b402a Use reach-over sources from common/lib/libc 2005-12-20 19:31:47 +00:00
christos
37c9f0a654 Merge libkern + libc common files. As requested by core. 2005-12-20 19:28:49 +00:00
rpaulo
b37b6e42f6 Fix comments for preempt() using rev. 1.101.2.31 log of nathanw_sa by thorpej. 2005-12-20 19:26:15 +00:00
elad
1864f3b314 - Add a new section, "Security Options"
- Move INSECURE to be under it, and fix wording - we hardwire to -1, not 0.
- Add Veriexec options.
2005-12-20 18:15:30 +00:00
thorpej
e363cc4a04 Move evcnt definitions into <sys/evcnt.h>. Include this from <sys/device.h>
for compatibility.
2005-12-20 16:28:55 +00:00
christos
7799813507 Commit temporary fix against kva starvation from yamt:
- pool_allocator_alloc: drain ourselves as well,
  so that pool_cache on us is drained as well.
- pool_cache_put_paddr: destruct objects if underlying pool is starved.
- pool_get: on kva starvation, wake up once a second and try again.

Fixes:
PR/32287: Processes hang in "mclpl"
PR/32330: shark kernel hangs under memory load.
2005-12-20 15:52:14 +00:00
rpaulo
5ff83cb96b Remove <sys/tablet.h>, noticed by Kurt Schreiner on current-users@. 2005-12-20 13:32:50 +00:00
mrg
634f803e1b note that sip(4) works on sparc64 now. 2005-12-20 13:08:17 +00:00
mrg
5c85883363 enable sip@pci. it seems to work now, tested on a U10/440. 2005-12-20 13:02:13 +00:00
skrll
dd1a604b66 Whitespace 2005-12-20 08:25:58 +00:00
skrll
74331c1241 Merge the FreeBSD code and adapt to NetBSD:
- add power management.
	- update ioctl handling.

Fix PR 27439 as the FreeBSD code has joerg's fix for when the RX intr
routine can't allocate a new mbuf.

Fix PR 30806. Thanks to cube@ for testing and some struct ipw_soft_hdr
handling code.

XXX The state machine doesn't sync with the net80211 layer, but that's
XXX not a surprise.
2005-12-20 07:51:38 +00:00
thorpej
445cc37106 <sys/tablet.h> is now obsolete. 2005-12-20 05:36:48 +00:00
thorpej
c97c3de6e9 Remove the tablet line discipline. 2005-12-20 05:35:27 +00:00
thorpej
88ac5a26bf Use new typedefs. 2005-12-20 04:39:36 +00:00
thorpej
5047c6db68 No longer need our own device_t typedef. 2005-12-20 04:31:28 +00:00
thorpej
8a8e8fbb6f Provide typedefs:
- devclass_t
- devact_t
- cfdata_t
- device_t

...and use them.
2005-12-20 04:30:28 +00:00
reinoud
4eae0d0cfe The as `unused' specified field in the readdiscinfo SCSI command is really
application_code to be able to write to -RW media when its in restricted
mode.
2005-12-20 01:44:22 +00:00
tron
378a8ea134 Make OHCI work on Au1500 systems running in big-endian mode.
Patch contributed by Garrett D'Amore in PR port-evbmips/31912.
2005-12-19 21:57:27 +00:00
rpaulo
cf7672baed Descend into posix_fadvise/ 2005-12-19 17:50:02 +00:00
rpaulo
b4cefcb71c Mention the license type for every entry. 2005-12-19 16:17:55 +00:00
tron
8b0925bcb6 Make OHCI work on Au1500 systems running in big-endian mode.
Patch contributed by Garrett D'Amore in PR port-evbmips/31912.
2005-12-19 15:06:51 +00:00
skrll
6a270f002d Typo in comment. 2005-12-19 12:35:19 +00:00
jonathan
10abcdac63 Regem from src/sys/dev/pci/pcidevs rev 1.750, adding an entry for SK
PCi-Express gigabit ethernet boards based on Marvell's Yukon-2 chipset.
2005-12-19 02:08:20 +00:00
jonathan
d19a4efd0c Add an entry for S&K (Schneider&koch, also SysKonnect) PCI-Express
gigabit ethernet boards (SK-9E21D single-port, SK-9E22 dual-port)
based on the Marvell Yukon-2 chipset.
2005-12-19 02:06:54 +00:00
jonathan
68c8a69580 regen after sys/dev/pci/pcidevs 1.749 (addition of SiI 3124) 2005-12-19 01:08:25 +00:00
jonathan
d3c37a283a Add ID 0x3132 for Silicon Image, PCI-Express dual-port SATA-II version
of SiI 3124 (PCI-X quad SATA).
2005-12-19 01:07:12 +00:00
uwe
be72c76535 Adapt to ktrace-lwp changes.
Call ttyldisc_detach with correct argument.
2005-12-18 23:57:07 +00:00
cube
c454f920b9 Having explicit locators is not a sufficient condition to be able to have
children for a pseudo-device.  Depending on an interface attribute is,
though.

Instead of looking at locators, walk the 'attrs' list and look for an
interface attribute (which might have been added just a few lines before
in case there was explicit locators defined).

Fixes PR#32329 by Valeriy E. Ushakov.  Regression test is PSEUDO_PARENT.
2005-12-18 23:43:15 +00:00
uwe
902411e7f8 Use ANSI uintN_t types. 2005-12-18 23:40:03 +00:00
uwe
5e6b9ca4dd Use ANSI uintN_t types. Propagate "static" to function definitions. 2005-12-18 23:38:01 +00:00
uwe
3029fe439a Use explicit "continue" for busy loop bodies in a couple of places I
missed in the previous commit.
2005-12-18 23:32:39 +00:00
uwe
a6af1cec86 Use ANSI uintN_t types. Use "void" in definitions of functions
without arguments.  Propagate "static" to function definitions.
Declare local functions static.  Hide acceleration code inside ifdef
HD64461VIDEO_HWACCEL (save more than 1K of text).
2005-12-18 23:20:03 +00:00
uwe
105ff7167f Declare ddb_regs extern in db_machdep.h and provide the defintion in
db_interface.c.
2005-12-18 22:41:50 +00:00
uwe
bfbda844db Use ANSI uintN_t types. Use "volatile" without extra __'s.
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
2005-12-18 22:19:56 +00:00
uwe
2d4890dc44 Don't include sys/boot_flag.h only to get sys/reboot.h pulled in,
include the latter directly instead.  Include hd64461*reg.h only under
DEBUG, where they are used.  In hd64461_match use fallthrough.
2005-12-18 22:07:56 +00:00
uwe
952389de29 Use ANSI unitN_t types. Use "void" when defining functions with no args.
Propagate "static" to function definitions.
2005-12-18 21:52:41 +00:00