Commit Graph

158850 Commits

Author SHA1 Message Date
xtraeme ff1c414804 Split the ug(4) driver in three components:
* dev/ic/ug.c (main code shared by the attachments)
	* dev/isa/ug_isa.c (isa attachment)
	* dev/acpi/ug_acpi.c (acpi attachment)

That means that ug(4) can now be attached via ACPI.

Thanks to Mihai Chelaru for the good work.
2007-05-08 16:48:37 +00:00
pooka 8e2e7c23e6 update comment in struct fid to say the alignment is for prehistoric
compat: short + short doesn't mean longword alignment
2007-05-08 15:30:41 +00:00
degroote 5f72dadbd4 Always compute the sp index even if we don't have any sp in spd. It will
let us to choose the right default policy (based on the adress family
requested).

While here, fix an error message
2007-05-08 14:07:42 +00:00
degroote 8ebbd6c4f6 Increase the refcount for the default ipv6 policy so nobody can reclaim it 2007-05-08 14:03:05 +00:00
pavel 96fc9b91a3 mpve ipf 4.1.20 entry to CHANGES.prev (ticket 614) 2007-05-08 11:37:11 +00:00
pavel f05eb54658 move the bio(4) support to CHANGES.prev, it has been pulled up to netbsd-4
in ticket 603.
2007-05-08 10:59:22 +00:00
manu f39939ad43 Fix buid (broken by a fix introduced in the wrong file...) 2007-05-08 09:29:50 +00:00
manu 4c2867b970 Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time. 2007-05-08 08:18:16 +00:00
skrll 7b06b6fc23 Remove useless comment. 2007-05-08 07:06:45 +00:00
skrll bd22722e77 Use sr1 to jump to syscall as we just loaded it with the right value. 2007-05-08 07:01:17 +00:00
martin 7b277a1e3c Make named use threads on sparc and sparc64 again 2007-05-08 06:23:44 +00:00
manu 31b57f40ff Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time.
This allows working around situations where a kernel with embedded RAMdisk
cannot be booted by the bootloader because the RAMdisk is too big.
2007-05-08 06:10:27 +00:00
kent ec3dff2790 fix a typo: PRESENSE -> PRESENCE
From deanna@OpenBSD
2007-05-08 05:18:20 +00:00
kent fea2165faf - fix incorrect codec name of STAC9200
- support for headphone-sensing in some DELL machines with STAC9200

From azalia_codec.c rev.1.19 by deanna@OpenBSD
2007-05-08 05:03:50 +00:00
kent cdc3ad42b2 * azalia_code_connect_stream()
set stream#0 for unused converters in a group

PR#35658 by kikuma norimitsu
2007-05-08 04:35:37 +00:00
rumble f2bf28e11c Report whether we're using DMA and what type on attach, since I keep losing
track while testing.
2007-05-08 02:08:17 +00:00
kent 1aa70e7d65 Some codecs need explicit initialization even for uni-directional pins.
Pointed out by Deanna Phillips
2007-05-08 01:39:33 +00:00
rumble f337484a4a The maximum FIFO depth on old WD33C93 parts is only 5, not 12 as on 93A and
93B. However, there appear to be issues using the maximum of 5 on old
parts, so 4 is it.
2007-05-08 00:29:30 +00:00
rumble 11dc14c9fe Enable Fast SCSI transfers for WD33C93B parts with appropriate input
clocks.

My Seagate ST32430N now sees about 50% greater throughput (about 97% as
fast as IRIX can push it). However, there appear to be other performance
issues with the driver as other disks perform significantly worse than they
should, with or without this change.

Reviewed by bjh21. Tested on my Indy and Challenge S.
2007-05-08 00:20:15 +00:00
rmind 10c3d35ca0 Rename vfs_aio.c to sys_aio.c as decided in <tech-kern>.
Please note, that <tech-kern> people should note about
file names before commit. Otherwise, function may fail
with errno set to EDIRTY, and return -1. ;)
2007-05-07 22:22:20 +00:00
pooka 71ab04cbde make description of VOP_MMAP compatible with reality 2007-05-07 21:41:49 +00:00
dogcow 01b74015fe fixes from dsl for compile errors 2007-05-07 21:18:26 +00:00
martin 8341c5308c Note sunsolve now requires a login. 2007-05-07 19:45:59 +00:00
martin 4f9040b578 Adapt unsupported hardware section 2007-05-07 19:34:19 +00:00
he 1d168d71bb Bump SYMTAB_SPACE so that the contents fits again. 2007-05-07 18:51:45 +00:00
pooka d583f4a1ec Unmount frequently requires some test code, so define it here as
a dummy instead of libpuffs to make plugging the test code in easier.
2007-05-07 17:22:50 +00:00
pooka dca252d8a0 Use inactive-on-demand, set inactive request in open() to close
file handles when last reference is removed from the kernel.
2007-05-07 17:20:58 +00:00
pooka 2893a07834 Default to inactive-on-demand, use inactive setback to request inactive
to be called for a removed node (for unix open file semantics).
2007-05-07 17:18:50 +00:00
pooka 7faf2bccbe Add puffs_setback(), which can be used to set setbacks for nodes before
the call returns to the kernel.  Currently it can be called only from
open(), mmap(), remove() and rmdir().  (But that might change)
2007-05-07 17:16:07 +00:00
pooka 151ee075e9 Introduce puffs "setbacks", which can be used to set certain flags
for nodes upon return from the userspace.  Currently it can be used
to indicate that the file server should be notified of "inactive"
in case the file server has opted to not receive inactive every
time the reference count for a vnode drops to zero.  (inactive is
a common event, almost never requires any action and must be executed
sychronously, so it is wasteful).

While doing this, cleanup the release-relock nonsense from the
vntouser*() arguments.  It was never enabled and the whole LOCKEDVP()
concept was very broken to begin with.
2007-05-07 17:14:54 +00:00
dsl 1844147fa9 Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.
2007-05-07 16:53:17 +00:00
he 1276917b53 Remove now-unused declarations of "struct proc *p". 2007-05-07 14:13:00 +00:00
yamt 03df1926ce mention ipv6 link local addresses. 2007-05-07 13:11:01 +00:00
yamt 2d1958e0af yamt-idlelwp-base6 2007-05-07 13:05:17 +00:00
yamt e332a34211 add an evcnt and some assertions. 2007-05-07 12:39:45 +00:00
he 2751cf9440 Remove two local declarations of *p, now no longer needed. 2007-05-07 12:24:00 +00:00
yamt 59fdf737d5 add bioctl.debug. 2007-05-07 11:17:13 +00:00
yamt d4bb61958b flush_inodedep_deps: fix access after free. PR/29724. 2007-05-07 11:13:01 +00:00
xtraeme 04ae3cd1d0 Remove an extra comma. 2007-05-07 11:02:21 +00:00
xtraeme 664bf29811 Mention mfi(4), bump date. 2007-05-07 11:00:43 +00:00
xtraeme 6b5eadf8c1 Don't refresh all sensors in the gtredata function, just the sensor
that was requested. This is related to PR kern/36226.
2007-05-07 10:54:44 +00:00
dsl 832ca390e2 Add child rusage values to exiting process in 'find_stopped_child'
so that it is (correctlly) available to the caller of wait4().
The self and child rusage values remain split for zombies.
2007-05-07 09:30:14 +00:00
jnemeth 3377bd5221 PR/36234 - Joerg Niendorf -- xi -> xirc 2007-05-07 09:02:05 +00:00
xtraeme 7435f0af77 Don't refresh all sensors in the gtredata function, just the sensor
that was requested. This is related to PR kern/36226.

Patch from Mihai Chelaru in private email.
2007-05-07 07:48:28 +00:00
xtraeme 0f4f0899c9 Enable rum(4). 2007-05-07 07:42:21 +00:00
xtraeme 5c606d1bff regen 2007-05-07 07:29:19 +00:00
xtraeme ef71458b16 Sync the list of supported models with OpenBSD, 4 new models were
added.
2007-05-07 07:29:03 +00:00
xtraeme ec414f7633 regen 2007-05-07 07:15:16 +00:00
xtraeme 0a7a89a5bc Sync the list of supported models with OpenBSD, 13 new models were
added.
2007-05-07 07:14:58 +00:00
martti 1a4bf0c822 Better dependency handling for the ip2 test. 2007-05-07 07:06:30 +00:00