Commit Graph

105085 Commits

Author SHA1 Message Date
phk
f00200d8a4 Preparation commit for the tty cleanups that will follow in the near
future:

rename ttyopen() -> tty_open() and ttyclose() -> tty_close().

We need the ttyopen() and ttyclose() for the new generic cdevsw
functions for tty devices in order to have consistent naming.
2004-07-15 20:47:41 +00:00
le
2f3742942c MFNetBSD.
rev. 1.67, author: mycroft
   Fix a byte order error.

rev. 1.68, author: mycroft
   Adjust some silliness that was causing us to do extra work for
   "frame list rollover" interrupts, which we pretty much ignore.

Obtained from:   NetBSD
2004-07-15 19:25:06 +00:00
cperciva
9d7fc57491 Add security/freebsd-update back for non-ia64 releases. (The port is
currently marked ONLY_FOR_ARCHS= i386 amd64 alpha sparc64.)

Approved by:	scottl
2004-07-15 18:22:21 +00:00
alc
123cfa6b64 Push down the acquisition and release of the page queues lock into
pmap_protect() and pmap_remove().  In general, they require the lock in
order to modify a page's pv list or flags.  In some cases, however,
pmap_protect() can avoid acquiring the lock.
2004-07-15 18:00:43 +00:00
njl
c9b72f6bbf Add a few comments about ACPI probing. 2004-07-15 16:47:31 +00:00
njl
43c55237f6 Add fdc_acpi to module build, bump WARNS to 2. 2004-07-15 16:44:14 +00:00
njl
e0b379b424 Hook up fdc_acpi for the kernel build. 2004-07-15 16:43:52 +00:00
njl
db94b43487 Clean up resources properly if attach fails. Always reset ISA drives on
probe.
2004-07-15 16:41:07 +00:00
njl
c36db208d3 Re-work for fdc_acpi. Expose fdc_add_child() and move the static
hints-based probe to fdc_hints_probe().

Also:
* Fix some resource leaks when attach fails.
* Remove the FDC_ATTACHED flag.  It was supposed to prevent multiple
  unloads but this is not necessary.
2004-07-15 16:39:40 +00:00
njl
b29a887bf7 Add an ACPI floppy drive attachment that probes via the _FDE and _FDI
methods.  It also now handles ordinary floppy drive probing for drives
attached to ACPI.

Reviewed by:	imp
2004-07-15 16:38:07 +00:00
jhb
a88a774b5e Fix a typo in a comment. 2004-07-15 16:37:48 +00:00
njl
207d886bed Update the interface for child drivers. Add acpi_scan_children, which
allows a bus to re-enumerate its child handles and optionally replace
them with new children, arranged to the bus's liking.  (The current device
space is flat with all devices immediately under acpi0).  Add comments
for each interface.
2004-07-15 16:29:08 +00:00
scottl
d38217cbdf Move references to the recently removed worm directory. 2004-07-15 15:37:56 +00:00
nyan
e190a12d82 Move the fdc_alloc_resources function into the bus front end. 2004-07-15 15:00:02 +00:00
mbr
4cb8610989 Reenable nullfs for local links. The change from 'struct vfsconf'
to 'struct xvfsconf' broke auto configuration. Patches have been
submitted to the vendor.
2004-07-15 13:24:44 +00:00
tjr
1257bb0d63 Document incorrect handling of multibyte characters. 2004-07-15 11:10:09 +00:00
tjr
62ca3fc301 Avoid passing negative values to isdigit() on machines with signed chars. 2004-07-15 10:26:38 +00:00
brian
47bda6be1f Fix ``set ifaddr''. The code was actually using an uninitialised variable,
but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to
ncpaddr_getip4addr() became a no-op leaving the local address as it was
(defaulting to whatever my hostname resolves to).

PR:		62050
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
MFC after:	3 days
2004-07-15 09:42:16 +00:00
murray
2bc5ca0db1 Add a publisher variable with the URL for the FreeBSD Project, and put
this into the ISO headers by specifying the -P option to mkisofs.

Obtained from: share/examples/worm/makecdfs.sh
2004-07-15 09:28:03 +00:00
tjr
74042ab74b Avoid passing negative values to isspace() on machines with signed chars. 2004-07-15 09:23:04 +00:00
tjr
c63c3a56b8 Respect locale settings from the environment. 2004-07-15 08:54:41 +00:00
tjr
21f820d4c3 Avoid passing negative values to isspace() on systems with signed chars. 2004-07-15 08:27:04 +00:00
phk
5c95d686a1 Do a pass over all modules in the kernel and make them return EOPNOTSUPP
for unknown events.

A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
2004-07-15 08:26:07 +00:00
tjr
a2ba9d448d Respect locale settings from the environment. 2004-07-15 08:13:56 +00:00
alfred
bcc5104ce1 Cleanup shutdown output. 2004-07-15 08:01:00 +00:00
roam
cdce0672ea A couple of grammar fixes in the bktr options section.
PR:		66828 (mostly)
Submitted by:	Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after:	2 weeks
2004-07-15 07:52:27 +00:00
roam
79ab1105d5 Fix 'camcontrol rescan' syntax and use the proper indentation for
the FILES list.

PR:		66827
Submitted by:	Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after:	2 weeks
2004-07-15 07:34:14 +00:00
tjr
fccee4f3c3 Don't pass negative values into <ctype.h> functions on machines
with signed chars.
2004-07-15 07:33:56 +00:00
tjr
35c40abaac Print size_t with %zu, not %d. 2004-07-15 07:30:15 +00:00
tjr
cc381691c4 Respect locale settings from the environment. 2004-07-15 07:26:20 +00:00
tjr
8529e351cd Add incorrect multibyte character handling to the already long list
of bugs.
2004-07-15 06:59:34 +00:00
tjr
4d0f381593 Use freopen() instead of a nasty hack. 2004-07-15 06:57:36 +00:00
tjr
7b1443b6d7 Document incorrect handling of multibyte characters. 2004-07-15 06:43:52 +00:00
tjr
fdd18f5e83 Ensure that suffix matches occur on character boundaries. 2004-07-15 06:15:10 +00:00
tjr
51777f0d81 Document line length and multibyte character limitations. 2004-07-15 05:12:04 +00:00
murray
5844c201ac Remove Walnut Creek CDROM script that Jordan wrote in the 90s.
This functionality is largely in src/release/${ARCH}/mkisofs.sh now.

PR:	docs/43569
2004-07-15 05:04:39 +00:00
tjr
c26205072e Use err() instead of perror(), exit(). 2004-07-15 04:56:41 +00:00
jhb
f0c929d4ea Remove some serious foot-shooting potential from the release Makefile. For
some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally
added, they were silently ignored if the actual file did not exist.  As a
result, if one mistyped the pathname to a patch or script, then the release
silently succeeded.  However, it was not built with the desired changes and
no warning was given to inform the builder either.  This commit explicitly
checks to see that all of the defined patches and scripts exist up front
and bails if any of them do not exist.  I lost several hours of valuable
sleeping time this evening due to this "feature" so I've finally gone and
ripped out.  I've tripped over this in the past several other times as
well.

Glanced at by:	scottl
2004-07-15 04:52:57 +00:00
tjr
508b8bed27 Use warn() instead of perror(). 2004-07-15 04:51:21 +00:00
davidxu
f478e0fbc2 Add libthread_db assisted debugging support module. 2004-07-15 04:51:04 +00:00
tjr
8fb57041b7 Use warn() instead of perror(). 2004-07-15 04:45:24 +00:00
alfred
0389c188de Tidy up system shutdown. 2004-07-15 04:29:48 +00:00
davidxu
3bb346143c type prgregset_t really should be an array. this is odd, however, other
systems defined interfaces in thread_db.h use prgregset_t but not
prgregset_t * to be a output parameter, this is the only way to maintain
source code compatible with them.
2004-07-15 03:52:17 +00:00
alfred
d81ea8a275 Disable SIGIO for now, leave a comment as to why it's busted and hard
to fix.
2004-07-15 03:49:52 +00:00
davidxu
aa10381f8a Add proc_service.h, the common file both debugger and libthread_db will
use, program wants to load libthread_db.so should provid proc service
interface.
2004-07-15 03:43:18 +00:00
davidxu
f64cd4bec9 Add my initial work of libthread_db. The library is used by gdb to debug
threaded process. Current, only libpthread is supported, but macrel will
work on it to support libthr and libc_r.
2004-07-15 03:36:35 +00:00
njl
61f27b8eb8 Clean up the output on reboot by keeping completion messages on the same
line as the announcement.  Someone should probably update the "buffers
remaining" message since we now no longer should have any buffers remaining
at that point.
2004-07-15 03:20:08 +00:00
alc
cefb6e8665 A loop in pmap_remove() should use TAILQ_FOREACH_SAFE(), not
TAILQ_FOREACH(), because the loop deletes elements from the list.

Reviewed by:	marcel@
2004-07-15 03:20:00 +00:00
kientzle
429d9c9041 Make the day/month ordering dependent on the current locale by
testing the locale at program startup and setting a flag, then
using that flag to determine appropriate strftime() arguments.
2004-07-15 03:14:46 +00:00
kientzle
dac3c49a71 Style: rename 'mkdirpath' so it's clearer exactly what it does.
(To be precise, it creates the parent dir of the provided path.)
2004-07-15 03:13:27 +00:00