Commit Graph

7546 Commits

Author SHA1 Message Date
jwise e0a5c89252 Document LPREFIX variable, as adding -P${DESIRED_PREFIX} to LFLAGS does not
do the expected.
2004-02-06 22:13:58 +00:00
lukem eee88ffea0 Convert the /usr/lib/libfoo.so -> /lib/libfoo.so.M.N link into a relative link.
This simplifies using ld with ${DESTDIR}/usr/lib whilst retaining the
(slightly faster) absolute links for the run-time libraries.
Per discussion on tech-toolchain.

(Side note;  install(1) -l r  needs the source to be prefixed with ${DESTDIR}
to operate correctly, which makes it non trivial to enable '-l r' by default
for all ${INSTALL_SYMLINK}s)
2004-02-06 12:34:11 +00:00
rtr a7e3a7b9ff PRINTX11VERSION contains command for automated extraction of
major,minor,patch,snap passed to some sourc during build.
2004-02-06 11:52:48 +00:00
jmmv f630412f5f Add trailing semicolons to lines that need it. 2004-02-05 11:41:15 +00:00
wiz 2bcf56a613 Add articles and a hyphen. 2004-02-04 14:27:18 +00:00
jdolecek 0cfa5c18b3 bump date 2004-02-03 21:37:00 +00:00
jdolecek d1a139966a update to current lpt(4) reality - drop list with historical
minor bits assignments, and add info to this effect to HISTORY section
2004-02-03 21:35:57 +00:00
wiz a71e78c796 Bump date for previous, and break lines
so that macros only affect what they should.
2004-01-31 21:33:08 +00:00
wiz 8c3f91e23f Bump date for previous. 2004-01-31 21:30:09 +00:00
wiz 906d130d98 Some grammar and typo fixes for the previous. 2004-01-31 21:28:45 +00:00
jdc 2b64789ec6 Minor grammer improvements.
Mention filtering using ipf.
2004-01-31 20:14:11 +00:00
heinz 4ea0bdc634 Add missing word 2004-01-31 18:02:52 +00:00
fredb 7f674884ad Fix a couple of long-standing bugs in the volume control(s) part of the
audio device interface:

1) When attempting to match the appropriate mixer control, we weren't
checking the class label, but only the second level label, so for
devices that had both an "inputs.cd" and a "record.cd", for example,
we could never do the right thing except by chance. For this reason,
evidently, all the record masters were labeled (by the underlying
drivers) either "record.record" or "record.volume", to distinguish
from "outputs.master". We'll now accept "record.master", and document
that as the the new preferred way.

2) More importantly, the model was deficient. Selecting a port on many
chips completely disables most of the level controls, which doesn't play
nice with other applications which are trying to use the interface. Now,
selecting a port simply sets which mixer input control shall be changed,
setting state in the audio layer. In other words, the "mixerout" port
is really selected all the time, enabling the final stage mixer, and
setting "gain" sets the level of the appropriate input. It should be
possible for separate applications to each control the mic, dac, and cd
inputs at the same time using this interface, simply by reiterating their
port selections with each change, but applications that don't bother to
do that aren't any worse off than they were before.

The user is expected to set the master output with another application,
dedicated to that task. Though it is now meaningful to select "no port"
with the audio device interface, to manipulate the master output, there's
no particular reason for an audio device consumer to do that. (I added
the capability in order to restore the initial state of the audio device,
for testing purposes. It might also be useful to users of broken binary-
only applications.)

Observe that the mixer device interface (and so, "mixerctl") still
retains all capabilities, including the ability to set the actual input
port on the chip, overriding the level controls. No change is being made
to the mixer device interface. The mixer device simply presents all the
controls on the chip, with no attempt at abstraction, so there are no
bugs there.

The upshot is, that applications that have been trying to use the audio
device interface to change the volume, such as mplayer, now "just work".

I've tested these changes extensively with "eso" and "eap" since first
proposing them on tech-kern last January, and somewhat with "esm" and a
few others. This closes both PR kern/10221, and PR kern/17159.
2004-01-31 00:07:56 +00:00
wiz 0ec68faf37 Bump date for previous; use more macros. 2004-01-30 23:28:45 +00:00
christos 06b0d47bea mention sticky. 2004-01-30 22:47:02 +00:00
jdolecek f25934df25 rework the sections mentioning support for specific chipsets; that FreeBSD
code does only device probe for nonstandard I/O locations on ISA bus,
and is not useful for other attachments

drop the list of tested stuff; that information doesn't belong in this
manpage
2004-01-30 19:06:36 +00:00
wiz d48b785891 It's != Its, fix again. New sentence, new line. 2004-01-30 16:14:37 +00:00
christos 976cdb2b5d more sticky explanations. 2004-01-30 16:06:20 +00:00
wiz 1c6f398ba8 Add comma in enumeration, drop trailing whitespace, |fmt,
and remove dummy (empty) Xr.
2004-01-30 15:48:38 +00:00
wiz df3366a5a1 Add definite article. 2004-01-30 15:46:30 +00:00
wiz 129c874aa5 Sort SEE ALSO after renaming of lp to plip. 2004-01-30 15:45:34 +00:00
wiz 193f31ef31 Make internal section 7 too, use more markup, |fmt,
sort sections.
2004-01-30 15:38:18 +00:00
christos a3b53d29e6 Add the sticky file in the proper section and add a history section for it
explaining what sticky means and meant on plain files.
2004-01-30 15:27:07 +00:00
christos c2f71cffe7 Sticky belongs in section 7. 2004-01-30 15:14:10 +00:00
lukem 20f6090de0 Add '-h sha1' to INSTPRIV.unpriv, so that SHA-1 hashes for installed files
are calculated and written to the METALOG.
2004-01-30 08:48:18 +00:00
lukem 3e223f04c9 Use find . -type f | while read ... ${INSTALL} ... instead of ${PAX}
to install the zoneinfo files.
2004-01-30 04:30:51 +00:00
wiz d0fc1bfbd6 Drop trailing space; use Nx instead of NetBSD. 2004-01-29 13:39:44 +00:00
lukem 7f363470cf oops in previous; can't call cleanhtml in cleandir at this time 2004-01-29 05:25:51 +00:00
lukem 84a4748659 Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.
2004-01-29 01:48:45 +00:00
lukem cb61dc463d fix thinko in previous 2004-01-29 00:21:31 +00:00
lukem cf3f737042 add some missing .PHONYs 2004-01-29 00:02:04 +00:00
jdolecek a56d10e9dc remove the 'Software Interfaces' paragraph, it wasn't particularily
informative and contained trailing xrefs to atppc(9) and ppbus(9)
pointed out by Thomas Klausner
2004-01-28 20:02:22 +00:00
jdolecek 4dce398974 update the 'purpose' paragraph; particularily, remove the sentence
about inb/outb, since they were removed in our old MI ic/lpt.c too
2004-01-28 19:54:15 +00:00
jdolecek 398fbd7ed6 update HISTORY section 2004-01-28 19:44:39 +00:00
jdolecek eb51939102 update copyright notice to what is in current netbsd-ppbus CVS 2004-01-28 19:40:06 +00:00
jdolecek 37c6bae631 ISA PnP attachment added 2004-01-28 19:35:24 +00:00
jdolecek c015af1da2 Open Firmware ISA attachment added 2004-01-28 18:48:33 +00:00
jdolecek 3d22b8ae1a g/c obsolete cpu_wait(9)
reported in PR misc/24260 by Nicolas Joly
2004-01-28 17:44:25 +00:00
jdolecek 629b25cf95 one more lp(4) -> plip(4)
add BUGS section noting this is experimental and not enabled by default
yet
2004-01-28 17:31:51 +00:00
jdolecek 1604c0df5c remove lpbb(4) references - it was not ported yet 2004-01-28 17:26:45 +00:00
jdolecek e61bcb8605 do not xref ppbus subdevices except lpt(4)
xref puc(4), pnpbios(4), acpi(4)
2004-01-28 17:25:12 +00:00
jdolecek 36d581e313 lp(4) renamed to plip(4) 2004-01-28 17:21:15 +00:00
jdolecek 15768f53c0 remove reference to vpo(4) until it would get ported 2004-01-28 17:15:49 +00:00
jdolecek e1b2a4adf7 update synopsis to note this is 'EtherExpress PRO/10' driver 2004-01-28 09:15:46 +00:00
jdolecek c9c2a64fa2 add recently added attachment to synopsis, and remove
the BUGS item about PNPBIOS/ACPI attachments
add ECP to list of tested write modes
2004-01-28 09:13:55 +00:00
agc 0610f60945 Might as well put the default location for pkgsrc metadata files in
the right place - /var/db/pkg, not /var/pkg.

Over to you, wiz.
2004-01-27 21:24:07 +00:00
lukem af85ccad70 Replace
:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)
2004-01-27 03:31:48 +00:00
lukem 460eec09d4 There's no need to use :N-c with ${INSTALL_FILE}. 2004-01-27 02:52:19 +00:00
wiz bd46fc1aae Complete typedef of struct audio_info to audio_info_t.
From Jared Yanovich via jmc@openbsd.
2004-01-26 18:17:08 +00:00
hannken 3db4e2acd8 Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.
2004-01-25 18:06:48 +00:00