summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2008-12-24Replace the TRUE/FALSE defines with 1/0 respectively. This doesn'tThordur I. Bjornsson
hurt readability and it was just plain annoying seeing them defined in every other .c file. OK blambert@
2008-12-24Basic acceleration code for tcx: solid fills and some simple block copy cases.Miod Vallat
Makes it noticeably faster, especially when scrolling on console. Tested on SS4 (tcx) and SS5 (S24) in 1152x900 and 1024x768 modes.
2008-12-23intagp support for Intel 4-series (e.g. GM45) chipsets.Owain Ainsworth
Tested by several x200 owners.
2008-12-23small indent fixThordur I. Bjornsson
2008-12-23Fix up a comment. Flags are for va_vaflags not va_cflagsThordur I. Bjornsson
(that doesnt exist). ok pedro@
2008-12-23No need to keep the 32 bit space mapped, since it is only used by userlandMiod Vallat
and through mmap; also shrink the softc of about 120 bytes by not keeping a copy of all prom regions when only two of them are needed. While there, map THC at the preferred address on S24 flavours, and do not reprogram the control bits on S24 at attach time (since the prom has already done this for us). Tested on ss4 and ss5+S24.
2008-12-23only a small number of thinkpads need the brightness adjustmentsjoshua stein
done in this driver, so for everything other than the x61s and t61, tell the bios to adjust brightness itself. fixes the double adjustment problem on newer models. tested on quite a few different models.
2008-12-23azalia_generic_mixer_pin_sense has nothing to do with pin sense anymore.Jacob Meuser
it is about codec gpio quirks. so rename it as azalia_codec_gpio_quirks, and move it to where the rest of the codec specific code is.
2008-12-23add gpio quirk for Dell e6400Jacob Meuser
2008-12-23enable beep and CD mixer controls on alc88x codecs if appropriateJacob Meuser
2008-12-23add small quirks for certain codecsJacob Meuser
2008-12-23remove static mixer configurations wholesale, to make next commitJacob Meuser
more clear.
2008-12-23- recognize some more codecsJacob Meuser
- remove the codec datasheet URLs. URLs change and these particular datasheets are all easy to find.
2008-12-23gather up most of the code for printing debug info in dmesgs andJacob Meuser
move it to one place, instead of scattered thoughout with #define and DPRINTF. my eyes are happier now.
2008-12-23line-in is now "line-in", line-out is still "line". S/PDIF-out isJacob Meuser
now "SPDIF", S/PDIF-in is still "SPDIF-in". line change because we need to differentiate. S/PDIF change because SPDIF-out is too long, and for consistency.
2008-12-23i got emptypages and fullpages mixed up in pool_walk. this now shows itemsDavid Gwynne
in fullpages that have been allocated. spotted by claudio@
2008-12-23allow us to completely exhaust the rx ring now that we handle the RXO (rxDavid Gwynne
overflow) interrupt. Yes deraadt@
2008-12-23oops, forgot this when committing to subr_pool.cDavid Gwynne
add pool_walk as debug code. this can be used to walk over all the items allocated with a pool and have them examined by a function the caller provides. with help from and ok tedu@
2008-12-23add pool_walk as debug code.David Gwynne
this can be used to walk over all the items allocated with a pool and have them examined by a function the caller provides. with help from and ok tedu@