Commit Graph

177806 Commits

Author SHA1 Message Date
dyoung
7d8d7e5e0f So that I can both detach and *re-attach* elanpar0, elanpex0, and
gpio0, let elansc(4) rescan for them.
2009-02-06 01:38:28 +00:00
dyoung
b4f3367acd Extract a subroutine pmf_device_resume_descendants() from
pmf_device_resume_subtree(), for re-use later.
2009-02-06 01:19:33 +00:00
dyoung
e7aed4b441 When the power status changes, always note the change and wake the
socket events thread.  Sometimes we would not note the power-status
change if the socket also indicated a change in card status.
2009-02-06 01:15:53 +00:00
abs
175e4bfbdf Add -DSUPPORT_8_3_SOURCE_FILESYSTEM option - currently *only enabled on atari*
which if a set file cannot be found will attempt to truncate down to 8.3 and
check again. Required for install with sets from GEMDOS filesystem.
2009-02-06 00:24:29 +00:00
dyoung
1121b32c97 If the bus_dmamap_load_mbuf() status was non-zero, then the DMA
map is undefined, so do not try to unload it.
2009-02-05 23:56:57 +00:00
lukem
6f550c4d36 sign-compare fix 2009-02-05 23:52:55 +00:00
lukem
fc2df2f1c0 sign-compare fix 2009-02-05 23:22:39 +00:00
dyoung
de6be57a12 Use the in6_ifaddr ia_ifa member instead of casting from from
in6_ifaddr to ifaddr.

Remove unnecessary parentheses.  Do not needlessly cast RTM_ADD to
int.

No functional change intended.
2009-02-05 22:32:24 +00:00
dyoung
2c4e9d51df Explicitly initialize mem_cluster_cnt to 0 for my peace of mind. 2009-02-05 22:26:53 +00:00
dyoung
dcbf325fdb Cosmetic: break a line, change some spaces to tabs, remove an extra
empty line.
2009-02-05 21:45:36 +00:00
dyoung
4bb08aca8c Initialize ec_mii, and re-use more ethernet common code for media
handling.

Replace an anonymous constant by PCI_COMMAND_INTERRUPT_DISABLE.

These changes have been compile-tested, only.
2009-02-05 21:40:46 +00:00
haad
a257a2bccf Revert previously changes. There is no cgd and ccd directory until I properly
test ccd.kmod and cgd.kmod.
2009-02-05 21:07:19 +00:00
joerg
e497a92b9e Add recommendation to rebuild the pkgdb cache after an update. 2009-02-05 20:00:58 +00:00
pooka
a1b463523d * fix a bug where we would try to lock a PG_FAKE page twice
* do not panic if VOP_STRATEGY fails.  it's someone else's problem
* return the actual number of pages we provided, not just the ones
  which contain data
* sprinkle some debug prints
2009-02-05 19:59:35 +00:00
joerg
560d13285f Retire. 2009-02-05 19:58:17 +00:00
pooka
6b5b1701a9 Specify BROKEN DIRECTORY ENTRY printf comes from udf
(can happen e.g. with medium error)
2009-02-05 19:39:08 +00:00
dyoung
238b355bab Remove the 'nls' tag from ./usr/share/locale/sk_SK.ISO8859-2/LC_MESSAGES,
since we install the directory whether MKNLS=no or not.

Replace comp- with base- in some syspkg names.

Put firmware and files from /usr/share/mk/ into their own syspkgs.
2009-02-05 19:35:48 +00:00
dyoung
7b8c552849 Fix MKBFD=no builds, add the 'bfd' tag to ./usr/libdata/ldscripts/kmodule. 2009-02-05 19:32:08 +00:00
dyoung
a6e2723726 Move the RUMP libraries to a syspkg called base-rump-shlib. 2009-02-05 19:29:48 +00:00
dyoung
57e7da9522 Move RUMP libraries to a syspkg called base-rump-shlib. 2009-02-05 19:28:43 +00:00
christos
1dc5f9b89b match documentation in el_push 2009-02-05 19:15:44 +00:00
christos
d052ee7b7f add rl_set_prompt 2009-02-05 19:15:26 +00:00
abs
d82fca09e4 Remove additional GEMDOS only check on fstype, and update comment 2009-02-05 18:39:15 +00:00
sborrill
d9e19ce400 Add bwi(4) man page based on Dragonfly man page 2009-02-05 18:03:30 +00:00
haad
7aa7bdd03c Add support for the MODULAR framework to the vnd driver. Enable building of
vnd.kmod by default.
2009-02-05 17:32:10 +00:00
macallan
685cae19f2 Recycle OBP's framebuffer mapping if available instead of wasting KVA space
by creating our own.
2009-02-05 16:04:00 +00:00
enami
e6aec5115a Make revoke(2) works as before:
- vfs_syscalls.c rev. 1.342 fails to invert condition correcly when
  then-clause and else-clause is swapped.  Since then, revoke(2) fails
  if it is issued by file owner.
- Probably since rev. 1.160 of genfs_vnops.c, revoke(2) fails if it is
  applied to non-device file and drops kernel into ddb.
2009-02-05 13:37:24 +00:00
lukem
8bbffe062a sign-compare fix 2009-02-05 13:21:11 +00:00
haad
460b9c8427 Fix MKLVM=yes MKDEBUG=yes build. Patch sent by Dieter Roelants. 2009-02-05 10:18:49 +00:00
plunky
f48df6dbec correct typo in EULA file name, pointed out by dieter roelants 2009-02-05 10:07:34 +00:00
wiz
5e4ca1fabc binutils-2.19.1 out. 2009-02-05 07:11:59 +00:00
agc
80a7466337 No need to define our own ops_boolean_t, ops_true and ops_false when
there are perfectly good values like bool, true and false waiting to
be used in <stdbool.h>
2009-02-05 06:03:49 +00:00
lukem
38d40fc9f8 sign-compare fix 2009-02-05 05:39:38 +00:00
lukem
5e1ba2f2e6 sign-compare fix 2009-02-05 03:22:37 +00:00
agc
dda6c6990e When signing or encrypting files, allow the userid to be specified using
the (8 or 16) character keyid.

One more thing off the TODO list.
2009-02-05 01:42:39 +00:00
tls
f0f7a44ff5 From Sergey Katsev at Coyote Point: fix bugs in request transformation and
CGI handling, including bin/40355 .  There are two main changes here:

1) call process_cgi() after transform_request(), not before.  Now it is
   possible to have a default cgi handler catch a request for a path that
   was produced by transformation, e.g. by index generation -- so now the
   index can be "generated" by a CGI if that is what the user desires.

2) More clearly distinguish "file" from "query" portions of the request
   URL, so we do not feed ?-suffixed "arguments" to plain files, fail to
   match filename extensions due to ?-suffixes, etc.

   After this change, there are only two cases which use the "query"
   portion of the request (the portion after the ?):

     a) A redirect issued by HTTPD will redirect to the new file, but
	with the same query string.

     b) process_cgi() will, of course continue to use the query string.
2009-02-04 22:55:58 +00:00
ad
2015b56df5 Warn once and no more about backwards monotonic clock. 2009-02-04 21:29:54 +00:00
ad
3c32363107 PR kern/36183 problem with ptrace and multithreaded processes
Fix the crashy test case that Thor provided.
2009-02-04 21:17:39 +00:00
pooka
bbaefad73d Break hold-and-wait which happens in ufs_balloc_range() when we
have pages busied and are trying to get the genfs node lock.
This causes a lock order reversal described in PR kern/40389.
This is not a proper fix and only a workaround for NetBSD 5.0.

problem first reported by simonb, patch tested by rmind
2009-02-04 21:07:19 +00:00
wiz
866212e533 Bump date for previous. 2009-02-04 20:46:14 +00:00
wiz
084542a09a Fix typo in .Dd argument. New sentence, new line. 2009-02-04 20:45:17 +00:00
ad
350a5f88e7 PR kern/40491 5.0: nfs timer can crash/break on smp
Hack around it by acquiring softnet_lock around the client-side timer loop.
2009-02-04 20:36:54 +00:00
rmind
78a982c8f2 genfs_getpages: move putiobuf() and uvm_pagermapout() outside the glock.
OK by <ad>.
2009-02-04 20:32:19 +00:00
ad
563a207d33 Default 'show all procs' to /l. People tend to type 'ps' without modifiers
when providing information about deadlocks. Without the thread info it's
not very useful.
2009-02-04 20:17:58 +00:00
pooka
b511f1cdcf Create the clock interrupt and soft interrupt workers as MPSAFE 2009-02-04 19:40:21 +00:00
plunky
fe9facd3bf use some size_t instead of int 2009-02-04 19:24:18 +00:00
plunky
4d50b1aa1d remove paragraph saying that the firmware file is not included and who to
complain to because it is included. change path to actual path.
2009-02-04 19:14:12 +00:00
plunky
98d4fb5c0e no need to reference pkg_add since the firmware file is included in base 2009-02-04 19:11:55 +00:00
pgoyette
397929c01e Return error status if an attempt is made to use the quick_{read,write}
i2c protocols, since we don't (yet) know how to make the controller do it.
2009-02-04 16:11:12 +00:00
tsutsui
f3b5f74b58 - use multiple sector read on floppy boot
(speeds up ustarfs floppy boot from ~840sec to ~100sec)
- use twiddle() rather than printing CHS numbers on reading floppy sectors
- make ustarfs_load() work with more than two volumes
- bump revision

XXX: FD_FORMAT_2D is not identified properly in boot_device() on EWS4800/360SX.
2009-02-04 15:22:13 +00:00