Commit Graph

81792 Commits

Author SHA1 Message Date
lukem
51c3e093dc Use LDFLAGS (with $(CC) syntax) instead of appending to LD. 2006-06-25 14:12:14 +00:00
kent
b2c67a5653 * disconnect a stream and audio converters on a halt of the stream
* enable S/PDIF for a digital audio converter when connecting
 a stream
* rename "inputs.usingdac" to "playback.mode", and
 "record.usingadc" to "record.mode"
* add S/PDIF output configuration to ALC882
2006-06-25 13:41:58 +00:00
lukem
9073aac5f2 Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-06-25 13:36:26 +00:00
kiyohara
383a50d6cd Supoort read/write word. 2006-06-25 13:32:16 +00:00
yamt
f374633f81 remove some unnecessary casts. 2006-06-25 08:13:28 +00:00
yamt
0fca5c447b move SA related pools to where they are used. make them static. 2006-06-25 08:12:54 +00:00
yamt
44c017beb2 sa_makeupcalls: don't leak kernel stack garbage to userland. 2006-06-25 08:12:10 +00:00
yamt
bf0859e932 netbsd32_sacopyout: don't leak kernel stack garbage to userland. 2006-06-25 08:11:06 +00:00
yamt
8308eb1f7a implement kmem_zalloc. 2006-06-25 08:10:04 +00:00
yamt
23fcb7c3d3 sa_makeupcalls: cleanup usage of sae_sacopyout. 2006-06-25 08:09:10 +00:00
yamt
d038c11b60 sa_makeupcalls: simplify code and fix an sau leak on error. 2006-06-25 08:08:13 +00:00
yamt
5df39bb5be sa_makeupcalls: don't allocate big structures on stack. 2006-06-25 08:05:36 +00:00
yamt
d447115889 make amap use kmem_alloc, rather than malloc.
(ie. make it use kernel_map, rather than kmem_map.)
kmem_map is more restricted than kernel_map,
and there's no point for amap to use it.
2006-06-25 08:03:46 +00:00
yamt
bc4977819f 1. implement solaris-like vmem. (still primitive, though)
2. implement solaris-like kmem_alloc/free api, using #1.
   (note: this implementation is backed by kernel_map, thus can't be
   used from interrupt context.)
2006-06-25 08:00:01 +00:00
yamt
8dc7b19627 add a comment on if_agrprivate. 2006-06-25 07:50:00 +00:00
yamt
6108244889 remove unused M_SA. 2006-06-25 07:46:39 +00:00
kent
6d02918db1 ALC260 & Fujitsu LOOX:
mute the internal speaker when the headphone is inserted, and
unmute the internal speaker when the headphone is pulled out.
2006-06-25 07:36:33 +00:00
kent
59dc5ba7f0 printf() -> DPRINTF(()) 2006-06-25 06:37:20 +00:00
kent
3bd12046d3 avoid infinite recursive call of azalia_rirb_kick_unsol_events() 2006-06-25 06:34:08 +00:00
mrg
f71386cb37 -fwritable-strings is not valid for GCC4. 2006-06-25 05:12:29 +00:00
mrg
404c14b93f apply -Wno-pointer-sign and -fno-strict-aliasing. 2006-06-25 05:11:42 +00:00
kent
19cf46b4ef handle unsolicited responses.
A codec can receive unsolicited responses by codec_t::unsol_event()
2006-06-25 05:05:51 +00:00
soren
6ced4fcba5 Regen. 2006-06-25 03:47:26 +00:00
soren
07b847aa9a Add quirk for the not quite standard PCI bus in Parallels Desktop for Mac. 2006-06-25 03:46:56 +00:00
perry
9c74364e5b Add a power hook for the com device. 2006-06-25 00:39:21 +00:00
tsarna
d0e9109021 fix typo: idicator -> indicator 2006-06-24 23:40:50 +00:00
christos
f36aa0cd37 PR/33815: Nicolas Joly: /emul/linux/proc/#/stat always report current
process status
2006-06-24 16:34:02 +00:00
perseant
1c57171fe3 Change LFCNWRAP{STOP,GO} to make them more suitable for snapshotting; in
particular, the caller can now choose whether to wait for the condition
to be met, and if the caller of LFCNWRAPSTOP dies or otherwise closes
the descriptor, the filesystem is started again.  Updated the ckckp
regression test to use the new semantics.

dump_lfs(8) now uses the fcntls to implement LFS-style snapshotting through
the -X flag, addressing PR#33457 albeit not using fss(4).  Fixed a couple
other problems with dump_lfs that manifested themselves during testing.
2006-06-24 05:28:54 +00:00
mrg
8075fe8705 don't put the bpendtsleep handy breakpoint in sun2 kernels as the
output asm includes it twice causing multiply-defined symbols.
2006-06-24 05:23:06 +00:00
gendalia
109f1d8570 Add yet another broken 160GB seagate drive. Mine. ST3160021A. 2006-06-24 04:49:40 +00:00
tsutsui
f2e4550a60 Implement separate statclock(9) handler which uses the MIPS3 CPU INT5
internal timer compare register. Based on hp300 and arm implementation.

This is enabled by options ENABLE_INT5_STATCLOCK, but disabled by default.
2006-06-24 04:00:21 +00:00
tsutsui
2a8a21a021 Misc minor cleanup for arc interrupt handlers:
- always enable options MIPS3_ENABLE_CLOCK_INTR and just clear the compare
  register in cpu_intr() to make CLKF_BASE() works
  properly
- prepare only possible number of cpu_inttab
- use macro for interrupt priority number passed to arc_set_intr()
  to avoid confusion
- merge arc_hardware_intr() into cpu_intr()
- check independent timer interrupt first in cpu_intr()
- tweak MIPS_SR_INT_IE before calling hardclock timer handlers so that
  spllowersoftclock(9) will be invoked properly in hardclock(9)
- reenable interrupt for timer in cpu_intr() rather than each timer handlers

okay'ed by soda.

Note the real fix is to make CLKF_BASE() check all independent
interrupt sources including jazz and isa devices.
2006-06-24 03:50:38 +00:00
tsutsui
648df6ea96 Pass sed command path to asm2gas via environment
rather than arg. ok'ed by gdamore.
2006-06-24 03:28:42 +00:00
kent
8bbeab641c custom mixer table for CMI9880
PR#33787
2006-06-24 02:20:54 +00:00
kent
f6686d8a2d DAC&ADC group for CMI9880
PR#33787
2006-06-24 00:33:44 +00:00
kent
f7aa5ababf If the encoding of an audio converter is 0, refers
the audio function node.  CMI9880 0.2 has such ADCs.

PR#33787
2006-06-24 00:15:22 +00:00
christos
7173cfeec6 remove useless genop 2006-06-23 20:54:21 +00:00
bouyer
14349e5550 For internal types call kernfs_default_xread() directly, as no entry in
the splay tree has been added for these types. Fix kern/33797 by
Geoff C. Wing.
While here also fix writes the same way (probably broken for 2 years),
and properly implement KERNFS_XREAD.
The IPsec code could probably be moved out now, and use kernfs_alloctype().
2006-06-23 20:30:11 +00:00
drochner
9d26b198b5 remove dependency on "agr" to make "struct ifnet" independant of the
kernel configuration, avoids kernel/userland mismatches, ok by christos
2006-06-23 19:02:51 +00:00
bouyer
82722a8d91 Backout previous: of course the change
"Allow optional /kern regular files to have custom read methods..."
works, it's used by Xen.
2006-06-23 16:26:59 +00:00
drochner
99f30cd9d2 add a comment telling which structure members are zero-initialized,
as requested by YAMAMOTO Takashi
2006-06-23 16:17:23 +00:00
kent
f519fc40b7 add some constant macros for unsolicited response and jack sense 2006-06-23 15:49:28 +00:00
christos
c8ee2595ab PR/33797: Geoff C. Wing: kernfs files are not supplying information
Roll back the change:
    'Allow optional /kern regular files to have custom read methods...'
which does not work.
2006-06-23 14:59:40 +00:00
yamt
e408053d1b fix a simonb-timecounters regression.
the precision of getnanotime() is not suitable for file timestamps.
esp. when it's nfs-exported.

- introduce vfs_timestamp().
  (the name is from freebsd.  currently merely a wrapper of nanotime())
- for ufs-like filesystems, use it rather than getnanotime().

XXX check other filesystems.
2006-06-23 14:13:02 +00:00
garbled
17ca05a76f 1) Modify pnpbus attachment code to properly decode pnp memory range packets.
2) Modify pnpbus attachment code to record the chipid of the device if it
   has one.
3) Change the clock probes to use the chipid, rather than relying on
potentially untrustworthy subtype and interface.
4) Add decoding of memory ranges to the RESIDUAL_DUMP code.
5) Add a we@pnpbus device to allow netbooting and root device detection
from an IBM we ethernet.  (it will only work if your firmware detects it)
6) Because I moved the pnpbus probe to occur prior to pci and isa, it
screwed up the root device detection and firmware path building code.
Completely rewrite the fw-path detection code to deal with this.
2006-06-23 03:08:41 +00:00
christos
e07adf704d PR/33794: Arnaud Degroote: Wiconfig is broken in current. I broke it with
the previous set of stack changes.
2006-06-22 21:53:37 +00:00
jmcneill
242a0791bd Add timecounter support for Intel PIIX Power Management Controllers.
Ok kardel@.
2006-06-22 16:49:01 +00:00
jmcneill
f86d875a7a Add an 'uninit' callback to PCI ICU drivers. This allows (for example) the
PIIX support to release its mapping on the edge/level control registers.

Now that these are guaranteed to be unmapped, capture and restore the
registers in piixpcib(4)'s powerhook. The same will need to be done on a
per-chipset basis.

Concerns were raised about calling pci_intr_fixup on resume WRT hotplug
devices, so this has been removed.

Ok cube@.
2006-06-22 16:24:34 +00:00
jmcneill
58e47b4c68 Only call pci_intr_fixup if both PCI_INTR_FIXUP and PCIBIOS options are
defined.
2006-06-22 13:05:28 +00:00
explorer
02018a0856 formatting nit, newline, print device name 2006-06-21 21:09:36 +00:00