Commit Graph

24340 Commits

Author SHA1 Message Date
matt
b10d12581a Regen. 2008-08-22 03:23:30 +00:00
matt
0793292db9 Add APPLE ETHERNET 2008-08-22 03:22:25 +00:00
drochner
8991542aa2 use M_NOWAIT in an early allocation for consistency, from Kevin Lo 2008-08-21 12:25:03 +00:00
tacha
df79ac9f1c Add support for nVidia MediaShield ata raid found on HP ProLiant ML115.
Tested on HEAD and netbsd-4 branch with RAID0, RAID1, SPAN with MCP55 SATA controller.
2008-08-20 15:00:34 +00:00
matthias
b6d0bc4809 Regen. 2008-08-19 10:02:42 +00:00
matthias
799947390b Typo 2008-08-19 10:02:18 +00:00
matthias
0cbadedafe Add agp support for Intel 946gz. 2008-08-19 09:59:54 +00:00
matthias
0d4c4926d9 Regen. 2008-08-19 09:44:14 +00:00
matthias
3bd0efb138 Add pci ids for intel 82946GZ_{HB,IG} (used in my AcerPower 2000) 2008-08-19 09:41:40 +00:00
cube
1f9f95eab3 - Make RX queue free list code look like in if_wpi.c, including:
- Protect RX queue free list with a mutex, as it was done in so many
  network drivers now that it calls for common code, as dyoung@ points
  out.

However, for now it should improve a bit iwn(4)'s stability.
2008-08-18 21:19:22 +00:00
kent
fb5a41ad3a Implement uhub_rescan(). After this change, "modload uaudio.kmod"
configures an audio device correctly for a device which is already
plugged.

* usb_subr.c
 Add locators parameter to usbd_attachinterfaces()
 Add usbd_reatach_device()

* usbdivar.h
 Export usbd_reatach_device()
2008-08-18 18:03:21 +00:00
cegger
6746e5563f regen. 2008-08-18 11:49:34 +00:00
cegger
64fb7cf189 add Cherry 6000 keyboard 2008-08-18 11:48:23 +00:00
drochner
d564f76750 fix my last commit: add missing "break"s, from Marcus Glocker 2008-08-16 15:41:37 +00:00
dan
f24c599f2e mark callout mpsafe, next comes moving some of the (silly) estimator
work from the initial collection to the later callout.
2008-08-16 13:07:30 +00:00
dan
1ace407f7e g/c unused #define 2008-08-16 12:33:18 +00:00
dan
7e7054bfea replace splsoftclock protection of the rndpool and related state with
another mutex.
2008-08-16 12:23:34 +00:00
dan
b674194f5c replace splvm() protection of sample queue and device state with a mutex 2008-08-16 10:19:21 +00:00
dan
5249a0ab2d remove unnecessary splvm() calls around simple pool_get/put, obsoleted
by pool internal locks since vmlocking merged.
2008-08-16 07:37:14 +00:00
simonb
fa98959cf6 When receiving a chain with multiple mbufs (eg a jumbo frame) make sure
the last mbuf in the chain doesn't have a negative length when adjusting
lengths when removing the FCS (which leads to a panic in sbcompress()).

Fix contributed by Wasabi Systems.
2008-08-15 15:45:52 +00:00
jmcneill
3db8886a8e AD1984: Take advantage of pin auto-config and auto-naming. 2008-08-15 13:47:25 +00:00
jmcneill
750f206837 Skip unconnected pins when creating a selector connlist. 2008-08-15 11:22:59 +00:00
hannken
8c66a4c56f Fail requests from pagedaemon that need to copy-on-write. 2008-08-15 10:31:24 +00:00
jmcneill
22870f3a1f PR#38860: azalia record does not work on Realtek ALC662-GR
o Don't add unconnected pins to generated mixer list, should help
    make auto-generated mixer lists slightly easier to work with.
  o Move COP_AWTYPE_AUDIO_MIXER type knobs to mix.* rather than polluting
    the inputs.* namespace and giving a few more characters for the
    auto-generated names.
  o Introduce an alternate to generic_mixer_init, generic_mixer_autoinit.
    generic_mixer_autoinit uses COP_AWTYPE_PIN_COMPLEX "default
    configuration" capability flags to determine proper pin widget control
    and eapd configuration, as well as creating virtual outputs.master,
    inputs.dac, and record.volume mixer controls that mirror the default
    dac and adc controls.
  o Introduce generic_mixer_init_widget which uses COP_AWTYPE_PIN_COMPLEX
    "default configuration" device type, gross location, and geometric
    locations to guess friendlier mixer control names.
  o On ALC662-GR, the primary ADC NID is 0x09, not 0x08, so correct the
    convgroupset in alc662_init_dacgroup.

Audio capture now works on ALC662-GR (as found in the ASUS EeePC 701).
Note that only ALC662-GR uses generic_mixer_autoinit and
generic_mixer_init_widget; other codecs will need to be tested and
converted to address PR#38578: azalia_codec.o is too large.
2008-08-14 23:43:27 +00:00
drochner
fdb6ecdb00 free memory on detach, fixes memory leak, from Andreas Jacobs per
PR kern/39322
2008-08-13 09:43:56 +00:00
hans
094d45b30f Add new accelerated driver for SPX graphics found in some VAXstations,
remove old broken lcspx driver. This is a bugfixed and refactored
version of the spx driver originally developed by Blaz Antonic in 2005.
OK'ed by mhitch.
2008-08-12 17:54:47 +00:00
drochner
a1d4089483 fix an off-by-one in isochronous interval check, and streamline some
frame / microframe calculation, avoiding overestimation of frames needed,
reviewed by Jared D. McNeill
2008-08-12 16:35:06 +00:00
drochner
95effdc79e fix an inconsistency in a check for invalid configuration index vs. value;
noticed by Frank Wille in PR kern/39211, but unrelated to the problem
described (The check can practically never be hit.)
2008-08-12 16:30:42 +00:00
hannken
93d3ff0e45 Deny read/write access to snapshot vnodes. We use fss(4) to read from
snapshots.  With this policy in place:

- Separate the snapshot vnode lock from the snapshot common lock.
  Snapshots no longer need recursive vnode locks.

- Use a mutex (si_snaplock) to serialize creation, deletion, reading and
  writing of snapshots.

- Move ffs_read() for snapshots into ffs_snapshot.c.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>

While here change ffs_copyonwrite() to fail requests from pagedaemon that need
to copy-on-write.
2008-08-12 10:14:37 +00:00
simonb
d3111754f6 Add polling support to ld_twe_flush().
Fixes the "cpu_switcho: switching above IPL_SCHED" panic for ld@twe
disks on shutdown in kern/38655.
2008-08-11 06:46:10 +00:00
simonb
82bb1c2ff8 Add a flags argument to the ld(4) flush handlers, and call these with a
"poll" flag when called from ld_shutdown().

This is the infrastructure part of kern/38655 - in itself it doesn't
fix the panic referenced in that PR.

XXX: At least ld_twa.c and perhaps ld_iop.c and ld_icp.c need to
check for this new poll flag and do something useful.
2008-08-11 06:43:37 +00:00
pooka
3ad5d8db21 KASSERT works better with == instead of = 2008-08-08 13:02:10 +00:00
drochner
4e69f53b47 remove a KASSERT which is wrong since audio(4)'s device/softc were split 2008-08-06 16:31:15 +00:00
dyoung
2b1e3ce6be Identify the O2 Micro OZ711E0 and treat it the same as all of the
other O2 Micro bridges, which seem to spuriously report bus errors
if parity-error detection is enabled.
2008-08-06 15:50:46 +00:00
dyoung
4738cebcdd Regen. 2008-08-06 15:17:05 +00:00
dyoung
711281588b Define O2 Micro OZ711E0. From OpenBSD. 2008-08-06 15:14:21 +00:00
plunky
fd7356a917 Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core
2008-08-06 15:01:23 +00:00
cegger
6223c57814 make i386 ALL kernel compile 2008-08-03 07:05:22 +00:00
joerg
3ea923f75a Allow using VGA_POST without ACPI again. 2008-08-03 02:12:22 +00:00
jmcneill
cd4f8360bb High speed isochronous transfer support, from Jeremy Morse as part of
Google Summer of Code 2008.
2008-08-02 23:14:34 +00:00
jmcneill
c4b944ba64 Update copyright. 2008-08-02 22:57:36 +00:00
jmcneill
4e6a458107 High speed isochronous support, from Jeremy Morse as part of Google
Summer of Code 2008.
2008-08-02 22:23:18 +00:00
macallan
f675bba464 fix incomplete device_t-ification
Now it works again.
2008-08-01 19:33:07 +00:00
dillo
7767511f21 Increase delay after channel reset from 100ms to 500ms, suggested by bouyer.
Fixes unreliable drive detection on NVIDIA MCP67.
2008-08-01 17:41:54 +00:00
dillo
f6bd05d87b Force ahcisata to attach to NVIDIA MCP65 and MCP67, as they don't
work with viaide.

Reviewed by bouyer.
2008-08-01 17:17:35 +00:00
ws
d172dc9df5 Destroy our mutex on detach in order to avoid
an "allocation contains active lock" panic
when halting a LOCKDEBUG kernel.
2008-08-01 16:09:45 +00:00
drochner
551e75d811 -ubsa needs to be attached as whole device on USB, because it sets
the configuration. The match/attach code was assuming whole-device
 attach args all the time.
-Use the first (ie index 0) configuration for ubsa -- it makes the
 code work in at least one case (PR kern/39211 by Frank Wille), and
 there is no indication that an alternative configuration would
 be needed. (I've admittedly never seen a usb device with more than
 one configuration.)
This fixes mistakes when uhmodem support was added, and the changes were
not tested with a Huawei device yet. So please test if you can.
2008-07-31 22:01:15 +00:00
joerg
0b2a6aef84 machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do a
POST when options VGA_POST is present.
2008-07-31 14:05:05 +00:00
ws
f83cc7d5ab Calling fxp_init within the interrupt handler results in
a hang (continuous assertion of FXP_SCB_STATACK_RNR).
Instead do it in the ioctl routine after receiving a
signal from the interrupt handler.
2008-07-31 12:28:28 +00:00
tron
2542692463 Regen. 2008-07-29 21:13:48 +00:00