Commit Graph

98349 Commits

Author SHA1 Message Date
christos
e625b403dd - fix leaked lock, thanks ad@ for noticing.
- remove unneeded cast.
2009-01-11 15:57:29 +00:00
christos
00a0ee995f fix COMPAT dependency. 2009-01-11 15:55:55 +00:00
mlelstv
8de4cc7236 Avoid crash under LOCKDEBUG by destroying a mutex correctly.
Also: move mutex init/destroy into attach/detach functions and
handle case where line discipline is closed before the irframe
device. Fixes PR kern/40271.
2009-01-11 14:28:13 +00:00
mlelstv
1c2f2889cc Register with pmf. 2009-01-11 14:21:48 +00:00
nakayama
b964c01bff Regen for following christos-time_t merge. 2009-01-11 13:16:34 +00:00
nakayama
60d7add52e Follow christos-time_t merge. 2009-01-11 13:14:14 +00:00
dogcow
c23cdd912f Make it compile. 2009-01-11 13:03:17 +00:00
tsutsui
07939f4755 Use PRIu64 to print 64 bit dev_t. 2009-01-11 13:03:00 +00:00
tsutsui
8a2b8ba767 Regen from syscalls.master rev 1.64:
> Update for compat_50 stuff. (compile test only)
2009-01-11 13:00:25 +00:00
tsutsui
4f0ae35127 Update for compat_50 stuff. (compile test only) 2009-01-11 12:59:34 +00:00
pooka
893db2f6ab Treat all of ^__ as compiler namespace and do not rename those
symbols.  This fixes e.g. fortify and sh3 millicode issues.  This
is still not perfect, however, since e.g. the MIPS _gp_disp is not
in ^__.

XXX: we provide a few ^__ symbols in the kernel, but those can be
easily renamed.  The harder problem is how to keep the kernel clean
of those afterwards.
2009-01-11 12:55:37 +00:00
tsutsui
fe82ae1baf Use PRIu64 to print 64 bit dev_t. 2009-01-11 12:50:10 +00:00
tsutsui
a37c14b49c Regen from syscalls.master rev 1.72:
> Update for compat_50 stuff. (compile test only)
2009-01-11 12:45:46 +00:00
tsutsui
f318c9b526 Update for compat_50 stuff. (compile test only) 2009-01-11 12:44:47 +00:00
tsutsui
41e9d73c06 Regen from syscalls.master rev 1.31:
> Update for compat_50 stuff. (compile test only)
2009-01-11 12:27:23 +00:00
tsutsui
2f67cbfacc Update for compat_50 stuff. (compile test only) 2009-01-11 12:25:03 +00:00
tsutsui
427f482fda Regen to pull proper "created from" revision strings. 2009-01-11 12:22:51 +00:00
tsutsui
348730301a <sys/syscallargs.h> requires <sys/sched.h> for cpuset_t. 2009-01-11 12:19:14 +00:00
haad
a74b9dc067 Use 64bit long minor nuber in dm_dev structure. 2009-01-11 11:54:52 +00:00
haad
ae10a6c772 Fix aprint_debug after christos-time_t merge. 2009-01-11 11:44:23 +00:00
cegger
8c2b3a39bc make this compile 2009-01-11 10:58:26 +00:00
cegger
378bd0b618 make this compile 2009-01-11 10:47:37 +00:00
nakayama
351d0ed2d1 Make this compile. 2009-01-11 10:43:17 +00:00
cegger
f8e41c4991 make this compile 2009-01-11 10:40:27 +00:00
cegger
e6e72079ad make this compile 2009-01-11 10:25:29 +00:00
cegger
138eec15bb make kgdb_dev a dev_t 2009-01-11 10:20:53 +00:00
cegger
08ebead94e make this compile 2009-01-11 09:51:38 +00:00
nakayama
18a8b7fa58 Redo previous for 32-bit kernel. 2009-01-11 09:48:49 +00:00
nakayama
4a6cbc55ae p_timer has been changed to struct itimerspec. 2009-01-11 09:39:17 +00:00
matt
eb01a7c3df Initialize sc->sc_dev before we use it. 2009-01-11 07:40:02 +00:00
tsutsui
74ed958e0f Fix inverted logic on FPU type check in fpfault(). From OpenBSD. 2009-01-11 06:02:18 +00:00
christos
acdd91479e we need route_enqueue not to be static 2009-01-11 04:34:16 +00:00
christos
8f9e04edea this change was somehow missed. 2009-01-11 03:16:33 +00:00
christos
a5e2dcc3e2 christos-time_t: welcome to 5.99.7 2009-01-11 03:12:21 +00:00
christos
50728e7823 merge christos-time_t 2009-01-11 02:57:17 +00:00
christos
461a86f9bd merge christos-time_t 2009-01-11 02:45:45 +00:00
mrg
6bbe77565e add an empty module_init_md(), allows a MODULAR kernel to link. 2009-01-11 00:25:12 +00:00
pooka
c0284edf66 * sparc supports rump kernel symbol rename
* plonk vax in here since it has issues with rename
2009-01-10 23:38:40 +00:00
pooka
a25e3b17bc Track mutex/rwlock/condvar status. This allows us to get rid of
the pthread_np calls which will not likely exist on other platforms.
2009-01-10 22:28:42 +00:00
pooka
f326c3106f Disable symbol renaming for now on arm, mips, sh3 and sparc to
allow them to build.  Some libgcc symbols are being renamed also,
plus not all atomic operations are provided by libkern on these
archs.
2009-01-10 20:19:43 +00:00
mhitch
9ecd51cd2c For some reason lost in obscurity and time, I did not ever implement a
timeout capability to these drivers.  Apparently no one has ever had
scsi devices that failed to complete a scsi operation in some fashion,
or at least no one has reported it as best I can remember.  I've just
run into this situation and figured out that one disk would fail to
complete an I/O transaction and never timed out.  Add the appropriate
timeout function to reset the controller and restart things.
2009-01-10 19:10:50 +00:00
cegger
c288f70f98 use new exported constants from net80211.
no functional change.
2009-01-10 13:03:19 +00:00
cegger
13175d24c8 BCM4328 has MAC rev 12.
XXX Driver now tells me, this chip has unsupported PHY type 4.
2009-01-10 12:57:50 +00:00
cegger
48a2c14752 Attach on BCM4328. This chip supports 11n. 2009-01-10 12:55:45 +00:00
cegger
09b32df7ac Introduce ieee80211_setbasicrates().
Use it to set speed in ieee80211_ifattach().
Export new ieee80211_std_rateset_11{a,b,g}.

From OpenBSD.
2009-01-10 12:53:45 +00:00
tsutsui
7c5092b818 Remove unnecessary "last kernel PT page" mapping.
The lkptpa was required for hp300 (where PA != VA)
to prepare a page PA == VA to turn on the MMU,
and it is not needed for mac68k which has PA == VA
mappings even in kernel text/data/bss.  Tested on LC630.
2009-01-10 11:28:47 +00:00
isaki
917e1cad29 Clean up messages.
- fdcintr: remove duplicated status message.
- fdioctl: make it easy to track ioctl.
2009-01-10 06:45:06 +00:00
isaki
9c9d081d26 fdc->sc_dev is not necessary. 2009-01-10 06:41:06 +00:00
jym
ae69d2f013 Do not probe for console when configuring xenbus devices, as it is
attached earlier during boot, when initializing hypervisor.

This avoids the "unknown type console at xenbus0 id 0 not configured"
autoconf(9) messages, which are misleading during domU's boot.

See also http://mail-index.netbsd.org/port-xen/2009/01/05/msg004621.html

Ok by bouyer@ in private mail.
2009-01-09 22:26:25 +00:00
cegger
096c5722ac add flow control support. From OpenBSD. 2009-01-09 22:03:13 +00:00