Commit Graph

126903 Commits

Author SHA1 Message Date
christos
4eac397f2f Add code to deal with the losing Libretto L2/L3 pcibios. From Masanori
Kanaoka. I've been sitting on this code for 3 years, and have not done
anything better with it. It is ugly, it needs to be handled better, but
it is better to have it #ifdef'ed out rather than nothing.
2004-04-30 02:45:37 +00:00
christos
f117f546d1 Deal with edge versus level interrupts properly. From Masanori Kanaoka. 2004-04-30 02:44:03 +00:00
lukem
1feb40124e Enhanced SpeedStep Technology support in i386 2004-04-30 02:21:30 +00:00
lukem
57a45b7e74 document ENHANCED_SPEEDSTEP 2004-04-30 02:14:17 +00:00
lukem
59fdcaadf2 add ENHANCED_SPEEDSTEP 2004-04-30 02:08:17 +00:00
lukem
2df026b026 Integrate support for Enhanced SpeedStep Technology (est) that
Michael Eriksson posted to port-i386 on 20031102, with various
modifications by me to work in the new sysctl(9) framework.

The code is enabled with 'options ENHANCED_SPEEDSTEP', and if
the CPU supports EST the following sysctl(8) nodes appear
(with the values that a Dell Inspiron 8600 + WUXGA with a
1.4GHz Pentium M CPU supports):
	machdep.est.cpu_brand = Intel(R) Pentium(R) M processor 1400MHz
	machdep.est.frequency.target = 1400
	machdep.est.frequency.current = 1400
	machdep.est.frequency.available = 1400 1200 1000 800 600

If EST support isn't available, the "machdep.est" sysctl sub-MIB
is not created.

Once we have a more general "CPU frequency" control API we can
migrate this code to using that.

Thanks to Michael Erikkson for providing this code!
2004-04-30 02:05:42 +00:00
lukem
3da1e3206a Add driver for Enhanced SpeedStep (in Pentium M processors),
written by Michael Eriksson and posted to port-i386 on 20031102.
(This is the driver "as is" - I'll commit the code to integrate it
into -current separately)
2004-04-30 01:56:12 +00:00
lukem
388ed266e4 rework messages so that 'fw0: maximum receive packet (2) is too small' error
doesn't appear corrupted.
2004-04-30 01:31:43 +00:00
jonathan
f233c99a3c Fix for setkey(8) to dump SPD and SAdb via sysctl:
#1. Fix an off-by-one error in sysctl_net_key_dumpsa(), which was
passing sysctl argument name[1] to a helper.  According to Andrew
Brown's revised dynamic sysctl schmea, it must instead pass name[0].

2.  There is a naming glitch in using sysctl() for setkey(8): setkey
queries the same sysctl MIB numbers to dump IPsec database state,
irrepesctive of the underlying IPsec is KAME or FAST_IPSEC.
For this to work as expected, sys/netipsec must export net.key.dumpsa
and net.key.dumpsp via the identical MIB numbers  used by sys/netkey.
``Make it so''. For now, renumber the sys/netipsec/key.c nodes;
post-2.0 we can use sysctl aliases.

3.  For as-yet-unexplained reasons, the PF_KEY_V2 nodes are never
shown (or queried?) by sysctl(8). For 2.0, I am following an earlier
suggestion from Andrew Brown, and renumbering allthe FAST_IPSEC sysctl
nodes to appear under net.key at MIB number { CTL_NET, PF_KEY }. Since
the renumbering may change, the renumbering is done via a level of
indirection in the C preprocessor.

The nett result is that setkey(8) can find the nodes it needs for
setkey -D and setkey -PD: and that sysctl(8) finds all the FAST_IPSEC
sysctl nodes relatedy to IPsec keying, under net.key.  Andrew Brown
has reviewed this patch and tentatively approved the changes, though
we may rework some of the changes in -current in the near future.
2004-04-30 01:08:35 +00:00
enami
15b3a40e8a Print fsid on verbose printing. It is useful when debugging nfs. 2004-04-30 00:48:07 +00:00
enami
4b8bc2b80f Make strlen calls to be folded to constant at compile time. 2004-04-29 23:13:35 +00:00
gendalia
ed8de01a24 Flasg -> Flags 2004-04-29 22:44:43 +00:00
christos
744eb72770 PR/25397: David A. Holland: bug in second loop of resizeterm
(win used uninitialized), hidden by wrong gcc appeasal.
2004-04-29 22:28:51 +00:00
gendalia
46bfcf8667 add "raid" raidframe disks to the list of disks sysinst can install to.
assembling the raid is still an exercise left to the person doing the install.
2004-04-29 20:47:52 +00:00
gendalia
b4066cdbc6 Add raidctl to the programs included on ramdisk-big. Allows manipulation
and by hand creation of raid disks.
2004-04-29 20:45:07 +00:00
gendalia
6c64abac77 add raidframe and raid autoconfig support to the INSTALL kernel. 2004-04-29 20:42:39 +00:00
dsl
da913444c4 Add /targetroot (used by sysinst) so that sysinst can work on sparc (etc)
systems booted off a readonly miniroot.
2004-04-29 19:44:11 +00:00
jonathan
5267884365 Make new hifn(4) and ubsec(4) manual pages visible to system, after
review, proofing, and bug-fixing by Thomas Klausner (wiz):
1. add hifn(40 and ubsec(4) to share/man/man4/Makefile and the distrib set lists.
2. Restore commented-out cross-references to hifn(40 and ubsec(4) in crypto(4).

No change made to hifn.4 or ubsec.4; commit forced for cross-reference
and for pullup-request purposes.
2004-04-29 19:42:29 +00:00
jonathan
f33b6e2e2c Replace FreeBSD SYNOPSIS with NetBSD new-config entry.
Noted by Thomas Klausner (wiz).
2004-04-29 19:05:36 +00:00
kleink
ceeaed078c XPG4.2: when it is attempted to open a database write-only, silently
"upgrade" to use read/write access on the database file.
2004-04-29 18:37:20 +00:00
kleink
b4e89dd2ab Purge a leftover comment from rev. 1.6. 2004-04-29 16:33:20 +00:00
jrf
bafcaa70cd Removed remaining caddr_t casts we do not need in miscfs. Recompiled
kernel and ran for a day or so. There are still some caddr_t types in
the arguments of some calls, I will do those separately (later) as
they touch a lot more of the system.
Approved by christos@NetBSD.org.
2004-04-29 16:10:54 +00:00
wiz
71bde56c0c Actually, we seem to be talking of ourselves, so Fx -> Nx. 2004-04-29 12:47:59 +00:00
wiz
6819fbfefc Bump date for previous. 2004-04-29 12:46:06 +00:00
wiz
8bf69b0edd FreeBSD -> Fx; use - for hyphen, not \-. 2004-04-29 12:44:46 +00:00
minoura
3a9e37fe76 Comment out ichlpcib.
There are at least 2 reports that it freezes upon startup.
http://mail-index.netbsd.org/current-users/2004/04/19/0016.html
2004-04-29 11:54:24 +00:00
wiz
5289f4b5f1 Sort sections, sort SEE ALSO, fix two typos. 2004-04-29 08:44:40 +00:00
wiz
ce9e60a9d4 Sort SEE ALSO; fix RCS Id. 2004-04-29 08:44:17 +00:00
wiz
ef9168e6d7 Drop trailing whitespace. 2004-04-29 08:38:37 +00:00
fair
06f59ac1b2 Remove specific scsibus* at (hba device)? declarations for the new,
simple:

scsibus* at scsi?
2004-04-29 07:13:03 +00:00
lukem
ee4b534db0 more stuff to deal with. (maybe rtr feels enthusiastic? (hint hint :)) 2004-04-29 06:08:34 +00:00
lukem
7e0102df65 Add some #defines missed in the upgrade to XFree86 4.4.x 2004-04-29 05:58:54 +00:00
lukem
d2df9b79b4 Sync to changes made in XFree86 4.4 and add -DXFREE86_FT2 appropriately. 2004-04-29 05:18:25 +00:00
fredb
befd757743 Protect against multiple inclusion. Lets "kdump" and "ktrace" build again
on mac68k.
2004-04-29 04:18:27 +00:00
dyoung
bf6fa62ba6 Import FreeBSD's ath of 28-apr-2004 2004-04-29 03:54:46 +00:00
lukem
0a6b839847 Install VeraIt.ttf, per PR [xsrc/25373] from FUKAUMI Naoki.
Sort xfont/mi, and cleanup whitespace.
2004-04-29 03:23:44 +00:00
jschauma
9170fe5278 add IPC 2004-04-29 02:29:24 +00:00
jonathan
01be40dbdd Correct ipsec(4) xrefs to fast_ipsec(4), and reword to match
corresponding ubsec(4) text.
2004-04-29 02:25:00 +00:00
jonathan
a9d00c0805 Change control knob for /dev/crypto to only allow requests which
will be hardware-accelerated. Avoids copyin()/copyout() overhead and
spending exceessive tie inside the kernel.

Pullup after: 24 hours, or confirmation by Jason Thorpe that this is the
consensus tech-kern agreed upon last summer.
2004-04-29 02:17:36 +00:00
lukem
e2d2459f58 Define XDMCP_NO_IPV6 along with XDMCP, as per the "native" XFree86 4.4 build. 2004-04-29 02:14:52 +00:00
jonathan
0702abec98 Add ubsec(4) manpage for Bluesteel 5501/5601 and Broadcom 580x/582x
cryptographic accelerator chips.  Text stolen wholesale from
FreeBSD, who in turn took wholesale from Jason Wright's OpenBSD man page.
2004-04-29 02:12:30 +00:00
jonathan
640183c3f7 Preliminary manpage for hifn(4), lifted from FreeBSD 4.9
(who in turn  lifted it from OpenBSD).
Not yet added to Makefile or sets, pending review/corrections.
2004-04-29 01:59:34 +00:00
jonathan
8457f71310 Identify AES-capable chips (7955, 7956) in the driver attach message. 2004-04-29 01:46:06 +00:00
lukem
7497e851b4 Add -DARC4_RANDOM to the global CPPFLAGS and X11EXTRAMANDEFS.
Remove -DDEV_RANDOM, since ARC4_RANDOM takes precedence anyway.
2004-04-29 01:30:17 +00:00
lukem
9004725f99 When creating man pages, provide a defintion for __adminmansuffix__.
(This is a new feature in XFree86 4.4.x)
2004-04-29 00:48:04 +00:00
rjs
c348bdead7 Add audio support. 2004-04-28 23:51:24 +00:00
rjs
0db69ac973 Use correct address for lpt0. 2004-04-28 23:49:42 +00:00
dsl
ead1276789 'ptn' may be ' ' so sprintf(..., "/dev/r%s%c", disk, ptn) won't work!
Convert ' ' to 0 to ensure a valid device name is genarated.
(This will be a problem in 'upgrade' when filesystems are mounted
using the targets extisting /etc/fstab.)
2004-04-28 20:59:32 +00:00
snj
7c289c6773 Bump date for last. 2004-04-28 20:28:39 +00:00
wiz
ad2a49f2be Add crypto(4). Noted by Hisashi T Fujinaka. 2004-04-28 18:42:03 +00:00