Commit Graph

182624 Commits

Author SHA1 Message Date
cegger
32258d719a support flow control. from OpenBSD.
tested by hans@
2009-08-04 13:17:55 +00:00
pooka
3ec4aae3c4 Do std vnode locking for specnodes located on rumpfs. 2009-08-04 12:40:42 +00:00
pooka
1752ac9b33 If opening the device fails, skip etfs registration only if it is
because of ENOENT.  Otherwise, let the file system handle it.
2009-08-04 12:37:14 +00:00
kiyohara
56ab546296 Fix GPIO configurations.
http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html
    3. I misstake sinse 2007/08/21.
	 :

Details:
  Remove hwuart_gpioconf.  PXA270 not have HWUART.
  Add ohci_gpioconf.  However all selectable.
  Fix pSKTSEL of pcic is selectable.
  Fix MMDAT<1-3> of mci is optional.
2009-08-04 12:11:33 +00:00
martin
9c3d37432b Fix small oversight in device_t/softc split. Pointed out by <jdc>. 2009-08-04 09:26:26 +00:00
taca
a86c093e69 Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.
Confirmed by msaito@.
2009-08-04 08:49:02 +00:00
dsl
42c6f77e6e Add #if NPCI > 1 around call to mp_pci_childdetached()
Fixes rst of PR/41301
2009-08-04 06:55:26 +00:00
pooka
fd3da5f6fe g/c cachepgmtx, i have no idea what it was supposed to be useful for. 2009-08-03 23:32:06 +00:00
rmind
3def089fbe Relate interfaces by updating "see also" section. 2009-08-03 23:29:19 +00:00
rmind
239c98c94b Merge vmem_alloc(9) & friends (it's a whole company) into a single vmem(9). 2009-08-03 23:15:29 +00:00
rmind
b4d747cb18 Merge workqueue_create(9), workqueue_destroy(9) and workqueue_enqueue(9)
into a single workqueue(9) man page.
2009-08-03 23:03:05 +00:00
wiz
27ce49cc21 Bump date for previous. 2009-08-03 22:22:10 +00:00
wiz
7455cfd148 Fix typo. 2009-08-03 22:20:07 +00:00
wiz
2e93bab0fb Remove trailing whitespace, and fix a typo. 2009-08-03 22:17:11 +00:00
wiz
62ab9add64 I guess ubc(9) should be used for all ubc_*(9) man pages, not only for
some. Make it so.
2009-08-03 22:16:01 +00:00
wiz
835184f2b5 Formatting nits. 2009-08-03 22:13:47 +00:00
pooka
49e7fefd6c play the "make signature match implementation-after-churn" game 2009-08-03 22:08:57 +00:00
joerg
15895248c1 Use OpenSSL's SHA256 support directly. 2009-08-03 20:56:25 +00:00
dsl
0c0bfe778a Only define x86_genfb_set_mapreg() and found_console when NPCI > 0
Fixes PR/41451
2009-08-03 20:15:14 +00:00
rmind
dc1dc00697 kmem(9): add code references, improve a little. 2009-08-03 20:10:16 +00:00
snj
7f43b2a600 Fix a typo inside a comment. 2009-08-03 20:06:36 +00:00
rmind
c783b6b33a Sync with reality a little, drop description of obsolete interface.
XXX: man page needs better wording.
2009-08-03 20:02:55 +00:00
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