Commit Graph

128817 Commits

Author SHA1 Message Date
yamt
72afe94686 nfs_fsinfo: when changing rsize/wsize,
keep mnt_fs_bshift in-sync.  otherwise genfs_getpages behaves badly.
2004-07-12 12:40:30 +00:00
yamt
5e6cd45b9d fix "gzip -lv a.gz" after gzip.c 1.46. 2004-07-12 10:21:11 +00:00
yamt
284b1b2ac6 another warn -> warnx. 2004-07-12 09:58:10 +00:00
enami
c991543af7 Print 10450000 as 10M instead of 10.0M (more greater value such as
10500000 is printed as 10M).
2004-07-12 09:21:20 +00:00
enami
1b94ae7df7 No need to set divisor twice. 2004-07-12 09:14:07 +00:00
jdolecek
1196c8ba2e consistently quote all values printed in the summary of
the current locale environment ('locale' without arguments)
2004-07-12 08:51:56 +00:00
mrg
2644272f85 in check_outfile() if the outfile exists and -f was given just delete it.
fixes PR#26251.
2004-07-12 02:50:38 +00:00
yamt
bd416872f6 fix descriptor leaks on error. 2004-07-11 22:49:42 +00:00
mycroft
09e877af0b Make this build again. 2004-07-11 20:01:04 +00:00
manu
d4d3cc307c commpage function changes:
Copy all the commpages instead of one
Add the missing bcopy function
Wrong function name: pthread_getspecific instead of pthread_specific
2004-07-11 19:38:14 +00:00
uch
8120bbbeda run getty on /dev/ttyE0 by default.
otherwise, user can't start X server.
2004-07-11 16:08:55 +00:00
uch
87b3504abb cosmetic changes. (whitespace,<tab>) 2004-07-11 16:04:58 +00:00
msaitoh
38e0720545 Add Dothan 2004-07-11 15:22:05 +00:00
mrg
668894b1c5 - in gz_uncompress() be sure to do the crc/len recalculation insigned.
fixes PR#26246.
- if crc/len are wrong, be sure to noticed it failed
- in check_suffixes(), be sure not to underrun an array (from yamt)
- don't fail so badly on short header, from and fixes R#26242 (also
  from yamt)
- more underrun avoidance in file_uncompress().  fixes PR#26241.
2004-07-11 14:39:39 +00:00
wiz
ae14ac53a8 Mark up EST, and bump date for previous. 2004-07-11 09:54:40 +00:00
cube
e287e9e65c Document EST_FREQ_USERWRITE. 2004-07-11 09:45:04 +00:00
mrg
d44ac40080 check the suffix of the input file ala GNU gzip, and error about it
unless -f is given.  fixes PR#26240
2004-07-11 09:40:51 +00:00
yamt
b8fdf9590c test no-error case as well. 2004-07-11 09:21:50 +00:00
mrg
e46324f383 move the crc/len code into their own state's to properly allow the buffer
to be refreshed.  re-fixes regress/usr.bin/gzip/concatenated.
2004-07-11 07:01:03 +00:00
mrg
469c821e42 - check for trunated input.
- check each gzip-part's length against the original and warn if it's
  wrong.  fixes part of PR#26233.
- check the input crc32.  fixes the rest of PR#26233.
2004-07-11 06:20:29 +00:00
mrg
7ed5da7ba5 don't assume Z_STREAM_END means end-of-file. fixes PR#26234. 2004-07-11 05:40:51 +00:00
tsutsui
06b7bb3ccf Add yet another late entry about emuxki(4) fix for big endian machines. 2004-07-11 03:29:41 +00:00
tsutsui
dee37a68db Note support for O2 (IP32) on-board MACE MAC-110 Ethernet. 2004-07-11 03:23:17 +00:00
tsutsui
fff3ff1b2c Add a working driver for O2 (IP32) on-board MACE MAC-110 Ethernet.
Note:
- I don't have any hardware docments for this device, so this driver might
  have some odd descriptions guessed by results of try-and-errors.
  (the only info I have is the Linux driver, but I think it doesn't describe
   the hardware specifications very well anyway)
- All RX packets and most TX packets are copied from/to buffers in the driver
  due to hardware restriction, so performance is not so good for now.
  Maybe RX packets can be directly DMA'ed to mbufs by the same method used
  of fxp(4), but the hardware seems to require 4kbyte aligned RX buffers.
- Multicast filter setup function is not tested yet (no info).
- Currently only tested on R5000 O2 with disabled L2 cache, so needs
  more tests on other CPU (i.e. RM5200/R10000/R12000) models.
- Currently BUS_DMA_COHERENT is not used for the device control data DMA
  to avoid performance issue on memcpy() against RX buffers, but it might be
  problematic when L2 cache is enabled or on R10000 models.
2004-07-11 03:13:04 +00:00
martin
9d71aa9ed6 Adapt to new sparc bus_space_tag_t world order. 2004-07-10 22:30:29 +00:00
nathanw
86906dceb8 Remove SKIP_FUNCn quirks for SC1100 companion chip; the fix to SMM in
i386/identcpu.c renders it counterproductive.

(this was the only use and the reason for the invention of the
SKIP_FUNCn quirk; it should probably be removed entirely).
2004-07-10 21:30:58 +00:00
nathanw
7e753fcf97 cyrix6x86_cpu_setup: Save and restore the original value of CCR3
across the "coma bug" workaround to avoid clearing the MAPEN bit if it
was originally set by firmware. This appears necessary for proper
functioning of SMM on Geode CPUs, and thus for proper emulation (ugh)
of access to certain PCI configuration registers or VGA register
spaces. With this change, VGA and soundblaster emulation work on Geode
NX1 systems.

This was also the underlying problem that led to the introduction of
the PCI_QUIRK_SKIP_FUNCn quirks in pci_quirks.c, which are no longer
necessary (and counterproductive if you want to use VGA or a
Geode-specific audio driver). See the thread "pci probe" on port-i386
in August 2003 (The Soekris 4801, apparantly the most popular
Geode-based NetBSD box, has neither VGA nor audio, which may explain
why this wasn't noticed at the time).
2004-07-10 21:25:53 +00:00
nathanw
cb111b5e34 When _SOFT_FLOAT is defined, don't save or restore user FP context.
(note: still needs some mk rules tweaking for MKSOFTFLOAT=yes to pass
-msoft-float to asm builds).
2004-07-10 20:57:00 +00:00
pk
ea3030771a Use bus_space_tag_alloc(). 2004-07-10 20:37:07 +00:00
yamt
6b173bb3d3 add some gzip tests. (currently fails.) 2004-07-10 19:32:06 +00:00
cube
120187b856 Add commented out EST_FREQ_USERWRITE to GENERIC_LAPTOP too. 2004-07-10 18:52:30 +00:00
cube
ca1f4e2485 Add an option to allow any user to write to machdep.est.frequency.target,
which is very handy on a laptop to control EST through another program that
you don't necessarily want to run as root (in my case, gkrellm).

The option's name is EST_FREQ_USERWRITE, and is disabled by default.
2004-07-10 18:51:01 +00:00
yamt
b6ec63a3cc tailing \n is not needed for vwarn(). 2004-07-10 17:35:59 +00:00
wiz
d771b2e264 Sort options and add -v to usage. From Kouichirou Hiratsuka in PR 26219,
though done slightly differently (options without arguments always come
first).
2004-07-10 16:12:29 +00:00
wiz
a3b80f097f Sort options; new sentence, new line; use Pq. 2004-07-10 16:11:29 +00:00
christos
5e63f46756 PR/25991: Martin Husemann: ipnat.conf rules don't allow port/protocol names
Patch applied, but new we have a never reduced rule (dport)
2004-07-10 16:11:00 +00:00
christos
981c88b630 PR/25992: Grant Beattie: some protocol names in ipf.conf don't work
patch applied.
2004-07-10 15:38:28 +00:00
wiz
f46be40b71 Move RCS Id to top of file; comment out reference to trunc(3),
which we do not have.
2004-07-10 14:11:18 +00:00
junyoung
e0ea8a48b1 Note addition of round(3) and roundf(3). 2004-07-10 13:53:11 +00:00
junyoung
bc836a3102 lib/24252: Add C99 functions round(3) and roundf(3).
libm minor unchanged; ride a recent bump.

From FreeBSD.
2004-07-10 13:49:09 +00:00
uwe
b65388fd20 Sync with relevant portions of GENERIC 1.160.
Uncomment FFS, as MFS needs it.
2004-07-10 12:17:09 +00:00
uwe
afd4d28baa Sync with relevant portions of GENERIC 1.160.
options<space> police.
Uncomment FFS, as MFS needs it.
2004-07-10 12:12:55 +00:00
tron
dc33169c5b Add prefix "${PROG}-" to filename of automatically created list of
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00
uwe
2ab14a9acf options<space> police. 2004-07-10 12:05:35 +00:00
tsutsui
43f42bdb21 Count mace interrupts by evcnt(9). 2004-07-10 08:47:33 +00:00
tsutsui
9864035c97 Remove a debug printf. 2004-07-10 08:44:42 +00:00
tsutsui
0d31ac4463 Make sure shared interrupts properly handled. 2004-07-10 07:39:13 +00:00
enami
150b25198e Whitespace nits. 2004-07-10 07:11:38 +00:00
enami
af9fc9cd10 Use strtoimax rather than strtol to parse a number which represents
an offset in a file.  long is insufficient on some architecture.
Problem noticed by Atsushi Onoe while ago.
2004-07-10 07:10:43 +00:00
itohy
9d3038ce88 Silence gcc -W ("static void __inline__" -> "static __inline__ void"). 2004-07-10 06:07:52 +00:00