Commit Graph

177598 Commits

Author SHA1 Message Date
ghen a349a96a6f Enable Colemak altgr keys. 2009-02-03 17:50:28 +00:00
drochner cbbbda3b17 make sure the table stays aligned even if no groups are to be displayed
with the "groupnames" option
2009-02-03 17:37:02 +00:00
drochner 8b7f84e12c make sure the table stays aligned even if no groups are to be displayed
with the "groups" option
2009-02-03 17:33:42 +00:00
pgoyette cf99d387f4 Change the i2c bus scan routine to use the write_quick protocol for most
addresses, rather than trying to read a byte of data from the device.

Some devices don't like to be read from (certain clock devices are, I'm
told, write-only!), while others expect to be asked only for words (or
pairs of bytes).

While here, skip a bunch of i2c addresses that can't (or at the very
least, shouldn't) have any slave devices.

This is the only use in NetBSD of the quick_read/quick_write protocol,
and it remains disabled by default.  I've updated all the generic i2c
drivers to handle the quick_* protocols, but several port-specific
drivers have not been updated since I'm in no position to verify that
the changes work.  Assistance from sandpoint, arm/xscale, evbarm/gumstix,
mips/alchemy, and macppc would be greatly appreciated.
2009-02-03 16:41:31 +00:00
pgoyette 7eb6f514e7 Update the i2c_exec() functions to handle quick_read/quick_write protocol.
Although interface routines i2c_smbus_*() exist, nothing in NetBSD actually
uses them yet.
2009-02-03 16:27:13 +00:00
pgoyette b4d7d7bb1d Handle i2c quick_read/quick_write bus protocol in the generic i2c_exec()
routine, since we have already have the iic_smbus_* interfaces.

NOTE: i2c controllers that provide their own i2c_exec() routine also need
to be modified.  I'll be committing most of these shortly.
2009-02-03 16:17:54 +00:00
cegger 9e46f319a5 Adapt age_stop() as our ethernet stack expects it.
This makes 'ifconfig age0 down' working.
Ok cube@
2009-02-03 16:13:34 +00:00
jmcneill 894890c301 kmod reachover glue 2009-02-03 13:32:30 +00:00
jmcneill 5a635bb25b Add kmod glue. 2009-02-03 13:31:24 +00:00
drochner 7cd24411fd Make ntpd drop supplementary group memberships when dropping privileges
due to a "-u" option.
(There is a bug report to the subcect in ntp's bugzilla, listed
as "closed", almost two years old. Don't know what happed. My patch
is not derived from that one because the code changed.)
2009-02-03 12:51:13 +00:00
tsutsui 5d71772dad Disable LOAD_NOTE on ustarboot to avoid backward seek on loading a kernel.
Tested on DEC 3000/300 and AlphaPC 164, fixes PR install/38943 on alpha.

XXX: should we enable LOAD_NOTE on ustarfs tape boot to load modules?
2009-02-03 12:49:00 +00:00
jmcneill 1c31e53c25 Bump date for previous. 2009-02-03 12:48:00 +00:00
jmcneill 5cc75830ea Add a table that describes the mappings from native audio mixer names
to their OSS equivalents.
2009-02-03 12:46:13 +00:00
dbj 5ae3d13a2f do not require sys/mtio.h for a tools build of pax 2009-02-03 05:22:40 +00:00
lukem 14fddbd703 fix sign-compare issue 2009-02-03 05:21:24 +00:00
dbj 117ba68f3f avoid including grp.h 2009-02-03 05:18:42 +00:00
wiz ba273597f5 New sentence, new line. Use more markup. 2009-02-03 05:16:08 +00:00
dbj e614bc2dfa reapply fix to xorg build for case insensitive objdir to avoid conflict
between lib/xkbfile/xkbmisc.c and lib/X11/XKBMisc.c
original fix was in src/tools/xkbcomp
2009-02-03 05:08:39 +00:00
lukem a99197aa1c sign-compare fix 2009-02-03 04:58:38 +00:00
mrg e53a76c628 rework the main loop and handlers:
- open() and close() the file in the main loop
- pass the fd down into the handlers
- use _rtld_error() in ELFNAME(ldd)

this fixes PR#40543 and also makes error messages look better.
2009-02-03 03:01:02 +00:00
pooka ead3fc22d6 Better define GATEWAY in opt_gateway.h instead of the Makefile so
UPDATE builds don't go all coocoo.
2009-02-03 00:33:48 +00:00
pooka 7e7d6e9069 -fno-strict-aliasing is now set globally for rump 2009-02-03 00:33:26 +00:00
ghen 6920f52d1f Make AltGr keys work. Also, the tilde on the =+ key is a dead_tilde. 2009-02-02 21:37:05 +00:00
joerg bb314659c8 Merge pkg_install-20090201 and update build system. 2009-02-02 20:47:19 +00:00
joerg d66ee6c3fd Import pkg_install-20090201. From the branch merge in pkgsrc:
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used
  sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
  - pkg_add and pkg_delete have a new destdir option; scripts have to
    either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb
2009-02-02 20:44:00 +00:00
agc 57ef716bf6 Document the --version switch to print out the version information from
the libopenpgpsdk(3) library
2009-02-02 20:24:36 +00:00
agc c350af2e45 Document the function to get the version information for the openpgpsdk
library.
2009-02-02 20:21:26 +00:00
agc 40cade5517 Add a --version command to the openpgp utility, and document it. The
version is grabbed from the openpgpsdk library.

Make openpgp just include the one catch-all openpgpsdk header file.
2009-02-02 20:13:59 +00:00
abs c145c58334 support gemdos as a type of unmounted filesystem during set selection 2009-02-02 18:38:37 +00:00
joerg 90e9431320 Include the right header to get usb_hid_descriptor_t. 2009-02-02 18:15:36 +00:00
tsutsui 191f7dda19 - u_int8_t -> uint8_t
- use ANSI function decls
2009-02-02 15:59:20 +00:00
tsutsui 849e430f36 Remove obsolete #if defined(LKM) block. PR kern/40513 2009-02-02 15:57:51 +00:00
joerg e2e8a79757 Include guards and match usbd_get_hid_descriptor prototype and
implementation.
2009-02-02 14:12:01 +00:00
haad 07b62696b9 Add support for loading pseudo-device drivers. Try to autoload modules from
specs_open routine. If devsw_open fail, get driver name with devsw_getname
routine and autoload module.

For now only dm drivervcan be loaded, other pseudo drivers needs more work.

Ok by ad@.
2009-02-02 14:00:27 +00:00
enami ad526ef003 - An errno is missed in rev. 1.11 while converting return statement to
goto statement.
- A local variable still in use is intercepted in rev. 1.6.  Define and
  use variable of its own.
2009-02-02 11:19:29 +00:00
apb 1cdee1d2a2 The -d or -t flag must appear after -c/-C/-e/-E flags, because of the
way we add the device name. after the flags.
Addresses PR 40495 from Ryo HAYASAKA.
2009-02-02 09:24:47 +00:00
uebayasi 9281ce080c Make nbpwd_mkdb always generate version 1 by deciding version depending on
sizeof(pw_change).  No objection on tech-userlevel.
2009-02-02 04:24:18 +00:00
wiz 7eff20f8db New sentence, new line. 2009-02-02 03:27:37 +00:00
yamt 5e978bf3b6 remove a non-ascii comment. 2009-02-02 00:10:18 +00:00
yamt e1146d7ee9 back to malloc for now as wapbl_biodone is called by softint. 2009-02-02 00:07:06 +00:00
hubertf 47da095c98 -c: make it clear where the file hierarchy starts
-I, -E: they also work with -C, not just with -D
2009-02-01 22:37:22 +00:00
hubertf dde9e1886b When {MD5,RMD160,SHA1,SHA256_,SHA384_,SHA512_}File fail, use errno
to print what's actually wrong
2009-02-01 22:36:24 +00:00
pooka 233a89adc0 Drop splnet() *after* tsleep instead of before. Fixes a race condition
between sleep and wakeup.  (tested on NetBSD 4.0)
2009-02-01 21:25:06 +00:00
ad c26577a1b0 Apply kmem patch posted to tech-kern.
- Add another level of caches, for max quantum cache size -> PAGE_SIZE.
- Add debug code to verify that kmem_free() is given the correct size.
2009-02-01 18:51:07 +00:00
ad 58fb9db514 Apply pipe patch posted to tech-kern, slightly updated:
- Cache kva.
- Convert to use mutex_obj_alloc().
- Make better use of pool_cache.

Also:

Disable direct transfers for the moment. I believe there may be a bug that
can cause transfers to stall when switching between direct/buffered access.
I think this has most recently been run into on 'denver' but I have seen it
as far back as 3.1.

(As an aside, direct is a not a clear win on modern systems with large cache
and high TLB invalidation overhead. Particularly so on MP systems, although
micro benchmarks may report otherwise because they typically do not tax the
system. Anyone want to write a decent benchmark?)
2009-02-01 18:23:04 +00:00
ad 74d10dbea4 PR kern/40469 5.0_BETA/amd64 INSTALL kernel panics when installing on log-enabled filesystems
PR kern/40470 WAPBL corrupts ext2fs

Don't touch inodes at all unless VOP_FSYNC(). Might fix the ext2fs problem,
I am not sure.
2009-02-01 17:36:43 +00:00
pooka 0b60e66a6d enable GATEWAY 2009-02-01 17:05:26 +00:00
pooka b660d07d87 Init ipflow pool dynamically instead of using a linkset. 2009-02-01 17:04:11 +00:00
skrll 07a88e53a6 Fix printing of tv_sec,tv_usec in UVMHIST. 2009-02-01 14:25:11 +00:00
wiz e0de6d25c7 Bump date for previous. 2009-02-01 12:59:05 +00:00