Commit Graph

29140 Commits

Author SHA1 Message Date
drochner 1336116b2f fill in timestamps in outgoing data buffers 2012-02-02 17:21:18 +00:00
drochner 005775381c delete virtual screens on detach - this allows to hot-unplug
a udl@usb monitor without crash
2012-02-02 13:11:25 +00:00
macallan ee1ab7bfc0 add a bunch of register definitions
not used yet but I better commit them now than have he tell me that I forgot
them when pm2fb.c starts using them
2012-02-02 07:09:53 +00:00
pgoyette eda587d6aa Clean up display of initial hardware provided limits. No functional change. 2012-02-02 02:47:59 +00:00
matt 91964d87da Add more FLAGS 2012-02-01 23:03:30 +00:00
matt 8cdb54786a Add XLP specific CGM mode for SDHC_CLOCK_CTL. 2012-02-01 22:53:19 +00:00
matt 127e8825f0 Add some more FreeScale ESDHC defintions. 2012-02-01 22:35:30 +00:00
matt 5e2f4552c6 Use "opt_sdmmc.h" for SDMMC_DEBUG, etc. 2012-02-01 22:34:42 +00:00
jakllsch 232e69ea3e Set HDAUDIO_PCI_TCSEL to TC0 like Linux does.
Fixes stalled audio on Lenovo X60 with coreboot firmware.

Additionally, move snooping adjustment to be executed on resume too,
as Linux does.
2012-02-01 16:56:34 +00:00
matt 737a317ffe Use C89 prototypes. 2012-02-01 02:01:28 +00:00
hauke 2413e475f1 Employ the two free 16 bit timers of the Hurdler Centronics Parallel
Interface card's Z8536 CIO for Timecounter support.

Builds, should work, but not testable yet because of pmap breakage.
2012-01-31 22:13:19 +00:00
matt 91d94812e8 ANSIfy the prototypes 2012-01-31 04:28:02 +00:00
matt 4b50cb788d Use proper ANSI prototypes for foo() -> foo(void)
Caught when compiling with -Wold-style-definition
2012-01-30 23:31:27 +00:00
drochner d8e1a7b61a Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
2012-01-30 19:41:18 +00:00
mhitch e2f8886b1f Allow adapters with SAS/SATA or FC devices to use tagged queuing by the scsipi
layer.  Can improve write performance on SAS adapters under certain conditions
when the logical drive does not have write caching enabled.  Also need to
reserver a couple of slots for commands for the driver to use - stops the
adapter shortage messages.  Multiple commands can now cause QUEUE_FULL events,
so add that to the events handled, currently just ignoring it.  Changes
based on the thread http://mail-index.netbsd.org/tech-kern/2011/02/08/msg009946.html.
cvs: ----------------------------------------------------------------------
2012-01-30 17:45:14 +00:00
rmind 668cc4102c wsmux_getmux: do not increment nwsmux if allocation fails (might cause buffer
overflow).  Simplify slightly.
2012-01-30 01:54:08 +00:00
drochner 26613330c6 extend the pci_aprint_devinfo slightly to cover the cases commonly
used by drivers: a short name for the quiet/naive case and a string
to override the "pcidevs" based name by one provided by the driver,
ride on yesterday's kernel minor version bump
2012-01-29 11:31:38 +00:00
nisimura cbcafca122 Add UDA1341TS audio CODEC support. Code is written by
Paul Fleischer.
2012-01-28 08:37:22 +00:00
nisimura 3e4eba9a43 - add DM9000 internal PHY manipulating routines.
- now capable of auto-negotiation, use this as default media selection.
- add multicast filter support.
- code cleanup.

Code update from Paul Fleischer.
2012-01-28 08:29:55 +00:00
para e62ee4d475 extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged
2012-01-27 19:48:38 +00:00
para 89c9828deb converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
2012-01-27 18:52:47 +00:00
tsutsui 26266e6650 Protect ldattach ops with config_pending_intr(9)/config_pending_decr(9)
so that "boot device: ld0" detection works properly even on slower zaurus.
2012-01-27 14:28:33 +00:00
matt 499a32ac9e Remove suplurfious ++ 2012-01-27 03:07:21 +00:00
matt 66f29c3992 Fix sdmmmc_mem_decode_scr for BE machines. 2012-01-27 03:06:24 +00:00
drochner 7361c687ef put printing of the pci_devinfo into its own function (not inlined
by purpose) - this is a stack hog, and with this change my uTCA amd64
system boots again
a lot of similar code can be eliminated from pci device drivers this way,
but before doing so (and making the new function part of the module API)
I'd like to consider a modification to make it work with drivers which
prefer to print names from other sources (like pciide)
2012-01-26 21:17:28 +00:00
matt 84efaa5d69 Print error if couldn't enable card. 2012-01-26 02:20:12 +00:00
macallan 2ed32c39b4 use memset() to clear character cells instead of being terribly slow 2012-01-25 20:18:04 +00:00
macallan 8b892b4cb6 rasops8_putchar_aa():
render glyphs scanline by scanline into a 64bit-aligned buffer, then memcpy()
it into video memory instead of writing directly.
This gives >10% speedup even on valkyriefb, likely more on PCIe framebuffers.
2012-01-25 16:38:27 +00:00
macallan 0f92837504 add a simple glyph cacheing scheme
Glyphs which use the default attribute will be saved into offscreen video
memory the first time they're used and subsequent uses will just copy them
from there instead of rendering them every time.
This should give a nice speedup especially on slow CPUs.
2012-01-25 03:49:12 +00:00
macallan 1a435f513d sprinkle sc_ to make it consistent 2012-01-25 02:04:35 +00:00
jakllsch e1f88cea88 Rework struct ata_command to support LBA28 and LBA48-protocol commands.
Implement 28- and 48-bit command issuance and parameter read-back in the
various ATA host drivers. Add LBA28-protocol support to ATAIOCCOMMAND ioctl.
2012-01-24 20:04:07 +00:00
macallan 1c9c22440c ass WSDISPLAY_TYPE_VALKYRIE 2012-01-24 04:34:05 +00:00
rkujawa eaa0692ccf Add missing i2c dependencies to voodoofb. 2012-01-24 01:58:40 +00:00
plunky 4aff709aa0 make sure kernel lock is held when changing isoc configuration
(this is called from sysctl and autoconf)
2012-01-23 08:30:24 +00:00
christos f7dfb25897 reduce the polling interval to 2 seconds, and try harder to get interrupts
working.
2012-01-23 04:12:26 +00:00
christos 88f8057906 cosmetic fixes 2012-01-22 20:41:25 +00:00
christos 4383182c44 make it never match for now. 2012-01-22 20:25:25 +00:00
christos 26e776da8e make it handle legacy devices too, although the ones in the table are not. 2012-01-22 20:24:27 +00:00
macallan eed205ff9e clear the screen when returning from X 2012-01-22 19:00:45 +00:00
christos cdb2c2cec5 as jared noted, this is not mpsafe. 2012-01-22 16:35:39 +00:00
jakllsch 08f9b56eb7 Trailing whitespace. 2012-01-22 16:09:08 +00:00
christos cd21c32636 add tpm 2012-01-22 13:53:48 +00:00
christos 2bf32572a7 remove aborted work in progress 2012-01-22 13:53:24 +00:00
nakayama 067924576f Add "dimm" found on Sun US-IIe based machines (eg. Netra X1, Blade 100). 2012-01-22 10:36:52 +00:00
christos 6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +00:00
rkujawa f1763b1c49 Fix double i2cbus dependency for voyager 2012-01-21 23:54:57 +00:00
rkujawa c9a5627692 Change dependency iic to i2cbus for fb drivers. OK macallan. 2012-01-21 23:46:49 +00:00
nonaka 2388feef61 fix my license notice. 2012-01-21 19:44:28 +00:00
jakllsch eaff446d08 Correct some typos in comments, as was done in wdc.c 1.266. 2012-01-21 18:33:17 +00:00
jmcneill 13b0b03b15 initialize fan sensor state to ENVSYS_SINVALID, should fix:
asus0 at acpi0 (ATKD, ASUS010-16843008)
sme_update_sensor_dictionary: can not update sensor state 0 unknown
asus0: couldn't register with envsys
2012-01-21 18:13:56 +00:00