summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-28Added mpls_output() used to output mpls packets originating from local host.Michele Marchetto
Strictly similar to mpls_input(). Input and OK claudio@, OK laurent@
2008-10-28Try to use ACPI a little bit harder. Skip it only if ncpu < 2 and theTheo de Raadt
SMBIOS version is < 2.4. This lets 40-series thinkpads continue to use apm. worked on with kettenis
2008-10-27disable dependency that would run autoheader with better makes.Marc Espie
okay kettenis@, miod@, otto@
2008-10-27Rename "machine cpu" to "machine ddbcpu" in MP kernels, for consistency withMiod Vallat
other MP platforms.
2008-10-27No -Werror on m88k, hairy gcc bug generates false ``variable might be usedMiod Vallat
uninitialized'' warnings. To be removed when the compiler bug is fixed eventually.
2008-10-27update to tzdata2008i from elsie.nci.nih.govTodd C. Miller
2008-10-27document pool_setipl.David Gwynne
with help from jmc@, thank you.
2008-10-27sa_open -> sio_open, after recent changes;Jason McIntyre
2008-10-27Move some include stuff aroundMarco Peereboom
2008-10-27for the AD1984 codec, connect headphones to a proper DAC.Jacob Meuser
tested by danh@ and Aaron Stellman on Thinkpad T61. from Alexey Suslikov, thanks
2008-10-27syncTheo de Raadt
2008-10-27when shutting workq threads down, dont try to take the big kernelDavid Gwynne
lock when we've never given it up. this is a remnant of the mpsafe workq stuff we had that wasnt cleaned up properly. found by and fix tested by oga@
2008-10-27Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-27rename libsa to libsndioAlexandre Ratchov
requested by many, "just go for it" deraadt@
2008-10-26- make pkg-config recognize --short-errorsJasper Lievisse Adriaanse
- bump the version we're pretending to be to 0.21 ok ckuethe@ ajacoutot@
2008-10-26for MP, ask people to try to trace the other cpus tooTheo de Raadt
2008-10-26Fix IOERRORs seen on some devices after a few open / close cycles.Marcus Glocker
Tested and OK brad@
2008-10-26Spello and ad some #definesMarco Peereboom
2008-10-26missing full stop;Jason McIntyre
2008-10-26Move sensors into SMALL_KERNELMarco Peereboom
2008-10-26SpaceMarco Peereboom
2008-10-26zap old code that was a confusion with -l, and didn't ever do anythingMarc Espie
in the new pkg_info problem noticed by landry@
2008-10-26Plug mbuf leak in RPC record error case.Bret Lambert
ok thib@
2008-10-26document newer clean=buildMarc Espie
(reminded by pirofti@)
2008-10-26new sentence, new line;Jason McIntyre
2008-10-26add some audio/libsa cross refs;Jason McIntyre
2008-10-26rename libsa.3 to sa_open.3 and create mlinks for all other functionsAlexandre Ratchov
requested by and help from jmc
2008-10-26zap `q' from the getopts string too,Alexandre Ratchov
requested by jmc@
2008-10-26Document devel/waf MODULE.Landry Breuil
2008-10-26recored -> recordedMarc Espie
2008-10-26no cookie for ratchov, committed things without running make build.Marc Espie
2008-10-26sync SYNOPSIS and usage();Jason McIntyre
2008-10-26add minimal server capability to aucat(1). When started in serverAlexandre Ratchov
mode, it listens on an unix socket and mixes/demultiplexes any number of full-duplex streams, doing necessary format conversions and resampling on the fly. programs can use the new libsa(3) library to play and record audio. The library provides a very simple API to connect to the audio server; if aucat(1) isn't running, it uses the audio(4) driver transparently instead.
2008-10-25Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-25audio(9) says low level drivers are allowed to change the requestedJacob Meuser
values of the audio_params structure during AUDIO_SETINFO if the hardware cannot be set to exactly the requested mode. some drivers do this sometimes. others always return EINVAL if there isn't an exact match. be more consistent. only return EINVAL if an absurd parameter was requested, otherwise return a supported set of parameters, as close as possible to what was requested. with/ok ratchov@
2008-10-25Copy packages to the cache if a local PKG_PATH is used and PKG_CACHE isBernd Ahlers
defined. This unbreaks FETCH_PACKAGES with a local package repository. help & discussion: espie@ and sturm@
2008-10-25Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-25oops, fix a very silly mistake; ok sthenJason McIntyre
2008-10-25Add 82571GB/82572GI to the list.Jonathan Gray
"The devices can also have a 82571GB or 82572GI marking (instead of 82571EB or 82572EI); the 82571GB and 82572GI devices are used only on Intel network interface adapters. The 82571GB is functionally equivalent to the 82571EB and the 82572GI is functionally equivalent to the 82572EI." From ftp://download.intel.com/design/network/specupdt/82571EB_72EI.pdf Indeed the 82572GI shows up as the "Intel PRO/1000 PT (82572EI)" pci id.
2008-10-25Add proper DAC/ADC grouping for AD1984 (from NetBSD).Jacob Meuser
This fixes fallout for AD1984 revealed by recent azalia.c changes and reported on misc@. While here: * move gpio_unmute to more logical place, * remove code ifdef'ed and unused for ages. from Alexey Suslikov, thanks Index: sys/dev/pci/azalia_codec.c =================================================================== RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v retrieving revision 1.52 diff -u -r1.52 azalia_codec.c --- sys/dev/pci/azalia_codec.c 23 Oct 2008 02:23:04 -0000 1.52 +++ sys/dev/pci/azalia_codec.c 24 Oct 2008 17:29:36 -0000 @@ -98,6 +98,7 @@ (const codec_t *, nid_t, int, u_char); int azalia_generic_set_port(codec_t *, mixer_ctrl_t *); int azalia_generic_get_port(codec_t *, mixer_ctrl_t *); +int azalia_gpio_unmute(codec_t *, int); int azalia_alc260_init_dacgroup(codec_t *); int azalia_alc260_mixer_init(codec_t *); @@ -127,7 +128,6 @@ int azalia_stac9221_set_port(codec_t *, mixer_ctrl_t *); int azalia_stac9221_get_port(codec_t *, mixer_ctrl_t *); int azalia_stac9221_apple_unsol_event(codec_t *, int); -int azalia_gpio_unmute(codec_t *, int); int azalia_stac7661_init_dacgroup(codec_t *); int azalia_stac7661_mixer_init(codec_t *); int azalia_stac7661_set_port(codec_t *, mixer_ctrl_t *); @@ -1708,6 +1708,26 @@ return azalia_generic_mixer_get(this, m->nid, m->target, mc); } +int +azalia_gpio_unmute(codec_t *this, int pin) +{ + uint32_t data, mask, dir; + + this->comresp(this, this->audiofunc, CORB_GET_GPIO_DATA, 0, &data); + this->comresp(this, this->audiofunc, CORB_GET_GPIO_ENABLE_MASK, 0, &mask); + this->comresp(this, this->audiofunc, CORB_GET_GPIO_DIRECTION, 0, &dir); + + data |= 1 << pin; + mask |= 1 << pin; + dir |= 1 << pin; + + this->comresp(this, this->audiofunc, CORB_SET_GPIO_ENABLE_MASK, mask, NULL); + this->comresp(this, this->audiofunc, CORB_SET_GPIO_DIRECTION, dir, NULL); + DELAY(1000); + this->comresp(this, this->audiofunc, CORB_SET_GPIO_DATA, data, NULL); + + return 0; +} /* ---------------------------------------------------------------- * Realtek ALC260 @@ -2181,18 +2201,11 @@ int azalia_alc882_init_dacgroup(codec_t *this) { -#if 0 - static const convgroupset_t dacs = { - -1, 3, - {{4, {0x02, 0x03, 0x04, 0x05}}, /* analog 8ch */ - {1, {0x06}}, /* digital */ - {1, {0x25}}}}; /* another analog */ -#else static const convgroupset_t dacs = { -1, 2, {{4, {0x02, 0x03, 0x04, 0x05}}, /* analog 8ch */ {1, {0x06}}}}; /* digital */ -#endif + /* don't support for 0x25 dac */ static const convgroupset_t adcs = { -1, 2, {{3, {0x07, 0x08, 0x09}}, /* analog 6ch */ @@ -2484,13 +2497,14 @@ azalia_ad1984_init_dacgroup(codec_t *this) { static const convgroupset_t dacs = { - -1, 1, - {{2, {0x03, 0x04}}}}; - + -1, 2, + {{2, {0x04, 0x03}}, /* analog 4ch */ + {1, {0x02}}}}; /* digital */ static const convgroupset_t adcs = { - -1, 1, - {{1, {0x08}}}}; - + -1, 3, + {{2, {0x08, 0x09}}, /* analog 4ch */ + {1, {0x06}}, /* digital */ + {1, {0x05}}}}; /* digital */ this->dacs = dacs; this->adcs = adcs; return 0; @@ -3006,27 +3020,6 @@ DPRINTF(("%s: unknown tag: %d\n", __func__, tag)); } return 0; -} - -int -azalia_gpio_unmute(codec_t *this, int pin) -{ - uint32_t data, mask, dir; - - this->comresp(this, this->audiofunc, CORB_GET_GPIO_DATA, 0, &data); - this->comresp(this, this->audiofunc, CORB_GET_GPIO_ENABLE_MASK, 0, &mask); - this->comresp(this, this->audiofunc, CORB_GET_GPIO_DIRECTION, 0, &dir); - - data |= 1 << pin; - mask |= 1 << pin; - dir |= 1 << pin; - - this->comresp(this, this->audiofunc, CORB_SET_GPIO_ENABLE_MASK, mask, NULL); - this->comresp(this, this->audiofunc, CORB_SET_GPIO_DIRECTION, dir, NULL); - DELAY(1000); - this->comresp(this, this->audiofunc, CORB_SET_GPIO_DATA, data, NULL); - - return 0; } /* ----------------------------------------------------------------
2008-10-25put the serial number into the name of the devices (for sysctl), becauseTheo de Raadt
Joerg Goltermann has so many of them and has convinced me that he cannot tell them apart. ok grange cnst henning
2008-10-25regenBrad Smith
2008-10-25Use tabs between the product id and the product string.Brad Smith
2008-10-25regenBrad Smith
2008-10-25Remove vendor names from the product strings.Brad Smith
2008-10-25Update for name changes.Brad Smith
2008-10-24regenBrad Smith
2008-10-24Shorten the vendor names and fix up the names of some of theBrad Smith
existing entries.
2008-10-24regenBrad Smith
2008-10-24Sort the vendors and PHY id's.Brad Smith