Commit Graph

93021 Commits

Author SHA1 Message Date
augustss 0357a44190 Avoid a race condition spotted by UCHIYAMA Yasushi <uch@vnop.net>. 2002-02-27 01:30:50 +00:00
christos e8116a8f5b - Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
christos 6b030ee036 - define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
christos a5890d9fa8 - add constants for DEV_{MEM,KMEM,NULL,ZERO} only arm is the oddball one using
3 for DEV_ZERO and should be fixed.
- cdev_decl(mm) since all the ports do the same.
- change _mm_ initialization to include ioctl entry point.
2002-02-27 01:17:58 +00:00
christos 61924161d3 Add mm.c 2002-02-27 01:16:30 +00:00
christos 5d823a2299 Start of mi /dev/{mem,kmem,zero,null} driver. We add an ioctl entry, because
we don't want to throw an error when FIONBIO is requested. We also allow
FIOASYNC clear.
2002-02-27 01:16:14 +00:00
jmcneill f876e538ae Add options (commented out) for disabling power hooks on the pms and pmsi
PS/2 mouse drivers.
2002-02-27 00:31:12 +00:00
jmcneill cc72a54933 Add constraints to allow for disabling PS/2 mouse powerhooks. As requested
by Chuck Cranor.

To disable powerhooks with the pms and pmsi drivers, respectively:
  options PMS_DISABLE_POWERHOOK
  options PMSI_DISABLE_POWERHOOK
2002-02-27 00:30:07 +00:00
kleink 5424a781c8 Upon reflection, use hexadecimal values for previous, which make the
segment/block/battable relationship far more obvious.
2002-02-26 23:56:52 +00:00
kleink 4218adb6c2 Move battable entries for I/O to their correct pseudo-segment offsets;
while BAT spills currently don't happen, it should be possible for the
handlers to find them at the expected address anyway.

XXX Why the PCI I/O and Memory spaces are being installed in the iBAT
XXX registers is beyond me.
2002-02-26 23:45:54 +00:00
lukem 9918e3a90e use CLEANFILES as appropriate 2002-02-26 22:54:05 +00:00
lukem 0242a73525 cosmetic cleanup 2002-02-26 22:52:52 +00:00
lukem e1ab92e728 minor whitespace cleanup 2002-02-26 22:52:10 +00:00
eeh 1eb3484425 Fix PR# port-sparc64/13811: PCITAG_SETNODE() is defined using `x' insted of `t'.
from URA Hiroshi
2002-02-26 22:39:14 +00:00
tv 88a892b978 Superseded by src/tools/toolchain/mknative. 2002-02-26 22:32:21 +00:00
tv 980f1f32fc Complete the mknative method of creating the toolchain metainformation
files.  This version is capable of generating these files Properly from
a cross host (subject to having tools and target libs/includes available
ahead of time; to be documented).
2002-02-26 22:31:59 +00:00
tv 3cf9139573 When configured via mknative, G_HOST_* filenames are prefixed with "l-".
Strip the prefix.
2002-02-26 22:30:46 +00:00
tv 259a2ab95f Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
tv a616862da1 Remove the "-j1" hack. This needs to be fixed better. For now, -j is
disabled at the top level anyway, making this extra hack unnecessary.
2002-02-26 22:27:11 +00:00
tv b2ec8a78fc NEW_PIPE is no longer a configurable option (there's only PIPE_SOCKETPAIR,
inverted logic).
2002-02-26 21:44:29 +00:00
kleink 80f8e27ae5 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 21:13:32 +00:00
tv 66c4fd196e Make hconfig.h common as simply a redirect to config.h; these are
identical on a native build.  (Simplifies mknative for generating the
arch-dependent bits.)
2002-02-26 20:56:29 +00:00
kleink 696ed33e26 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 20:46:59 +00:00
tv 80c7fa68d5 Use MACHINE_GNU_PLATFORM to identify the machine. 2002-02-26 20:45:34 +00:00
he e0e10bde3f Wait with exiting on error until all the install sets have been
attempted to be created.

This way, in "discover missing files" mode, you'll get the benefit
of getting all the missing files listed before this script bombs
out with a non-zero exit status, something which can be of benefit
on slow machines.
2002-02-26 20:03:08 +00:00
tv 6b83b4af8c If doing a Canadian cross and the creation of auto-build.h fails, cause
the outer "configure" run to fail, too.
2002-02-26 19:17:51 +00:00
kleink 5e6a2be4e0 For the time being, add a wrapper around GENERIC causing the tlp driver
to match the on-board 21040, which the de driver has issues with.
2002-02-26 19:02:50 +00:00
tv a688a18a3f Tack "nb1" onto VERSION here, too, to sync with "configure". 2002-02-26 18:38:38 +00:00
tv d3501a4060 Add gettext to tools.
For now this is a maintainer-tool only; none of the NetBSD build needs to
run msgfmt as of yet.  (However, its presence is needed to make the
mknative part of src/tools/toolchain produce the same output as a truly
"native" GNU configury of the toolchain.)
2002-02-26 18:14:40 +00:00
tv 13dd6cb726 Skip the "misc" directory on recursion. (This contains .el files that
will attempt to install into never-never land if emacs isn't installed.
GNU bogon.)
2002-02-26 18:05:20 +00:00
tv e95d648871 Work with a mkinstalldirs that is not +x. 2002-02-26 18:00:29 +00:00
tv 853b3d3c1a Workaround some *2netbsd script not preserving the execute bit on various
script files (and now that they are in cvs, they can't be fixed).

Future imports of any package should use "-ko" and do away with *2netbsd
altogether, as was the intent of gnu/dist in the first place.
2002-02-26 17:40:52 +00:00
kleink 9fcf8c7e63 Add platform support for the Motorola Ultra Plus and Ultra 60x boards.
Note that this currently matches only the boards built into Bull Estrella
systems, as Bull chose to change the board identification string whose
original content is not known at this time.
2002-02-26 16:09:14 +00:00
martin 3cb5f61784 Note ip.grettl 2002-02-26 16:07:23 +00:00
wiz f61ef32241 Add -b to getopt argument. Patch from DHOYASHIKI Shinichi in bin/15742. 2002-02-26 15:57:13 +00:00
kleink 5eb5b37d22 Add the same probe fig leaf as in the mk48txx attachment to prevent
false positives.
2002-02-26 15:28:38 +00:00
simonb d9ab16ba2f Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
  are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
itohy 4283f00882 1. Change equalizer (treble, bass) to be ``flat'' if the values set at
the center position (128), so as to be compatible with other drivers.
    The equalizer is enhancement only, and the values < 128 don't take
    any effect.

    Yeah, this causes spec change....
    For equalization.treble and equalization.bass, the relation between
    old and new value is

	new_value = (old_value / 2) + 128.

    (Note this does not apply to equalization.surround.)

 2. Support ++ and -- of mixerctl(1) for stepping volume variables.

 3. Fix problem where the chip is not powered up
    when the mic input is unmuted.
2002-02-26 14:57:36 +00:00
wiz eb16f6854f Typo fix. 2002-02-26 14:54:50 +00:00
lukem e77cbad9fa add check_RELEASEDIR to targets that require RELEASEDIR to be set 2002-02-26 13:27:50 +00:00
lukem 8e7564ec57 add check_DESTDIR and check_RELEASEDIR targets 2002-02-26 13:25:03 +00:00
kleink a3f0b56f7a While we're here, roll forward the up-to-date tag. 2002-02-26 13:20:22 +00:00
kleink da7d0ec7e4 ISO 3166/MA web pages have moved. 2002-02-26 13:11:05 +00:00
simonb 9f5c966439 We are not a DECstation. 2002-02-26 12:45:24 +00:00
joda a8d19a98fc don't try to use the krb5 context if the init fails; should fix
bin/15585
2002-02-26 11:16:08 +00:00
joda b57f5ccbca in esa_resume, call esa_codec_reset; makes it much more happy after a
suspend on my O500 (snatched from FreeBSD)
2002-02-26 11:05:05 +00:00
augustss ae9f835cf2 A small fix for FreeBSD. 2002-02-26 10:27:49 +00:00
augustss 2c66bc238b Fix a typo that prevented timeout in control requests from working.
Spotted by Alfred Perlstein <bright@mu.org>.
2002-02-26 10:22:48 +00:00
dbj 2622b21584 use #ifdef WI_DEBUG instead of #if WI_DEBUG 2002-02-26 09:29:18 +00:00
dbj 44ab750650 avoid walking full length of unknown stats structure.
this partially addresses pr14385.
there is still a byte swapping bug retrieving the
stats structure.  Since both the type and the length
are incorrectly swapped, we would timeout while reading
an extra long section (caused by the byteswapped length)
of garbage data.
turning on WI_DEBUG now just reports the unknown info type
which can be seen to be obviously incorrectly swapped
on macppc
2002-02-26 09:18:54 +00:00