Commit Graph

101002 Commits

Author SHA1 Message Date
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
enami
bb4aeb0e05 Pull changes done in rev. 1.7 of sys/compat/linux/arch/powerpc/linux_exec.h
so that sysctl(8) compiles again.
2002-08-15 06:31:30 +00:00
enami
38540fc05e Cosmetic changes. 2002-08-15 04:47:12 +00:00
fredette
d02fd6e543 Fixed the match logic to only match one unit, and only for the
(pseudo)module named "pdc".
2002-08-15 04:22:02 +00:00
wiz
f4813ef403 Drop trailing whitespace. 2002-08-15 03:26:38 +00:00
wiz
ac8c16f96b Don't xref ourselves in SEE ALSO; separate SEE ALSO entries by comma;
use more mark up in some places.
2002-08-15 03:23:55 +00:00
wiz
323eb1eff6 Comma-separate entries in SEE ALSO. 2002-08-15 03:23:15 +00:00
wiz
bc207f9d3c Mdoc nit. 2002-08-15 03:22:49 +00:00
hubertf
3ddcffd0a9 document -u 2002-08-15 02:34:53 +00:00
briggs
c0366588ce Use local label names (.Lfoo vs. (Lfoo or foo)) 2002-08-15 01:38:16 +00:00
briggs
fa81e3d75e * Use local label names (.Lfoo vs. (Lfoo or foo))
* When moving from cpsr, use "cpsr" instead of "cpsr_all" (which is
   provided, but doesn't make sense since mrs doesn't support fields
   like msr does).
2002-08-15 01:37:01 +00:00
thorpej
45adf20cfe Whitespace. 2002-08-14 23:53:07 +00:00
thorpej
4706ae8670 Use cpsr_c rather then cpsr_all where appropriate. 2002-08-14 23:33:11 +00:00
thorpej
278ecc271f Fix some whitespace. 2002-08-14 23:30:21 +00:00
thorpej
323a5902ee Garbage-collect some unused routines. 2002-08-14 23:24:46 +00:00
thorpej
ad73349331 We only need to modify the CPSR's control field, so use cpsr_c rather
than cpsr_all.
2002-08-14 23:23:06 +00:00
chris
f4c605201d Tweak asm to avoid a couple of stalls. 2002-08-14 23:07:36 +00:00
thorpej
b45159bad0 When doing PREREAD sync operations, if the start and end addresses
of the range are aligned to a cacheline boundary, when do a dcache-inv
operation, rather than a dcache-wbinv operation.

XXX It could be a little smarter (align using wbinv, inv, then finish
up using wbinv), but even this simple change is good for a nearly 40%
improvement in my test case on XScale.
2002-08-14 22:56:55 +00:00
thorpej
8df22142b8 Fix a fencepost in the cache flush routines, caused by using the wrong
condition on a branch (bpl where bhi should have been used).  The error
caused one more line than intended to be flushed, which is particularly
bad if you're doing a dcache-invalidate operation.
2002-08-14 22:53:19 +00:00
briggs
4bb5ae3d09 Inline SetCPSR calls where it seems prudent to do so. This avoids two
branches and allows the compiler to better utilize registers around
calls to disable/enable/restore_interrupts().
2002-08-14 21:55:52 +00:00
briggs
a957deca48 G/c cowfault. 2002-08-14 21:52:36 +00:00