summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-12-28Make blitter ``go the other way'' when scrolling down.Mark Kettenis
2008-12-28Add ifb(4).Mark Kettenis
2008-12-27It turns out that parasites are caused by (some) pixel writes with theMiod Vallat
high bit set; restrict ourselves to 7bpp operation. This brings back text-mode color support. joint work with kettenis@
2008-12-27Use hardware acceleration for scrolling and make sure we only use the low bitMark Kettenis
of each pixel value. This avoids "overlay artifacts" and turns ifb(4) into a usable console framebuffer. help from miod@
2008-12-27Sync the sparc64 fb* api with the recent changes done on sparc.Miod Vallat
2008-12-27Make sure we pick the right PCI BARs on Expert3D cards (which have an extraMark Kettenis
BAR that we need to skip). ok miod@
2008-12-27expand the ifdef _KERNEL around kernel only function prototypesThordur I. Bjornsson
since they have no business being export to userland. OK blambert@
2008-12-26Use the `fontbytes' display property as the font stride, instead ofMiod Vallat
computing it ourselves.
2008-12-26Move the logic responsible from deciding whether a frame buffer needs to beMiod Vallat
cleared on attach, from the individual drivers to the common frame buffer code; the latter will decide based on the prom font metrics and the prom console window position, whenever possible. This removes the need for the console window position to be hardcoded in the p9100 driver, and will no longer require a screen clear on a vigra VS-12 in high resolution mode.
2008-12-26implement support for another temperature sensor, DS18B20Todd T. Fries
from David Fries david(at)fries(dot)net ok grange@
2008-12-26use the exact same policy for choosing apic on all 3 types of kernel.Theo de Raadt
ok kettenis
2008-12-26If we have usable acpi, but chose to use amp instead for various reasons,Theo de Raadt
then mpbios should not be used because it is probably full of lies. ok kettenis, though he hates the variable name used.
2008-12-26Use nitems() and FBS_xxx symbolic constants in the video timing tables.Miod Vallat
2008-12-26Remove unused BT_BLANK() and BT_UNBLANK() macros.Miod Vallat
2008-12-26Use constants from bt458reg.h when frobbing ramdac registers.Miod Vallat
2008-12-26Print the correct value as the chip revision.Miod Vallat
2008-12-26Correctly report unconfigured child devices.Miod Vallat
2008-12-26don't try to create mutesets for selectors, they are only forJacob Meuser
mixers. problem noticed by Tas. thanks!
2008-12-26add a function for initializing mixer_devinfo_t off/on enumsJacob Meuser
and use it in 6 places.
2008-12-26nuke unused macros. from Alexey Suslikov.Jacob Meuser
2008-12-26- recognize a few more realtek codecsJacob Meuser
- beep and CD support for a few more realtek codecs (ALC268 verified by Alexey Suslikov, the others are quite similar based on datasheets) - "ALC662-GR" is a part number. "ALC662" is a codec identifier.
2008-12-26Back out rev 1.14 as it makes machines like the T30 crash on boot.Jonathan Gray
2008-12-26Do not attach if not the console, I expect the same problems as for p9100,Miod Vallat
but I don't know what initialization sequence is needed on the p9000...
2008-12-26When running on serial console, do not try to pick the prom font (this wouldMiod Vallat
fail anyway since stdout is not a frame buffer), and force a complete ramdac initialization - access to several of the control registers spin otherwise.
2008-12-25Return proper display types to the WSDISPLAYIO_GTYPE ioctl, instead ofMiod Vallat
deprecated WSDISPLAY_TYPE_SUN24; X11 knows about them since several releases already.
2008-12-25currently azalia only supports one codec. instead of using simply theJacob Meuser
first codec with an audio function group, use the first codec with an audio function group that can do analog I/O, if there is one. codecs that just do digital I/O aren't quite as useful, yet.
2008-12-25add "virtual" mutes if the "virtual" volume amps have mute capabilityJacob Meuser
2008-12-25don't need #include <sys/queue.h>; ok mbalmer@Kevin Steves
CVS ---------------------------------------------------------------------
2008-12-25remove unused struct member; ok mbalmer@Kevin Steves
2008-12-25spelling in comments; ok mbalmer@Kevin Steves
2008-12-25Correctly display underlined spaces.Miod Vallat
2008-12-25before naming a widget after a pin because the widget is the only thingJacob Meuser
the pin is connected to, make sure the pin is the only device that is connected to the widget.
2008-12-25- one "default" direction is enoughJacob Meuser
- be careful not to set a direction that the pin doesn't support - remove a workaround in the generic code which is more or less for a specific device, there are better ways to deal with such situations now
2008-12-24No need to invoke fbwscons_setcolormap() twice.Miod Vallat
2008-12-24Get rid of all remaining magic numbers but 32. If you need to know why 32Miod Vallat
is magic on a 32-bit platform, maybe you shouldn't do kernel programming.
2008-12-24Provide an accelerated putchar routine for fonts 16 bits wide or less (andMiod Vallat
the code can do up to 32 bit without serious changes, but I'm lazy).
2008-12-24This creates the notion of a non-disk softraid device. The aoe targetMarco Peereboom
is such a beast because it doesn't physically add a device to the OS but exports a RAID partition. It creates a kernel thread for each exported aoe target. Since it reuses all the goodies in softraid upon reboot the metadata is discovered and therefore the partition is exported at boot time. ok tedu dlg
2008-12-24Low hanging macro fruit. Inline the nfsm_srvstrsiz macro sinceThordur I. Bjornsson
its used only once and nuke its definition. Stolen from blambert's bag'o'diffs. OK blambert@.
2008-12-24Oops, logic botch in 1.34 would disable 24 bit mode on S24.Miod Vallat
2008-12-24On cards which advertize complete rop support, use the stipple engine toMiod Vallat
draw the inverted cursor.
2008-12-24It turns out the 8-bit tcx flavour has undocumented low-res video modes (soonMiod Vallat
to be in tcx.4), which require a font swap and thus clearing the screen at attach time if console. Add the necessary code for this.
2008-12-24remove argument names from function prototypes, this way theThordur I. Bjornsson
file shares the same sane style.
2008-12-24When switching between 8 bit and 24 bit modes on S24, use the blitterMiod Vallat
whenever possible to speed things up. Also, do not map the control space anymore and access in through physical addresses, as done for the blitter and stipple spaces; saves another 4MB of KVM on S24.
2008-12-24EVFILT_WRITE filters should return the amount of space remaining in theMark Kettenis
write buffer, not the amount of space used. It is debatable wether the size of the write buffer is set by the size of the buffer or the high water mark. For now, go with the former since that seems to be more consistent with what the pipe and socet code does. It is also what NetBSD does. ok deraadt@
2008-12-24typo spotted by Alexey SuslikovJacob Meuser
2008-12-24Fix two mbuf leaks in arpresolve. The first one happens on IFF_NOARPClaudio Jeker
interfaces and is probably never hit. The other one happens when the number of packets on the arp hold queue is exceeded. If arpresolve() returns NULL the mbuf must be on the hold queue or freed. Fixes the mbuf leak seen by dlg@. Found with dlg@'s insane mbuf leak diff. OK dlg@
2008-12-24cleanup, work around issue with interrupt getting enabled too early.Dale Rahn
2008-12-24report the number of packets that arp resolution is holding onto until itDavid Gwynne
gets a mac addr for an ip under net.inet.ip.arpqueued. ok deraadt@
2008-12-24Fix support for earlier i8XX chipsets (specifically the 830 and 840).Owain Ainsworth
Earlier changes meant that we were reading the wrong register, on the graphics card instead of the gmch (bus 0, device 0, function 0. it's the memory controller on all boards with intel chipsets). Later chipsets have a ``mirror'' register on the graphics card device, explaining why this didn't manifest on all chipsets. For simplicity, always find and read the register from the GMCH. While i'm here, fixup unaligned configuration space access (0x50 vs 0x52) Tested by several.
2008-12-24fix a typo made in last commit, also slightly better wording forThordur I. Bjornsson
another comment.