Commit Graph

151550 Commits

Author SHA1 Message Date
tsutsui 430cb190a2 Allow shared PV mappings in pmap_enter(9) even on SH4 if VAs of shared pages
have the same virtual cache indexes (i.e. they won't cause virtual cache
aliases). Also prepare PMAP_PREFER(9) for SH4 to avoid some possible virtual
cache aliases.
More stuff should be added in pmap_enter(9), but at least this changes
should fix some existing problems. See discussion on port-sh3 ML for details.

OK'ed by uwe and chs, and closes PR port-sh3/34243.
2006-09-24 00:43:44 +00:00
tsutsui 84b4bcfd71 Add timecounter support for SH3 ports. From gdamore on port-sh3,
with several minor fixes by me.

Previously sh3 ports use two timers (TMU1 and TMU2) as oneshot timer
to cause real hardware interrupts by softintr(9), but now softintr(9)
uses only TMU1 and TMU2 is configured as freerunning counter for
timecounter(9).

Tested on my dreamcast.
2006-09-24 00:34:23 +00:00
elad 9cd65b7c28 PR/34220: Tyler Spivey: feature request: --max-depth for du
Thanks to Matt Fleming for porting the -d feature from FreeBSD!
2006-09-23 23:20:20 +00:00
pooka 4df78a97d5 print the L flag for routes with llinfo. makes you not wonder why
non-llinfo routes are being printed for route show -llinfo
2006-09-23 23:01:01 +00:00
dyoung c565b00740 Replace the arp -n -a / arp -n -d rigamarole for cleaning the ARP
table with 'route -n flush -inet -llinfo -host', which is not only
more concise, but it doesn't require /usr/ to be mounted.  This
lets us close bin/11079.
2006-09-23 22:54:43 +00:00
aymeric a4a3d448f2 fix adosfs_readdir() so that we can list directories on AmigaOS filesystems.
. get rid of struct adirent which didn't match struct dirent anymore
. fix cookies, move all the code handling them to the end of the function

Includes many minor changes to the code of this function.
2006-09-23 22:47:11 +00:00
dyoung 6333e1495e Let us qualify 'route flush' and 'route show' commands with -llinfo
and -host flags, which is useful for displaying/flushing ARP entries:

# route -n show -inet -llinfo -host
Routing table

Internet:
Destination        Gateway            Flags
169.254.1.119      link#1             UH
169.254.230.110    00:02:6f:21:e6:6e  UH
# route -n flush -inet -llinfo -host
169.254.1.119                             done
169.254.230.110      0.2.6f.21.e6.6e      done
169.254.237.70                            done
# route -n show -inet -llinfo -host
Routing table
#

This will help me address bin/11079, "dhclient may require arp and sed".

Extract common code from flushroutes() and show(), creating
parse_show_opts().

While I'm here, make small cosmetic changes to flushroutes().
2006-09-23 22:41:25 +00:00
snj 9f4b947629 Add lpa[0-2]. 2006-09-23 22:31:48 +00:00
elad e42f031453 PR/30107: Bob Kemp: calendar reports non-matching days.
Applied patch, and also apply patch from Johan Veenhuizen to fix bug
introduced later on -- thanks for the patches!
2006-09-23 22:25:19 +00:00
manu a2d5fc8a9e Add twa device 2006-09-23 22:24:51 +00:00
manu e057d5fcd9 Tweak the twa(4) driver so that 3ware command line utility works with it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use the
  open flag only when an attempt to detach the device is done.
2006-09-23 22:16:35 +00:00
manu 63ac93df54 Add sysctl tracing to emulations.
While we are there, fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel
2006-09-23 22:11:59 +00:00
elad f5b68de4eb PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow value
for minutes_left
Patch applied, thanks for the report!
2006-09-23 22:06:42 +00:00
manu 8a1037a46b Add a -t+S flag to ktrace for tracing activity related to sysctl. MIB
names will be displayed, with data readen and written as well.
2006-09-23 22:01:04 +00:00
manu d4b92f5f7f Add a major for twa. The 3ware management tool has the major 187 hardcoded
for twa. Fortunately 187 is available.

The same tool hardcodes twe major at 146, which falls into the range
reserved to vendors...
2006-09-23 21:58:15 +00:00
dyoung 29655a0cbb Move the #ifndef SMALL code together. 2006-09-23 21:55:47 +00:00
dyoung 07474a8f36 Use the symbol AF_UNSPEC instead of 0 as appropriate. 2006-09-23 21:51:05 +00:00
elad a01c1f4782 PR/28157: KAMADA Ken'ichi: escape sequence of hexdump(1) is broken
(SIGSEGV at worst)
Applied patch, thanks for the report!
2006-09-23 21:19:34 +00:00
dyoung bf71bcc951 Remove dead code. 2006-09-23 21:11:53 +00:00
dyoung 8adc537db8 Extract common code from set() and delete() into subroutine
is_llinfo().
2006-09-23 21:11:14 +00:00
elad a56f110db9 PR/29766: Chris Ross: Incomplete correction of comments in netinet/in.c
Patch applied, thanks!
2006-09-23 20:54:07 +00:00
yamt 0d73afac24 fix a typo in 1.28. (ccaddr_t -> caddr_t) 2006-09-23 20:51:45 +00:00
dsl 56564e27f6 Complete revamp of the way make handles job control signals.
- Send each type of signal to its own handler.
- Only call JobFinish when a process exits, in particular don't 'fake up'
  'exitstatus' for jobs being continued, nor call it for suspends.
- When a job is stopped, use an entire variable to remember the fact, so
  we know we need to send a SIGCONT.  Don't change any other state.
- In order to report '*** [job3] Suspended' before we suspend ourselves we
  have to call waitpid() from the signal handler - where we don't want to
  process job termination events. Save the exit status and process later.
The code now handles:
- jobs that suspend themselves
- jobs exiting while suspended
- jobs that don't actually suspend at all
Hoewever it still does printfs() from the signal handler, and I haven't yet
stopped it thrashing the signal mask.
2006-09-23 20:51:28 +00:00
sketch 4887a60437 + TLC 2006-09-23 20:50:19 +00:00
elad e2d6b8fbea PR/30760: David A. Holland: obsolete comment in i386/limits.h
Patch applied, thanks!
2006-09-23 20:41:20 +00:00
elad 04ced3c62f PR/30355: der Mouse: crypto(4) gets ioctl names wrong
Patch applied, thanks!
2006-09-23 20:38:51 +00:00
wiz 8651a9dfe6 Sync usage with manpage. 2006-09-23 20:26:25 +00:00
wiz 411b866d61 Sort options. Use more macros.
Add a separate line for {-b|-u}
2006-09-23 20:23:14 +00:00
elad e23e9cfd2a PR/26511: Stephen Borrill: ses devices are not created with MAKEDEV all
Patch applied, thanks!
2006-09-23 20:23:09 +00:00
elad 741d9f3bf8 PR/34305: screenblank could be more useful
Slightly different patch applied (1.4T is not the same as -current :)
Thanks!
2006-09-23 20:12:15 +00:00
pavel c1ebd304cc Replace wrong tests for character device (st.st_mode & S_IFCHR) by
S_ISCHR. Originally discovered by Paul Stoeber in OpenBSD.

OK elad@.
2006-09-23 20:10:14 +00:00
wiz 4257327293 New sentence, new line. Add -c to SYNOPSIS.
Create EXIT STATUS section. Bump date for previous.
2006-09-23 20:09:41 +00:00
elad 8fea60435c PR/34499: mac at S dot culver dot net: ls allocates more memory than needed
Applied patch, thanks!
2006-09-23 19:54:53 +00:00
elad d42da91b60 PR/33712: Nicolas Joly: top(1) print uptime twice on dump terminal
(-current)
Applied patch, thanks!
2006-09-23 19:46:57 +00:00
elad b35a67141f Add /lib, /libexec, and /usr/libexec to -D. Update man page. 2006-09-23 19:08:48 +00:00
matt b23fae2957 Fix problem with cross compiles on LP64 platforms. When splitting a DI
only compare against HOST_BITS_PER_WIDE_INT if TARGET_64BIT is true.
Otherwise, compare against 32 (as would happen on a IPL32 platform).
2006-09-23 19:07:19 +00:00
matt 4a7a5c53dd For thing that get a INTVAL result, make their type HOST_WIDE_INT. 2006-09-23 19:03:43 +00:00
matt 97da8b0449 Use HOST_WIDE_INT instead of long. 2006-09-23 19:00:03 +00:00
he fa8dee8628 Um, correct previous, so that current_state def/use is consistent. 2006-09-23 18:57:26 +00:00
xtraeme 6308f92920 Protect opt_powernow_k7.h with ifdef i386, I forget that it's only
available on i386...
2006-09-23 18:43:56 +00:00
cherry 1ad9454efb Towards ia64 libc. Round #2 2006-09-23 17:39:34 +00:00
kleink abb4bd656d tzdata2006l. 2006-09-23 17:38:58 +00:00
sketch e72d64c28d Resolve the second part of PR/19387 from Greg Woods: print error correctly. 2006-09-23 17:38:42 +00:00
cherry f264f80b8e Further ia64 libc compat bits 2006-09-23 17:38:03 +00:00
kleink 1e794d1b5d Add links from tzdata2006l update. 2006-09-23 17:37:58 +00:00
kleink 5438866a0a Merge tzdata2006l. 2006-09-23 17:34:36 +00:00
kleink 06c32e9603 Import tzdata2006l. 2006-09-23 17:28:08 +00:00
sketch 4fea323db6 Add a -c flag to specify the size of cache to use. For very large databases,
increasing this value accordingly gives massive speed improvements.

Prompted by Greg Woods in PR/19387, although mostly taken from FreeBSD.
2006-09-23 17:17:04 +00:00
fvdl 807fde634b While the low-level trigger and polarity values are the same for
ACPI and MPS, the ACPICA values are different. Convert them,
so that we get the right values into the ioapic.
2006-09-23 17:16:38 +00:00
fvdl 437e91d597 Check for the bad irq0 override quirk. 2006-09-23 17:08:43 +00:00