Commit Graph

10886 Commits

Author SHA1 Message Date
ad bfc5732320 - Give x86 BIOS boot the ability to load new style modules and pass them
into the kernel. Based on a patch by jmcneill@, with many fixes and
  improvements by me.

- Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that
  you can load miniroot.kmod from the boot blocks and boot into the
  installer!
2008-05-02 15:26:38 +00:00
ad 3ba209837a - Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod
2008-05-02 14:20:50 +00:00
lukem d77bf7654f Explicitly set MKLINT=no if MKLINKLIB==no, rather than just acting that way. 2008-05-02 11:45:19 +00:00
cegger d9b775927c hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks 2008-05-01 20:18:18 +00:00
jmmv 01ab96ad80 Add support for a TESTS_C variable to make use of the new C-only binding
that comes with atf-0.5.  Also fix linkage of C++ tests.
2008-05-01 15:36:36 +00:00
jmmv ec8287b4eb Adjust path to ATF data/documentation files after the import of atf-0.5. 2008-05-01 15:35:50 +00:00
garbled c3408ed04a Convert prep to use the new unified mkbootimage rather than it's own. This
mkbootimage can be shared by prep, rs6000, and bebox.

TODO: Convert bebox to use this.  Needs someone to test.
2008-04-30 21:15:33 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
reinoud 5fc434dc18 Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET().
BUFQ_CANCEL(queue, element) removes the specified element previously queued
on the queue. It returns NULL if it was not found on the queue and the
element if it was successfully removed.

Run trough tech-kern and changed name from BUFQ_REVOKE() by suggestion of
Jason Thorpe.
2008-04-30 12:09:02 +00:00
cegger b574865ea4 gpio(4): Extend with open/close to request/release the ppbus(4) on open/close.
ppbus(4): Extend to attach on gpiobus.
From Hans Rosenfeld from tech-kern:
http://mail-index.netbsd.org/tech-kern/2008/04/28/msg001168.html
Hint: Hans sent me this diff which differs in the one from tech-kern in:
- 2-clause license
- sprinkled some consts
2008-04-29 14:07:36 +00:00
simonb 71a4269193 Use -nodefaultlibs instead of -nostdlib when linking libc and libgcc*
so that we still link in the crt* start/end files.
Explicitly link libc against gcc_pic, since -nodefaultlibs undoes this.

Fixes problems where shared libraries don't get init/fini sections,
most easily noticable with pthreads programs not working.

Approved by: skrll
Thanks: bjs, mrg, icb peanut gallery.
2008-04-29 07:48:31 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jdc 06662e01eb Replace "User's Guide" URL with one that is current. 2008-04-28 19:48:56 +00:00
christos a9587bb896 now that gcc adds -lc, reverse the logic and explain. 2008-04-27 23:48:10 +00:00
tsutsui c007028e0b Enable gcc optimization on m68000 (sun2) again with minimum hacks.
gcc -O0 generates a bit fat binaries.
2008-04-27 03:06:46 +00:00
christos f369b6c6cb Exempt gcc libraries from linking against libc. 2008-04-26 22:28:13 +00:00
christos fe6aa33a8e deal with modules that don't define lib. 2008-04-26 21:26:03 +00:00
christos 9d8a22cf84 make all shared libraries depend on libc. 2008-04-26 20:03:44 +00:00
mjf 06c9a5d43c Grammar fix. 2008-04-25 14:16:05 +00:00
cegger 68519ac971 amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame
2008-04-22 22:37:12 +00:00
tsutsui c81a918994 Redo a change in rev 1.160 with more proper way:
> Don't make linker warnings fatal on linking static libs since
> there is no proper way to avoid "FOO is a patented algorithm" warnings.

Ok'ed by christos@ and dogcow@ on tech-toolchain, and
tested build.sh build for sun2, news68k, alpha and newsmips.
2008-04-22 12:47:59 +00:00
ad 96947a72d2 Fix typo, PR misc/38474. 2008-04-21 13:00:12 +00:00
plunky 486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
tsutsui a91b6f6d11 Backout previous for now. We have to rethink dependency for MKPIC and LDSTATIC.
Pointed out by dogcow@.
2008-04-15 00:08:05 +00:00
tsutsui 6dadfb80d4 Don't make linker warnings fatal on linking static libs since
there is no proper way to avoid "FOO is a patented algorithm" warnings.
Ok'ed by christos@ on tech-toolchain.
2008-04-14 13:41:43 +00:00
pooka f9e09057b1 add "pseudo-device putter" to synopsis
(don't bump date since the rest of the doc is hideously out-of-date)
2008-04-13 16:02:33 +00:00
dholland b8a5bc91d9 st(4) can attach to atapi(4).
PR kern/38320 from Sergey Svishchev.
2008-04-13 04:03:23 +00:00
tnozaki f026a78601 fix wrong SRC_ZONE. 2008-04-12 13:13:50 +00:00
tnozaki 2f44c5eedb update Unicode 5.1.0 and adding some missing HKSCS-2004 charaters. 2008-04-12 13:11:56 +00:00
tls 597ee710c7 Extend crypto.4 interface:
* Asynchronous operation with result retrieval via select/poll
	* Mutliple-request submit/retrieve ioctls
	* Mutliple-session create-destroy ioctls

Revise/rewrite crypto.4 manual page.  It should now be much easier to write
new applications to this API.

Measured performance for trivial requests: 84,000 very short modular math
operations/sec, 120,000 very short md5 hashes per sec (with a hardware
accellerator of moderate performance but very low latency, whose driver
will be contributed at a later date).

Contributed to TNF by Coyote Point Systems, Inc.
2008-04-10 22:48:42 +00:00
tsutsui 4c7d97cc4a Add libhx509 to PAM_STATIC_LDADD which is required by libkrb5. 2008-04-10 13:52:45 +00:00
riz de31682369 Catch the documentation up with the changes in vfs_vnops.c revision
1.155 - s/struct file/file_t/, and dropping a struct lwp * arg from
some functions.
2008-04-10 04:43:02 +00:00
apb 0942122d9d Sync command line options with MAKEDEV(8). Also re-word the
previously-incorrect part about "must be called from the /dev
directory".
2008-04-09 20:23:20 +00:00
apb 378687ec1c Document the new "-t mtree" option, and the fact that mtree is now
preferred by default.
2008-04-09 20:21:43 +00:00
skrll 26e28c7770 Revert previous in 30seconds. 2008-04-09 13:45:51 +00:00
dyoung 2c7f43b53e Attach elansc(4) at mainbus(4) instead of at pci(4). Attach pci(4)
at elansc(4).  Take advantage of a suspend/resume cycle to reconfigure
the SC520's PCI host-bridge bus for higher performance.  Update
the manual pages and the NET4501 kernel.
2008-04-08 20:30:16 +00:00
sborrill 25ac1dd285 Note that /etc/mtree/special.local can override entries in
/etc/mtree/special not just add new entries.
Explain that check_mtree_follow_symlinks will give reports of links not
being links (notably /etc/localtime)
2008-04-08 14:51:02 +00:00
skrll f4e066c173 Note hp700 attachments. 2008-04-05 15:59:28 +00:00
xtraeme a95f67b961 This driver attachs to the iic bus not i2c. 2008-04-04 10:09:07 +00:00
xtraeme a68cbff5b2 Add the finsio(4) driver. This driver supports the Hardware Monitor
device in the Fintek LPC Super I/O chips, this includes the following
list:

- F71805F
- F71806F
- F71862FG
- F71872F
- F71882
- F71883F

This has been adapted from the fins(4) driver available in OpenBSD, which
only supported F71805F.

Tobias Nygren <tnn> and myself added support for the other chips; thanks go
to Tobias for testing the driver with a Fintek F71882 chip.
2008-04-03 22:46:22 +00:00
riz f0643af2a0 Support for Digi International 4 and 8 port boards, from OpenBSD.
XXX need to convert the rest of the PCI vendor/product IDs to macros
2008-04-03 20:45:08 +00:00
xtraeme 6cefaaf7eb Mention support for the SCH5307-NS and SCH5317 Super I/O. 2008-04-03 13:37:20 +00:00
xtraeme c4f793a0d0 Add another address, from Dennis Den Brok. 2008-04-02 16:00:34 +00:00
xtraeme 73f8e0ee49 Mention envstat(8). 2008-04-02 15:09:04 +00:00
xtraeme 317b4b3c04 Remove empty and useless BUGS section. 2008-04-02 15:04:02 +00:00
xtraeme 0ee95516ea Add MLINKS for the sysmon_envsys_* functions. 2008-04-02 14:49:31 +00:00
xtraeme 9b9479e9c3 Add different configuration lines for all known adresses at
which this driver might attach.
2008-04-02 14:35:55 +00:00
xtraeme 0c3e66d283 Add itesio1 entry to SYNOPSYS. The address/data port also can be
at 0x4e/0x4f.
2008-04-02 14:07:21 +00:00
dyoung d3627477d7 Certain misguided people have complained, NetBSD only runs rare or
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards.  With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus.  Approximate date of manufacture: 1991.  Total instances
known to be in use throughout the world: one.

Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.
2008-04-02 01:34:36 +00:00
lukem 30883326ec Change USE_SKEY default to "no"; we have had USE_PAM=yes as the default
for a long time, and there's no point having custom S/Key support in the
applications given that pam_skey.so is now in /etc/pam.d/*
2008-03-31 02:42:27 +00:00