Commit Graph

182602 Commits

Author SHA1 Message Date
dsl
666a334b2e Remove reference to P_SYSTRACE.
Fixes PR/41426
(leave defn in sys/sysctl.h since the bit shouldn't be reused!)
2009-08-03 20:00:39 +00:00
rmind
530320c25b Mention kmem(9). 2009-08-03 19:57:40 +00:00
snj
890f26e337 Fix date for mvsata(4) entry. 2009-08-03 19:48:36 +00:00
rmind
deef563516 Unify kmem_alloc/zalloc/free under kmem(9). Links preserved. 2009-08-03 19:43:58 +00:00
drochner
aa89e1b426 As noticed by Stathis Kamperis, the original implementation does not
always return the correct principal value (with real>=0).
(eg cacosh(ccos(1.0I)) was -1)
Replace by a more ground-up one which should do better.
2009-08-03 19:41:32 +00:00
rmind
143caecc0d kmem_alloc(9): make notes under NOTES section. 2009-08-03 19:30:32 +00:00
rmind
46b2df96e9 ubc(9): add "core references" and "see also", ubc_unmap -> ubc_release. 2009-08-03 19:18:27 +00:00
rmind
e403bed420 Split descriptions of UBC functions from uvm(9) into separate ubc(9) man page. 2009-08-03 19:08:48 +00:00
perry
a8420debfe Explicitly set a BEFORE on ntpd, as this can't run while ntpd is
running.

Apparently it is rare for rcorder to place it after ntpd but there was
previously nothing actually preventing it.

Fixes PR 40707 by Ondrej Tuma
2009-08-03 18:43:48 +00:00
perry
b3d763cf9b ntpdate can't work without named because a modern ntp.conf has dns
names in it. We therefore now depend on it.

However, this would have then created a circular dependency because named
depended on "SERVERS", and racoon was before SERVERS and required kdc,
and kdc needs the time to be right and thus depended on ntp.

Instead, have named depend on NETWORKING (so that there is a network
there), mountcritremote (so we know that named has a directory to work
from) and syslogd (so that named has some place to spew information).

I'm not sure this is perfect, but it is certainly a big improvement
over constantly failing ntpdate runs during boot.
2009-08-03 17:45:48 +00:00
mbalmer
4b41fced4d unfold short line; debracket 2009-08-03 17:24:40 +00:00
pooka
e9eda42d2c track number of pages associated with vm object 2009-08-03 17:10:51 +00:00
jmcneill
52624b6009 don't call asus_sysctl_setup from asus_init because that is called from
the resume handler, instead call it directly from asus_attach
2009-08-03 16:33:55 +00:00
pooka
43ccc52f24 Support read/write in rumpblk via physio() 2009-08-03 16:22:00 +00:00
plunky
d49ef6e9a5 mention bt_dev(3) addition 2009-08-03 16:05:11 +00:00
plunky
bd42c2e8d0 Add bt_dev(3), an platform neutral API for accessing (locally configured)
Bluetooth devices, and bump libbluetooth minor version.

This is a reimplementation of an API largely developed by Maksim Yevmenkin
on FreeBSD to make it easier to port BlueZ/Linux programs which depend on
something similar. Alas, the BlueZ/Linux API is incompatible and unportable
as it depends on a 'device' being referenced by an int, but this will
hopefully make it easier to port software using that.

(bump libbluetooth minor version)
2009-08-03 15:59:41 +00:00
pooka
d90603b573 fix errno reporting 2009-08-03 15:08:37 +00:00
pooka
f0190dc27d rump_fakeblk -> rump_etfs 2009-08-03 14:25:24 +00:00
pooka
8bf6866a3f * use new etfs interface
+ attempt to register only if we can stat() the devpath.  this works
    around e.g. nfs devpath, which is useless to register to etfs
    XXX: the caller should decide
2009-08-03 14:24:58 +00:00
pooka
eddab4e9bc * get rid of the old fakeblk registration interface. Instead,
introduce a new and improved "etfs" interface, which can be used
  to register host files accessible from rump fs namespace.  This
  new interface is not restriced to block devices, and neither does
  it require the same pathname in host namespace and rump namespace.
  Therefore, the same host file can be represented both as a char
  and block device in rump namespace.

* adjust rumpblk to make the above possible

* improve rumpfs: nodes are now created properly and not implicitly
  tied to the vnode lifecycle
2009-08-03 14:23:30 +00:00
mbalmer
38b252cce6 Be more careful when attaching drivers at runtime, call the drivers match
routine before attaching the device.  Prevents non-working driver instances
from being created.
2009-08-03 12:43:56 +00:00
jmcneill
bd96ad5f60 add missing return, silences 'failed to add sysctl nodes. (0)' message when
setup was successful
2009-08-03 12:43:46 +00:00
mbalmer
e1a16b3665 A better match routine that checks also the number of pins instead
of checking the pins in the attach routine; malconfigured devices will
no longer attach.  While here, replace some printf uses by aprint_....
2009-08-03 12:42:45 +00:00
jmcneill
dd4c27f39b - add experimental cpu fan/voltage switching support (sysctl hw.asus0.*)
- add fan sensor
- rename asus_softc_t -> struct asus_softc
- add detach method
- update copyright for 2009
2009-08-03 10:30:29 +00:00
jnemeth
1af929341b Fix previous where the call of sd_set_properties was moved from
the end of sdattach() to the end of sd_get_parms().  The code at
the bottom of sd_get_parms() was only used for optical drives or
in the case where the drive geometry couldn't be retrived for some
reason, to create a fake geometry.  The case for setting up the
real geometry was handled above that code.
2009-08-03 09:40:45 +00:00
he
0e35dff596 Move the include of <sys/gpio.h> up above <dev/gpio/gpiovar.h>, so that
GPIOMAXNAME gets defined before being used.  Also remove the > 0 test on
NGPIO around the include of <sys/gpio.h>.
2009-08-03 06:57:09 +00:00
dsl
d3c3d024a7 bzero.S defines memset(), so exclude memset.c 2009-08-03 06:26:41 +00:00
dsl
af129c0bc8 bzero.S also defines memset(), so exclude memset.c 2009-08-03 06:25:34 +00:00
dholland
a95dd4ab67 don't ignore errors from read(); found by lint 2009-08-03 06:04:12 +00:00
wiz
e28fde3845 Bump date for previous. Add comma in enumeration. Use Pp for paragraph
separation.
2009-08-02 22:49:08 +00:00
wiz
8dacf6eb63 Make HTML-ready. 2009-08-02 22:38:29 +00:00
wiz
b2141244f7 Sort supported hardware by name. New sentence, new line. 2009-08-02 22:37:44 +00:00
dsl
6b42da309a Support 0xnn for hexadecimal constants - as well as 16#nn.
While here, make '-' only valid once, and at the start of the number.
Fixes PR/40512
2009-08-02 21:24:18 +00:00
tshiozak
591b8c1e16 add Melco(Buffalo) WLI-UC-G 11b/11g wifi adaptor (rt2573).
This works fine for 11b, but unstable for 11g.
2009-08-02 20:55:45 +00:00
tshiozak
50333a0e5c regen. 2009-08-02 20:53:41 +00:00
tshiozak
a84f8b4d14 add Melco(Buffalo) WLI-UC-G 11b/11g wifi adaptor (rt2573) 2009-08-02 20:52:26 +00:00
bouyer
94fb626feb Fix previous: mutex_destroy() the right mutex 2009-08-02 20:50:33 +00:00
bad
0152c542e8 Add a note to change_root() that the callers need to authorize the operation.
As requested by elad@.
2009-08-02 20:44:55 +00:00
dsl
14861af47a Patch from PR/39034 - should make this compile!
I've not removed the mtx_destroy() since that has to be in there somewhere.
Patch may apply to netbsd 5.0
2009-08-02 20:22:34 +00:00
spz
18f2bbe96d make dkctl conform to its man page and print the device name on addwedge
when the addition was successful (as well as indicating success).
2009-08-02 18:16:08 +00:00
matt
2355613b3f Use a common version of cpu.c (mmm removing identical code). 2009-08-02 17:12:28 +00:00
yamt
fac82a77c9 - don't reuse a variable for different purposes.
- KNF a bit.
2009-08-02 16:07:34 +00:00
yamt
010a609f17 - fix extend of unexistent mapping. the problem reported by
Nicolas Joly on current-users@.
- check our reserved entry a little more strictly.
- comments.
2009-08-02 16:03:47 +00:00
jmcneill
783afeb19c - fix TKIP, changes adapted from FreeBSD
- reduce diffs between FreeBSD and NetBSD athvar.h
2009-08-02 13:26:33 +00:00
uch
9337b12fa8 fix comment 2009-08-02 12:04:28 +00:00
gavan
c7de5c4b16 * Increase symtab space so the kernel builds again.
* Add in bits and pieces to get a genfb console going.
2009-08-02 11:36:39 +00:00
gavan
23869c7874 On NetBSD/iyonix:
* Disable interrupts in otherwise-configure Nvidia graphics card
* Support genfb console, based on information supplied by the bootloader
* Support kernel args
* Support ways to choose which console to use
* Clarify argument parsing a little.

(from me and abs)
2009-08-02 11:32:05 +00:00
gavan
14e9ee53d1 If we're going to complain about exceeding the PCI bandwidth, we may as
well say how much we think we're using.
2009-08-02 11:25:50 +00:00
gavan
01cd53c5df Don't reset devices if booting an Iyonix. It's fine for acorn32 devices
because we know how to configure all of the hardware, but as we don't know
how to configure the Iyonix graphics card we must rely on RISC OS to do
it for us.

While we're here, space separate the kernel arguments. It's a bit hard
parsing them in the kernel when they're all run together.
2009-08-02 11:20:37 +00:00
nonaka
156e933143 pxamci is pxa2x0 specific. 2009-08-02 00:20:39 +00:00