Commit Graph

27453 Commits

Author SHA1 Message Date
taca 7587f075b4 Remove duplicate entries:
* "vendor SYBATECH" exists as vendor SYBA.
* "product INTEL 82915G_IGD" simply duplicated.
2010-10-14 03:35:23 +00:00
gsutre e28e04ce32 Merge ACPI display driver. Provides generic support for brightness
control and output switching, through ACPI video extensions.

TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.

ok jruoho@
also discussed with cegger@ and jmcneill@
2010-10-12 19:10:49 +00:00
macallan d199f85d70 fix off-by-one error which happened when the first mode with matching size is
also the best match by refresh rate
2010-10-12 16:18:19 +00:00
macallan 598ca8db3e make higher resolutions than 1024x768 work 2010-10-12 16:00:21 +00:00
christos d0d0f54f24 restore binary compatibility for amd64; requested by joerg. 2010-10-10 21:24:34 +00:00
kiyohara f96f01c382 Add options STRTC_NO_USERRAM and STRTC_NO_WATCHDOG for m41t80. 2010-10-10 05:17:44 +00:00
kiyohara fc53f5307a Add timeout for wait.
Not send STOP, if received ACK.
2010-10-10 04:49:48 +00:00
phx e5dc6216e2 Missing \n after printing device type. 2010-10-09 19:46:15 +00:00
haad 2b4880da46 In rome do as romans do. If I will get EEXIST from devsw_attach don't exit and
continue. This unbreaks usage of libdm in RUMP.
2010-10-09 12:56:06 +00:00
kiyohara 171c49e42c Add more explanation to XXXX. It value from Marvell LSP. 2010-10-08 11:20:22 +00:00
gsutre 646cb7e223 Store sysctl MIBs instead of a pointer to the root of the sysctl
sub-tree (because the pointer may be invalid at the time we use it).

ok jruoho@
2010-10-08 07:04:31 +00:00
macallan 895c84f438 use WSDISPLAYIO_PARAM_BACKLIGHT as a switch and WSDISPLAYIO_PARAM_BRIGHTNESS
for backlight level instead of following radeonfb
TODO: adapt radeonfb and powerd scripts
2010-10-07 20:39:54 +00:00
kiyohara 8cd794a74b Fix build failure. s/const static/static const/. 2010-10-07 16:26:37 +00:00
kiyohara b5a696dfa9 Fix read CIS. And pass to attach args the standard function interface code. 2010-10-07 12:40:34 +00:00
kiyohara 881038840f Remove unnecessary Tab. 2010-10-07 12:28:34 +00:00
kiyohara 62d43dee68 Support High-Speed mode. 2010-10-07 12:24:23 +00:00
kiyohara 370119eed5 Support change Open-drain/Push-pull by bus_rod(). 2010-10-07 12:06:09 +00:00
kiyohara 9e2097666b Add bus_rod. It use to change to Data Transfer mode. 2010-10-07 12:00:21 +00:00
macallan 4fbc897fbb finish device_t-ification 2010-10-07 07:53:53 +00:00
jakllsch 563adefd93 Fix vcore readings in some cases on W83627THF by being mindful of the VRM9 mode. 2010-10-06 18:13:33 +00:00
macallan 699e821c1d add support for backlight control via machine dependent callbacks 2010-10-06 02:24:35 +00:00
kiyohara 0ad10ce34f Fix ack/no-ack. Last data sends with stop-bit without ack. 2010-10-03 07:14:33 +00:00
macallan 7ad510fcea cleanup debug code 2010-10-02 23:54:03 +00:00
macallan 7540c6ba94 fix a typo 2010-10-02 23:50:04 +00:00
jym c833615d4e Revert christos@ fix for the i386 paddr_t change and agp_allocate.
Make 'physical' element of the struct agp_allocate an uint32_t. This
is similar to what other kernels do (at least Solaris and Linux).

This patch should make xserver work again within an i386 userland in a
64 bits paddr_t world.

Thanks to Iain Hibbert for reporting the break, and providing initial hints.

See http://mail-index.netbsd.org/current-users/2010/09/27/msg014418.html
2010-10-02 21:52:14 +00:00
gsutre 92e792e4a4 Drop _HID requirement for attachment under acpi(4). From now on,
drivers attaching to the acpinodebus interface should not assume
that the passed acpi_devnode has a valid _HID.

ok jruoho@
2010-10-02 18:06:47 +00:00
kiyohara 7ed1ebb1b1 Add g760a.
Cleanup Marvell SC/SoC peripheral drivers.
2010-10-02 06:09:45 +00:00
kiyohara bdef090b06 Add G760a fan speed controller driver. 2010-10-02 06:07:37 +00:00
kiyohara f876f061d1 Support Kirkwood's GbE. 2010-10-02 05:57:42 +00:00
kiyohara d7b57ebb2b Add Marvell EHCI Controller wrapper.
However, because this driver has some problems now, it will not work the
way things are going.
2010-10-02 05:53:37 +00:00
macallan 17887680e3 clarify how backlight control ioctl()s are supposed to work
TODO: adapt r128fb and radeonfb
2010-10-02 00:52:02 +00:00
christos e5041587f1 regen 2010-10-01 21:08:27 +00:00
christos 2917d71243 from Anon Ymous:
Clear the any endpoint stall in the interrupt handler.  All other
drivers do this and I am pretty sure we need to as well, though I have
yet to see a stall in the handler.
2010-10-01 20:56:50 +00:00
christos 0a99a7950b From Anon Ymous:
Add support for the Zoom 3095 USB Fax Modem.  There are some problems
with this modem:

1) The CS descriptors were placed after all other descriptors rather
than in the Control Interface.  This is true in both configurations
and is the issue this patch deals with.

2) Modem audio is not done on the modem.  There is a second
configuration with an extra interface (3 interfaces) which presumably
is for handling audio.  This patch does not support that.

3) The interrupts are raised a bit slowly.  This means that pppd(8)
needs to wait a bit before trying to read from the link (i.e., just
before the get_input() loop in src/dist/pppd/pppd/main.c line 547).
If you don't wait, then DCD will not be detected high before that
first read and get_input() will drop the line.  This is not a problem
if you use the "local" option to pppd(8) and ignore DCD, but that is
less than desirable.

4) You apparently have to toggle "RSDL (DCD) option"[1] when you
initialize the modem or you will never see a second DCD high interrupt
when redialing after a disconnect.  Without this the pppd(8) "persist"
mode will not work.  Presumably, some extra initialization is missing
from the driver for this chipset.

[1] Send the AT commands: AT&C0 followed by AT&C1 - doing it in one
command doesn't work.  The AT commands for this modem are at:
http://www.zoom.com/documentation/dial_up/3095F_ATcommands.pdf
2010-10-01 20:56:10 +00:00
christos 713df9b0d9 remove debugging statements that have no chance of working (they crash)
since they are called from a context where we cannot log.
2010-10-01 17:02:35 +00:00
kiyohara 542a9f73d8 Use DMA bounce buffer, if DMA buffer is making by multiple segments. A lot
of host controllers do not support to two or more segments.
2010-10-01 09:50:42 +00:00
macallan 672cabf514 use the drawing engine to draw characters so we don't have to sync after each
command and don't need to map the framebuffer anymore
2010-09-30 03:16:51 +00:00
macallan 9d850516d4 add a couple more register definitions, mostly from xf86-video-r128 2010-09-30 03:14:39 +00:00
christos 65e9d79b30 make this compile. 2010-09-28 20:14:11 +00:00
christos bf1dd8baad - fixes from Jean-Yves Migeon
- handle transitional paddr_t period for i386
2010-09-28 14:02:48 +00:00
christos dd6d336f67 move all the compat code here, and #ifdef __i386__ from mrg. 2010-09-27 22:53:46 +00:00
christos 2b8db0f1a7 backwards compat code for paddr_t being 32 bits. 2010-09-27 21:25:38 +00:00
kiyohara 40c1055637 Add some IDs. (9210/9211/9220/9221) 2010-09-27 12:29:03 +00:00
tsutsui 15ed98d439 Regen from usbdevs rev 1.562:
> Add support for I/O DATA ETX-US2.
2010-09-25 15:30:30 +00:00
tsutsui 50278ead3f Add support for I/O DATA ETX-US2.
Patch from PR kern/43040.
2010-09-25 15:29:40 +00:00
gsutre a9c0568376 Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@
2010-09-24 07:48:59 +00:00
kiyohara c9cd553838 Add Marvell Secure Digital Input/Output (SDIO) Interface Driver. 2010-09-23 12:36:01 +00:00
kiyohara 014c324421 Print bus width and clock for feature(High speed support). 2010-09-23 12:03:27 +00:00
kiyohara e02699bf8c Back out previous change. "automagically" is NOT a typo. 2010-09-22 04:32:53 +00:00
pgoyette c5da67f0a2 1. Don't try to call the driver's get_limits routine if it doesn't have
one.  Fixes a panic reported by njoly@ in private Email

2. Acquire the device before checking whether or not the get_limits
   routine exists.

XXX There's still a bug in here somewhere that prevents setting of
XXX limit values after using 'envstat -S'
2010-09-22 00:13:55 +00:00