Commit Graph

101022 Commits

Author SHA1 Message Date
chris
1334ab7d1e following Jason's change to _xscale, convert bpl's to bhi's, saves looping more than needed in some cases. 2002-08-17 01:02:38 +00:00
bjh21
47226343a9 Be consistent about the type of idle(). 2002-08-17 00:01:23 +00:00
itojun
27dfc9236f style (tab around $NetBSD$) 2002-08-16 23:54:52 +00:00
bjh21
72f31d9112 If we're treating the MEMC as a TLB, there's no need to completely reload
it in pmap_activate().  Instead, let's leave it empty and let pages be
faulted into it on demand.  This improves the context switch latency
somewhat, at least for small processes.
2002-08-16 22:51:43 +00:00
itojun
4005a5250f set h_errno properly if internal string manipulation fails. 2002-08-16 21:54:00 +00:00
mjacob
bb6cb67b54 Further fix problems with 23XX ISR handling and correctly initialize the
23XX to use ZIO in preference to fast posting.
2002-08-16 21:43:14 +00:00
bjh21
4d7743ff17 According to Chuck Silvers, pmap_copy_page() and pmap_zero_page() don't
need to mess with the referenced and modified flags, since they're only
called when a page is being initialised, and is about to have them cleared.
Make this so.
2002-08-16 21:16:48 +00:00
itojun
2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
martin
39acbf03ed Avoid exit(0) to play more nicely with rc_fast_and_loose.
Noted by Greywolf on tech-userlevel.
2002-08-16 18:05:19 +00:00
petrov
7de59e9a76 Add tty for sab. 2002-08-16 17:56:56 +00:00
thorpej
ebff575bc3 * Add a new machdep.powersave sysctl, which controls the use of
the CPU's "sleep" function in the idle loop.
* Default all CPUs to not use powersave, except for the PDA processors
  (SA11x0 and PXA2x0).

This significantly reduces inteterrupt latency in high-performance
applications (and was good to squeeze another ~10% out of an XScale
IOP on a Gig-E benchmark).
2002-08-16 15:25:53 +00:00
heinz
306c75457d regen 2002-08-16 15:08:08 +00:00
heinz
fb31736257 Add Lucent/Agere FW322/323 IEEE 1394 controller 2002-08-16 15:03:02 +00:00
fredette
a3961f4a15 This cleans up interrupts with respect to GSC bus chips and the devices
they contain.  IRQ information for these has been removed from the
kernel configuration file.  GSC bus chips now choose an available CPU
IRQ for themselves, and know IRQ information for all of the devices
they may contain.  Minor autoconfiguration changes support this.

Renamed the old-style vmstat interrupt counters to say "ipl" and not
"irq", since they've been disconnected from irq numbers.  Also provide
a function to allocate an irq bit from an interrupt register, and a
function to report the next ipl bit that will be allocated.
2002-08-16 15:02:39 +00:00
itojun
44ca8f4da1 use sizeof, avoid duplicated use of MAXDNAME 2002-08-16 13:59:39 +00:00
itojun
1173373b45 be more picky about size arg 2002-08-16 12:23:20 +00:00
itojun
1e1a07972c lint clean 2002-08-16 12:20:19 +00:00
itojun
bb80ac654a avoid sprintf. use snprintf with picky error traps. 2002-08-16 12:18:06 +00:00
itojun
0de70db9cd check for pointer overwrap 2002-08-16 12:10:37 +00:00
itojun
b51bffa186 correct cases with zero in the middle
(0x00ff00ff should be "0.255.0.255", not "255.255")
2002-08-16 12:05:01 +00:00
itojun
0b6566bcda avoid sprintf. use snprintf. simplify cases where 1st arg is 0. 2002-08-16 12:03:41 +00:00
is
a71878134b IDE drives are no longer configured as sdN 2002-08-16 12:01:39 +00:00
itojun
c6a3499c08 use snprintf. don't duplicate MAXDNAME (use sizeof). 2002-08-16 11:53:19 +00:00
itojun
90a8853f46 use strlcat 2002-08-16 11:49:57 +00:00
itojun
f425242dc9 fix weird indent for comment lines 2002-08-16 11:48:25 +00:00
itojun
c5a4255163 eliminate sprintf. use snprintf.
XXX loc_ntoa should be changed to take additional size_t as arg
2002-08-16 11:45:55 +00:00
itojun
5c323232e7 eliminate sprintf, use snprintf. check strlcat error. 2002-08-16 11:30:28 +00:00
kent
4cb030f3b9 Fix division-by-zero when auich_set_params() is called before auich_calibrate(). 2002-08-16 11:22:13 +00:00
jdolecek
d23ad48af9 use 'pid_t' for pipe_pgid, rather that 'gid_t'
this fixes the code in pipeselwakeup() to properly send signal to process group

Problem found by Anders Magnusson, using gcc 3.2 with pdp-10 target.
2002-08-16 10:32:12 +00:00
petrov
4f9cdf2197 Enable sab. 2002-08-16 09:03:36 +00:00
petrov
560e50e242 Add sab. 2002-08-16 08:56:44 +00:00
msaitoh
3bc4d0b5aa remove extra CRLF conversion 2002-08-16 08:56:27 +00:00
jdolecek
4a6a2fe18b update to accompany removal of COMPAT_OLDBOOT, and no more 'wd' and 'sd'
aliases for 'hd'
2002-08-16 08:54:18 +00:00
petrov
e879a86b97 Add sab. 2002-08-16 08:52:48 +00:00
petrov
0e426c8d8b Port Jason L. Wright's sab82532 driver. From OpenBSD. 2002-08-16 08:47:13 +00:00
itojun
3452fa16c4 be more picky about string buffer manipulation. hints from freebsd 2002-08-16 07:39:44 +00:00
thorpej
b9d86783bf * Hard-code EXTSR_1000XFDX|EXTSR_1000XHDX for reads of the MII_EXTSR
in the TBI case.
* Force BMSR_ANEG | BMSR_EXTCAP to be returned for reads of the MII_BMSR
  in the TBI case.
2002-08-16 07:10:56 +00:00
briggs
b84fadb38b i80200_extirq_dispatch takes a struct irqframe * now. 2002-08-16 04:55:48 +00:00
lukem
0978bdfe12 update xset sizes for vax (from matt@) 2002-08-16 04:15:11 +00:00
enami
ec0349cba1 Make this compiles again when compiled without YP.
From Makoto Fujiwara in private mail.
2002-08-16 01:06:28 +00:00
hubertf
dfa4cb8d4d Fix a few comments, and add some others to outline what's missing
in the pkg upgrade case (two TODOs :)
2002-08-16 00:47:39 +00:00
thorpej
cb80293b4b If __ARMEB__ is defined, always set CPU_CONTROL_BEND_ENABLE in
the CPU control register.
2002-08-16 00:06:26 +00:00
soren
1f8cf74815 Typo. 2002-08-15 19:17:04 +00:00
thorpej
85181628b6 Fix markup in AUTHORS section. 2002-08-15 19:03:34 +00:00
mycroft
b916651e58 Correct the check for whether SMART is enabled. 2002-08-15 18:57:51 +00:00
thorpej
00a0212e10 Update a comment; TCP/IP checksum offloading is fixed! 2002-08-15 18:35:25 +00:00
briggs
b98931f62e Use .L prefix for all local labels. 2002-08-15 18:30:36 +00:00
briggs
8d5eb3e93d On transmit, zero the upper 32 bits of the address in the tx descriptor.
The descriptor may have been used as as context descriptor in the past,
in which case this field will be non-zero.  h/w checksum offload works now.
2002-08-15 18:29:02 +00:00
christos
4251568ad8 Fix multi-function card memory problems:
- centralize pcmcia function allocation and free'ing.
- free the cfe too, not just the pf in the multifunction card case.
- don't free pointers while walking the list, because free() will
  fill the memory with deadbeef, thus killing list walking.
2002-08-15 10:37:02 +00:00
augustss
bbe21e45f5 Move a quirk tests so the message printed about directionality is right. 2002-08-15 09:32:50 +00:00