christos
2e3ee66dc7
regen
2007-11-11 18:28:18 +00:00
pooka
b0106b7eaf
Don't overload "attributes last read" for the symlink cache,
...
use a separate variable.
2007-11-11 18:06:35 +00:00
jmcneill
0994f0a98c
Enable pad(4)
2007-11-11 18:06:24 +00:00
bouyer
d64cd0dda9
Move a delay() inside a loop, so that the 1s delay is really 1s.
2007-11-11 18:03:46 +00:00
jmcneill
7d666065e7
Enable pad(4)
2007-11-11 17:56:10 +00:00
jmcneill
a5bfefb1b0
Add support for /dev/padN devices
2007-11-11 17:54:47 +00:00
jmcneill
8a1105f670
Note addition of pad(4)
2007-11-11 17:50:23 +00:00
dsl
ab78fc54c0
Don't include opt_xxx when _LKM is defined.
...
Should fix build of netbsd32 as a lkm
2007-11-11 17:48:51 +00:00
jmcneill
77deea4733
Add man page for pseudo-audio device driver.
2007-11-11 17:45:18 +00:00
jmcneill
23526fe3a9
Add pseudo audio device driver. With this pseudo-device, audio played back
...
via the standard audio interfaces is redirected back to userland as raw
PCM data on /dev/padN.
One example usage is to stream audio to an AirTunes compatible device using
rtunes (http://www.nazgul.ch/dev_rtunes.html ), ie:
$ rtunes - < /dev/pad0
$ mpg123 -a /dev/sound1 blah.mp3
Another option is to capture audio output from eg. Real Player, by simply
instructing Real Player to output to /dev/sound1, and running:
$ cat /dev/pad0 > blah.pcm
2007-11-11 17:37:45 +00:00
cube
66a59dcc4f
Don't defattr machinearch if it's NULL. Pointed out by
...
Juergen Hannken-Illjes.
2007-11-11 17:35:27 +00:00
pooka
f48aa71ad4
fix build (hi rmind!)
2007-11-11 17:18:47 +00:00
pooka
db2e7d6a05
include putter only if it's actually defined
2007-11-11 16:58:02 +00:00
pooka
7744bdf5d3
default to no debug
2007-11-11 16:57:36 +00:00
isaki
3a7a8e72de
x68k's floppy is 8*2 sect/cyl, not 18*2 sect/cyl.
2007-11-11 13:23:07 +00:00
plunky
7cca9485cc
convert device printf() usages to aprint_xxxx()
2007-11-11 12:59:02 +00:00
plunky
8658057a5d
bluetooth stack now keeps a device_t and passes it to device callbacks,
...
update bcsp to new reality
2007-11-11 12:54:23 +00:00
agc
f2e9f627b5
Only use the bottom 20bits for an inode number to prevent the inode number creeping out of range for fts
2007-11-11 09:31:31 +00:00
agc
762d3dee18
Use the new virtual inode number, which is calculated at directory entry
...
insertion time, to prevent fts thinking that we have directory cycles.
2007-11-11 09:25:37 +00:00
agc
8abe1b3c75
Include a (random) inode number in the virtual directory information that
...
is held. Return this as part of the virtual entry information.
Prevents problems with fts code thinking that some directories create
a cycle.
2007-11-11 09:23:29 +00:00
isaki
61510aae55
${PROG} depends on libsa and libiocs.
2007-11-11 05:33:12 +00:00
isaki
eaf7a401b6
Style fix.
2007-11-11 05:20:26 +00:00
reed
dc638c10e7
Fix typo, merge sentences. From Adrian S. in PR #37357 .
2007-11-11 05:17:59 +00:00
ad
7d979d5024
pmap_load: pmap_reference() can no longer block.
2007-11-11 01:30:55 +00:00
ad
39a25a40ee
Make xen build again.
2007-11-11 01:27:43 +00:00
wiz
8129917e9b
cron-4.3 out.
2007-11-11 00:36:54 +00:00
plunky
0b799668fb
use more device_t and device_xxx() accessors
...
make bluetooth stack keep device_t instead of softc pointer as
device is not necessarily part of softc, and pass device_t to
driver callbacks. hci_devname is no longer required.
2007-11-10 23:12:22 +00:00
ad
7aaa70d105
fsbase/gsbase:
...
- Fix a few bugs with it, in particular fork/exec handling.
- Store the descriptors in the PCB, not in the LWP.
2007-11-10 23:04:28 +00:00
pooka
b79e72eb16
add pseudo-device putter
2007-11-10 21:45:47 +00:00
pooka
f2031ea28b
Part 2/n of extensive changes to request transport to/from userspace:
...
Rip the transport code completely out of puffs and generalize it
into an independent module which will be used for multiple purposes
in the future. This module is called the Pass-to-Userspace
Transporter (known as "putter" among friends).
This is very much work-in-progress and one dependency with puffs
remains: the request framing format.
The device name is still /dev/puffs, but that will change soon.
Users of puffs need the following in their kernel configs now:
pseudo-device putter
2007-11-10 21:45:04 +00:00
jmcneill
7eb0882f87
Wups, bump date.
2007-11-10 20:55:33 +00:00
jmcneill
70e507c576
It's mixer_ctrl_t, not mixer_ctl_t.
2007-11-10 20:54:56 +00:00
ad
7135f4bde9
- When computing the TSC frequency, call i8254_delay() and not DELAY().
...
- Use atomics to adjust the pmap reference count, instead of taking locks.
- Implement I386_{SET,GET}_{FS,GS}BASE, allowing %fs and %gs to be used
as per-thread registers. This is compatible with FreeBSD.
- Run patches after we have attached CPUs, since we then know if the
system is uniprocessor or not. Eliminates a lot of #ifdef MULTIPROCESSOR
and makes running MP kernels on UP systems cheaper.
- Patch out many of the 'lock' prefixes to nops if uniprocessor.
- Do a wbinvd after patching to ensure that the trace/instruction cache
is up to date.
2007-11-10 20:06:23 +00:00
dsl
c26c7cc378
Constants for system call number now start NETBSD32_SYS_
...
netbsd32 for sprac64 builds again.
2007-11-10 19:01:28 +00:00
dsl
f36a9ec28b
Fix builds for ports that don't define __HAVE_MINIMAL_EMUL (eg sparc64).
...
Fallout from a change that made #define names for syscalls (etc) start
NETBSD32 (not netbsd32).
2007-11-10 18:55:42 +00:00
rmind
f499d5e662
Use PRI_BIO for kthreads instead of PINOD. Fixes a missed case of priority
...
inversion, which caused LFS to fire some assertions.
Reported by Kurt Schreiner on <current-users>.
2007-11-10 18:53:57 +00:00
pooka
6b4d0688e7
Cache readlink results similarly to attributes. Makes "cd" fast
...
for a slow connection if a symlink is along the path.
(this should be done elsewhere, but I want it for sshfs now)
2007-11-10 18:36:06 +00:00
ad
0f8b0df960
Call ttyflush() with tty_lock held.
2007-11-10 18:29:36 +00:00
ad
d6bd505623
zsstart, zstty_txsoft: don't acquire tty_lock, it's already held.
2007-11-10 18:07:53 +00:00
pooka
655af89222
Fix more uninitialized uses of variables.
...
noticed by lukasz.siemiradzki
2007-11-10 18:03:15 +00:00
ad
61eac7ea23
Call ttyoutput/ttstart with tty_lock held.
2007-11-10 18:00:11 +00:00
ad
9892c881ed
Put back equivalent change to rev 1.189 which was lost:
...
setrunnable: adjust to slightly different locking strategy post
yamt-idlewlp. Should fix kern/36398. Untested due to connectivity issues.
2007-11-10 17:45:10 +00:00
dsl
8e547d329f
Compat pecoff uses the standard netbsd system call interface.
2007-11-10 14:41:51 +00:00
dsl
ddd89ca02b
regen
2007-11-10 13:24:27 +00:00
dsl
b6b07a31fd
Mark 'syscall' as 'NOARGS INDIR"
2007-11-10 13:23:18 +00:00
dsl
84e8b2869e
Support "NOARGS INDIR" for compat_mach.
2007-11-10 13:22:11 +00:00
dsl
3f7d4f8a4a
Re-instate COMPAT_PECOFF, it is largely userspace and can use the standard
...
syscall table.
2007-11-10 13:17:24 +00:00
yamt
39ae1abcc0
g/c MBUFTRACE_ASSERT
2007-11-10 13:06:23 +00:00
plunky
fb65dc6e6b
'struct device *' -> 'device-t'
2007-11-10 12:33:21 +00:00
yamt
bea40b2aa3
don't bother to print unmaintained statistics. (m_drops, m_wait)
2007-11-10 12:05:08 +00:00