Commit Graph

11960 Commits

Author SHA1 Message Date
wiz 91b16df666 Bump date for today's changes. 2009-09-27 21:05:55 +00:00
jakllsch bd5cb77445 gpio(4) support for Intel ICH southbridges.
Tested on Intel SS4200-E (ICH7), and Acorp 6A815EPD (ICH2) motherboards,
on amd64 and i386 ports respectively.

It should be noted that the majority of boards with ICH chips do not
expose the GPIO pins for off-board use.  For instance, aside from the
three exposed-on-a-header pins on the 6A815EPD, another pin is also
used to control write protect on the FWH.  The SS4200 exposes the GPIO
on a header that connects to the 10 LEDs on the front panel, as well
as a tact switch on the back panel.
2009-09-27 17:55:31 +00:00
dholland 8d36057243 Move a big wodge of symlink-following code from nfsd to inside
lookup_for_nfsd(). This code is, or at least should be, the same as
the regular symlink-following code plus an extra flag nfsd needs.

The two lots of code can/will be merged in the future.
2009-09-27 17:23:53 +00:00
dholland fb458255a3 Rename lookup() to lookup_for_nfsd(), to make it clear just whose
private backdoor entry point this is.

Also, clone the lookup_for_nfsd() entry point as
lookup_for_nfsd_index(), for use by a different call site in nfsd that
does different unclean things with nameidata.
2009-09-27 17:19:07 +00:00
jmcneill 137f29ee98 HP sensing is supported now. 2009-09-26 11:52:16 +00:00
skrll 61d74f6e74 Switch arm and armeb to binutils 2.19.
Tested on my cats and all other platforms build tested.
2009-09-26 07:28:38 +00:00
wiz ac3d1204b9 New sentence, new line. 2009-09-26 06:47:55 +00:00
elad 86d8eb1d76 PR/35795: Greg A. Woods: bge(4) doesn't describe the sysctl it uses
Use a slightly adjusted version of the diff in the PR. For proper credits,
the information in the added bit comes from a posting by Jonathan Stone.
2009-09-26 04:51:21 +00:00
plunky c0e76aa63e mention dynamic PSM usage 2009-09-25 19:47:09 +00:00
mbalmer e5d5fe6e06 Jonatha Kollasch has a GPIO device that can pulse the output lines.
Support it wuth the GPIO_PIN_PULSE attribute and the 'pulse' paramater
to gpioctl.  Discussed with Jonathan.
2009-09-25 19:37:03 +00:00
skrll bceded4e69 Switch m68k to binutils 2.19.
Tested on mac68k by martin@. All other m68k platforms build tested.
2009-09-22 09:57:28 +00:00
uwe d85ac884c9 Switch sh3eb to binutils 2.19.
Compile-tested for mmeye.
2009-09-22 01:28:50 +00:00
uwe d04b778cf5 Switch sh3el to binutils 2.19.
Boot-tested on landisk.
2009-09-21 17:20:16 +00:00
skrll 905441e356 Switch vax to binutils 2.19. 2009-09-19 14:53:12 +00:00
skrll d50428f757 Switch sparc and sparc64 to binutils 2.19.
Thanks to martin@ for testing.
2009-09-19 09:00:58 +00:00
snj b53bfce489 Sync with reality. 2009-09-19 07:06:55 +00:00
skrll 25242842fd Move alpha to binutils 2.19. 2009-09-17 18:21:38 +00:00
dyoung a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung 55270c28ac Delete documentation for config_activate(9), it does not exist any
more.
2009-09-16 22:47:29 +00:00
mrg cdca6f8c29 switch port-sparc over to Xorg by default. 2009-09-16 06:10:52 +00:00
jnemeth 5fe591a2c9 bump date for previous 2009-09-15 01:20:42 +00:00
jnemeth b313b03dff mention the new modules.tgz set 2009-09-15 01:12:38 +00:00
wiz f08a1819c1 Punctuation nits. 2009-09-14 12:37:08 +00:00
apb 70472a4826 Add the ability for file systems mounted via mount_critical_filesystems()
in rc.subr to be marked as optional.  This means that it's not an
error if the file system is not mentioned in /etc/fstab.  It is
still an error if something else goes wrong.

Change the defaults for these two variables in /etc/defaults/rc.conf:
critical_filesystems_local="OPTIONAL:/var"
critical_filesystems_remote="OPTIONAL:/usr"
2009-09-14 12:05:12 +00:00
snj e29431f37a Use \*[Lt] and \*[Gt] instead of < and >. 2009-09-13 18:57:36 +00:00
jmcneill 42b8a9234e PR# port-i386/39463: boot.cfg(8) does not mention about relative path for
the 'load' option

Document the search behaviour of the 'load' directive when an absolute
path is not specified.
2009-09-13 18:39:20 +00:00
skrll 08d80ad4aa Switch hppa to binutils 2.19.
There is a lot of rump breakage for hppa. Hopefully it will be fixed soon.
2009-09-12 07:21:09 +00:00
wiz 0b645b22fc Bump date for previous. Whitespace nit. Use Nm instead of Xr to itself. 2009-09-11 19:48:52 +00:00
wiz 31bddcb483 Bump date for previous. 2009-09-11 19:47:27 +00:00
wiz c384d22d4b Bump date for previous; add comma in enumeration. 2009-09-11 19:44:03 +00:00
wiz 10f3ba9af1 Bump date for previous. 2009-09-11 19:43:26 +00:00
apb 89fd535731 Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode.  Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:04 +00:00
apb 7ab65de0a9 Expose the kernel's boothowto(9) variable through the sysctl
kern.boothowto variable.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:14:58 +00:00
skrll 3c21953b90 Switch i386 to binutils 2.19. 2009-09-09 10:38:35 +00:00
pooka d6331b9a6e * fix error print
* adjust resulting image minsize
2009-09-08 21:51:33 +00:00
pooka 676351e4c4 Add a simple proof-of-concept program which shows how to use the
kernel cgd driver in an application which encrypts and decrypts
files.  The cgd driver is running completely in userspace and
requires no special access privileges.

For example:

golem> dmesg > dmesg.txt

# write encrypted dmesg.txt to encrypted.img
golem> ./img2cgd write encrypted.img dmesg.txt
/cryptfile's passphrase:

# read encrypted.img and output decrypted contents to decrypted.txt
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt

# but when entering a different password:
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt
Binary files dmesg.txt and decypted.txt differ

Currently the utility writes the data length in a proprietary
format, but I'll convert it to use a real disklabel RSN.  Then it
can be used to create cgd-encrypted disk images.

This program can later be used as a base for a utility to create
cgd-encrypted images of a standard NetBSD build.  Idea for such a
tool and hence the inspiration for this simple example program from
Roland Dowdeswell.
2009-09-08 21:48:25 +00:00
wiz 5946cee966 Fix Dd string, remove trailing whitespace. 2009-09-08 07:54:49 +00:00
skrll d5bd20ae03 Bump date for previous. 2009-09-08 07:48:14 +00:00
skrll 8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
jmcneill d7beaf12d7 - adjust description ("Generic" is redundant)
- rates != 48kHz are now supported
- bump date
2009-09-07 16:22:46 +00:00
jym 1390556a02 Fix typo. 2009-09-06 19:46:24 +00:00
wiz 0192905bb1 Whitespace cleanup, sort sections, fix list. 2009-09-06 17:59:09 +00:00
sborrill b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
sborrill d7f624cfd8 Regen 2009-09-06 15:31:04 +00:00
apb ed9a80fd00 Sort bzero to the correct position 2009-09-05 16:13:21 +00:00
wiz ed449c067d New sentence, new line. 2009-09-05 11:37:52 +00:00
wiz 2f1a87b0ee Various fixes; be more kind to mdoclint. 2009-09-05 11:32:36 +00:00
apb d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
apb 6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00