dragonfly.git
16 years agoMissed this file in previous commit.
Hasso Tepper [Mon, 27 Aug 2007 22:03:19 +0000 (22:03 +0000)]
Missed this file in previous commit.

16 years agoNuke nv(4), we have nfe(4) which replaces it.
Hasso Tepper [Mon, 27 Aug 2007 21:51:41 +0000 (21:51 +0000)]
Nuke nv(4), we have nfe(4) which replaces it.

16 years agoRemove fla(4) manpage during upgrade.
Hasso Tepper [Mon, 27 Aug 2007 20:51:11 +0000 (20:51 +0000)]
Remove fla(4) manpage during upgrade.

16 years agoNuke fla(4). It's known to be buggy, supports very limited set of obsolete
Hasso Tepper [Mon, 27 Aug 2007 20:40:53 +0000 (20:40 +0000)]
Nuke fla(4). It's known to be buggy, supports very limited set of obsolete
devices with limited set of firmware versions, is removed from FreeBSD more
than 3 years ago and is not supported any more more than 4 years:

http://www.daemonnews.org/mailinglists/FreeBSD/freebsd-small/msg03526.html

And it's based on blob.

16 years agoRemove remainings of the oltr(4).
Hasso Tepper [Mon, 27 Aug 2007 20:08:55 +0000 (20:08 +0000)]
Remove remainings of the oltr(4).

16 years agoNuke ARCnet, Token Ring and FDDI related headers and manpages during upgrade.
Hasso Tepper [Mon, 27 Aug 2007 17:47:15 +0000 (17:47 +0000)]
Nuke ARCnet, Token Ring and FDDI related headers and manpages during upgrade.

16 years agoPull WARNS6 into usr.bin/Makefile.inc.
Peter Avalos [Mon, 27 Aug 2007 16:51:02 +0000 (16:51 +0000)]
Pull WARNS6 into usr.bin/Makefile.inc.

Most of usr.bin is marked as WARNS6, so add exceptions in individual
Makefiles.  Also, remove any warning flags from CFLAGS in those Makefiles.

16 years agoNuke FDDI support.
Hasso Tepper [Mon, 27 Aug 2007 16:15:42 +0000 (16:15 +0000)]
Nuke FDDI support.

16 years agoNuke token ring support. This also means one blob less in DragonFly.
Hasso Tepper [Mon, 27 Aug 2007 14:56:00 +0000 (14:56 +0000)]
Nuke token ring support. This also means one blob less in DragonFly.

16 years agoNuke ARCnet support.
Hasso Tepper [Mon, 27 Aug 2007 13:15:14 +0000 (13:15 +0000)]
Nuke ARCnet support.

16 years agoCorrect off-by-one error.
Simon Schubert [Sun, 26 Aug 2007 20:40:55 +0000 (20:40 +0000)]
Correct off-by-one error.

When comparing the command names, we might wind up behind the array,
later dereferencing a dangling pointer.  Terminate the array correctly
and stop processing soon enough.  Additionally, correct the error
output to use errx(), as there is no meaningful errno available.

Differing behavior spotted by use of tinycc.

16 years agoGC unused sources.
Peter Avalos [Sun, 26 Aug 2007 20:27:36 +0000 (20:27 +0000)]
GC unused sources.

16 years agoUse the argument as a file name only if no section was specified.
Sascha Wildner [Sun, 26 Aug 2007 19:42:26 +0000 (19:42 +0000)]
Use the argument as a file name only if no section was specified.

16 years agoRe-order alphabetically.
Peter Avalos [Sun, 26 Aug 2007 18:20:49 +0000 (18:20 +0000)]
Re-order alphabetically.

16 years agoFix a misleading error message when the device specified at the mountroot
Matthew Dillon [Sun, 26 Aug 2007 16:54:51 +0000 (16:54 +0000)]
Fix a misleading error message when the device specified at the mountroot
prompt cannot be found.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Submitted-by: Nicolas Thery <nthery@gmail.com>
16 years agoThe function's name should begin a new line.
Peter Avalos [Sun, 26 Aug 2007 16:52:01 +0000 (16:52 +0000)]
The function's name should begin a new line.

16 years agoCheck that -w width is not above maximum. Use DWIDTH instead of hardcoded
Peter Avalos [Sun, 26 Aug 2007 16:44:32 +0000 (16:44 +0000)]
Check that -w width is not above maximum.  Use DWIDTH instead of hardcoded
constant.

Obtained-from: FreeBSD

16 years agoDocument message length limit.
Peter Avalos [Sun, 26 Aug 2007 16:41:54 +0000 (16:41 +0000)]
Document message length limit.

Obtained-from:  FreeBSD

16 years agoFix a bugaboo in the last commit. Pages are hard-busied for getpages,
Matthew Dillon [Sun, 26 Aug 2007 16:22:31 +0000 (16:22 +0000)]
Fix a bugaboo in the last commit.  Pages are hard-busied for getpages,
but only soft-busied for putpages.

Reported-by: Sascha Wildner <saw@online.de>
16 years agoSync with FreeBSD:
Peter Avalos [Sun, 26 Aug 2007 16:12:27 +0000 (16:12 +0000)]
Sync with FreeBSD:

- mktime() already does daylight savings.

- Explain the format of the at.allow and at.deny files in detail.

- mdoc improvements.

- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.

- Do not pretend there is something like '/etc/utmp'.

- Add the SUSv3 -l option to at.  This is an alias for atq. Allow job ids
to be specified on the command line for which information should be
reported.

- Document the fact that at(1) is run through cron(8).  This affects the
granularity of the at queue runs.

- Organize #includes.

- Remove the -V [version number] option.

- Implement the POSIX 1003.1-2001 -r and -t options in at(1).

- Warns cleanup and diff reduction from FreeBSD.

- Remove some unsafe function calls from the signal handlers.

- Fix privileges macros.

Obtained-from: FreeBSD

16 years agoCompile in a variable default search prefix.
Simon Schubert [Sun, 26 Aug 2007 08:15:50 +0000 (08:15 +0000)]
Compile in a variable default search prefix.

Up to now, even a objdump created in the ctools phase used the standard
search path ("/") instead of using the correct prefix, unless invoked
with OBJFORMAT_PREFIX set.  Use TOOLS_PREFIX as a default search prefix to
make the ctools phase objdump work as expected.

16 years agoKmods always need their headers in place.
Simon Schubert [Sun, 26 Aug 2007 07:53:25 +0000 (07:53 +0000)]
Kmods always need their headers in place.

Now you can build a kmod without having to make depend first!

16 years agoFix a bug in linprocfs and hold lwps to prevent a race condition.
Simon Schubert [Sat, 25 Aug 2007 23:27:02 +0000 (23:27 +0000)]
Fix a bug in linprocfs and hold lwps to prevent a race condition.

Linprocfs rolls its own prototype for procfs_domem.  The function was
changed to take a struct lwp *, but neither the private prototype, nor
the procfs_domem call were changed accordingly.  As a result any access
to the linprocfs process memory file resulted in a panic.

Procfs and linprocs perform potentially blocking calls, so HOLD and
RELE the lwps so that they can't be destroyed while procfs is blocked.

16 years agoPrint the msgbuf even if using a kernel without symbols instead of aborting.
Simon Schubert [Sat, 25 Aug 2007 21:59:05 +0000 (21:59 +0000)]
Print the msgbuf even if using a kernel without symbols instead of aborting.

16 years agoAdd a README to include a cvs import hint.
Peter Avalos [Sat, 25 Aug 2007 21:09:56 +0000 (21:09 +0000)]
Add a README to include a cvs import hint.

16 years agoMerge from vendor branch TNFTP:
Peter Avalos [Sat, 25 Aug 2007 21:05:27 +0000 (21:05 +0000)]
Merge from vendor branch TNFTP:
Improve parsing of chunked transfer chunks per RFC2616:
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.

16 years agoImprove parsing of chunked transfer chunks per RFC2616:
Peter Avalos [Sat, 25 Aug 2007 21:05:27 +0000 (21:05 +0000)]
Improve parsing of chunked transfer chunks per RFC2616:
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.

16 years agoRework generating of files so that every generation tool will only run once.
Simon Schubert [Sat, 25 Aug 2007 15:29:29 +0000 (15:29 +0000)]
Rework generating of files so that every generation tool will only run once.

Before, we generated a file over and over again where it was needed by the
build process, instead of generating the files once and reusing them.
This commit changes this behavior and makes the build match more gcc's own
build way, which is quite optimized.

Additionally, use move-if-change, to avoid rebuilds if the generated files
didn't change.

16 years agoDon't hang `all' off `_EXTRADEPEND', but rather on `afterdepend'.
Simon Schubert [Sat, 25 Aug 2007 15:22:30 +0000 (15:22 +0000)]
Don't hang `all' off `_EXTRADEPEND', but rather on `afterdepend'.

The problem with using _EXTRADEPEND is that ${DEPENDFILE} depends on
_EXTRADEPEND, which means it will depend on the phony `all' source which
is always out of date.  If we make `all' a source of `afterdepend',
the .depend file won't be regernerated every time.

16 years agomdoc makeover, no content changes
Sascha Wildner [Sat, 25 Aug 2007 10:38:53 +0000 (10:38 +0000)]
mdoc makeover, no content changes

16 years agoComment out empty section.
Sascha Wildner [Sat, 25 Aug 2007 10:01:34 +0000 (10:01 +0000)]
Comment out empty section.

16 years agoOutput more detail when reporting errors. Use err() instead of warn();exit();
Simon Schubert [Sat, 25 Aug 2007 08:55:26 +0000 (08:55 +0000)]
Output more detail when reporting errors.  Use err() instead of warn();exit();

16 years agoAdd T2300 cpu support to EST.
Matthew Dillon [Fri, 24 Aug 2007 16:08:05 +0000 (16:08 +0000)]
Add T2300 cpu support to EST.

Submitted-by: Andrew Atrens <atrens@nortel.com>
Taken-from: FreeBSD and NetBSD

16 years agopart2 ppX fix for altq/pf.
Matthew Dillon [Fri, 24 Aug 2007 16:06:37 +0000 (16:06 +0000)]
part2 ppX fix for altq/pf.

Submitted-by: Andrew Atrens <atrens@nortel.com>
16 years agoAdd geode companion support to ohci probe code
Matthew Dillon [Fri, 24 Aug 2007 16:02:47 +0000 (16:02 +0000)]
Add geode companion support to ohci probe code

Submitted-by: Andrew Atrens <atrens@nortel.com>
16 years agoAdd missing if_softc assignment, allowing pppX interfaces to
Matthew Dillon [Fri, 24 Aug 2007 16:00:52 +0000 (16:00 +0000)]
Add missing if_softc assignment, allowing pppX interfaces to
work with altq/pf.

Submitted-by: Andrew Atrens <atrens@nortel.com>
16 years agoAdd missing xfer->state assignment.
Matthew Dillon [Fri, 24 Aug 2007 15:58:33 +0000 (15:58 +0000)]
Add missing xfer->state assignment.

Obtained-from: FreeBSD
Submitted-by: Andrew Atrens <atrens@nortel.com>
16 years agoDefine TARGET_PLATFORM matching TARGET_ARCH.
Simon Schubert [Thu, 23 Aug 2007 07:00:31 +0000 (07:00 +0000)]
Define TARGET_PLATFORM matching TARGET_ARCH.

This way we don't have to specify TARGET_ARCH *and* TARGET_PLATFORM for
crossbuilds.  Of course this should be generalized, etc, but as we just
have two platforms for now, this is no problem yet.

16 years agoDrop reference to non-existing variable.
Simon Schubert [Thu, 23 Aug 2007 06:57:09 +0000 (06:57 +0000)]
Drop reference to non-existing variable.

16 years agoDefine MACHINE et al like this header is supposed to do.
Simon Schubert [Thu, 23 Aug 2007 06:56:27 +0000 (06:56 +0000)]
Define MACHINE et al like this header is supposed to do.

16 years agoDon't define USED_FOR_TARGET on the command line.
Simon Schubert [Thu, 23 Aug 2007 06:52:02 +0000 (06:52 +0000)]
Don't define USED_FOR_TARGET on the command line.

This produces all kinds of side effects, ultimately leading to the csu
sources and the compiler being out of sync on compilation, thus triggering
an internal compiler error.

Details for the curious and for historical purposes:
Our gcc is configured to work with a ld which can merge ro and rw sections
to rw sections.  Nevertheless cc1 will enforce sections in one unit to be
of one type or the other, i.e. it disallows section flag changes.  Sections
are usually a compiler internal detail, so a flag change is considered a
compiler bug and thus cc1 aborts with an internal compiler error on such
occasions.

The csu libs consider themselves as part of the compiler and use section
declarations.  However if the lib and the compiler don't agree on some
settings and are out of sync, the lib will decide to create a rw .eh_frame
section (by not declaring a variable constant).  If the compiler uses the
.eh_frame section as well, like gcc41/amd64 does to store dwarf2 exception
rollback information, the above mentioned internal compiler error is
triggered.

The essential problem here was that USED_FOR_TARGET will prevent the
auto-host.h/dragonfly-native.h config.h-style headers to set the necessary
compiler configuration which is also used by the csu libs.  By moving it
to the place where the gcc people intended it to be, everything works as
desired.

16 years agoDefine USED_FOR_TARGET in tconfig.h, matching what gcc does.
Simon Schubert [Thu, 23 Aug 2007 06:22:10 +0000 (06:22 +0000)]
Define USED_FOR_TARGET in tconfig.h, matching what gcc does.

16 years agoChange gcc41 search path setup to match gcc34.
Simon Schubert [Thu, 23 Aug 2007 06:19:20 +0000 (06:19 +0000)]
Change gcc41 search path setup to match gcc34.

We need this modification to make the cross compiler use the correct
search paths.  I would prefer a solution without having to patch the
sources, but for now it is working and even reduces complexity in gcc.

16 years agoUse the i486 headers for amd64.
Simon Schubert [Thu, 23 Aug 2007 06:13:30 +0000 (06:13 +0000)]
Use the i486 headers for amd64.

16 years agoAdd usbdi(9) manpage.
Hasso Tepper [Wed, 22 Aug 2007 21:35:59 +0000 (21:35 +0000)]
Add usbdi(9) manpage.

Obtained-from: FreeBSD

16 years agoTemporary hack up a fix for msdos which avoids a deadlock between the VM
Matthew Dillon [Wed, 22 Aug 2007 16:56:52 +0000 (16:56 +0000)]
Temporary hack up a fix for msdos which avoids a deadlock between the VM
subsystem and the buffer cache subsystem.

Reported-by: "Andrew Atrens" <atrens@nortel.com>
16 years agoFix for CVE-2006-7180
Sepherosa Ziehau [Wed, 22 Aug 2007 13:41:10 +0000 (13:41 +0000)]
Fix for CVE-2006-7180

Obtained-from: MadWifi via Sam Leffler

16 years ago- Add ic_headroom through which drivers can inform 802.11 layer to reserve
Sepherosa Ziehau [Wed, 22 Aug 2007 13:24:44 +0000 (13:24 +0000)]
- Add ic_headroom through which drivers can inform 802.11 layer to reserve
  some space for device specific TX header when encapsulate 802.11 frames.
- Add another parameter to ieee80211_getmgtframe(), so it knows how many
  header space it should reserve.

Obtained-from: FreeBSD (sam@freebsd.org) w/ bug fix

16 years agoMerge from vendor branch GDB:
Simon Schubert [Wed, 22 Aug 2007 08:50:26 +0000 (08:50 +0000)]
Merge from vendor branch GDB:
Drop the stupid patch infrastructure and merge patches into contrib.

I'm not willing to spend several minutes to hours trying to figure out
how to do makefile magic to get this patch infrastructure to do what
I want, and only that what I want.

Instead, use CVS vendor branches like they are supposed to be used.

This unbreaks world and makes gdb compilable for i386 and amd64.

16 years agoDrop the stupid patch infrastructure and merge patches into contrib.
Simon Schubert [Wed, 22 Aug 2007 08:50:26 +0000 (08:50 +0000)]
Drop the stupid patch infrastructure and merge patches into contrib.

I'm not willing to spend several minutes to hours trying to figure out
how to do makefile magic to get this patch infrastructure to do what
I want, and only that what I want.

Instead, use CVS vendor branches like they are supposed to be used.

This unbreaks world and makes gdb compilable for i386 and amd64.

16 years agoDrop the stupid patch infrastructure and merge patches into contrib.
Simon Schubert [Wed, 22 Aug 2007 08:50:26 +0000 (08:50 +0000)]
Drop the stupid patch infrastructure and merge patches into contrib.

I'm not willing to spend several minutes to hours trying to figure out
how to do makefile magic to get this patch infrastructure to do what
I want, and only that what I want.

Instead, use CVS vendor branches like they are supposed to be used.

This unbreaks world and makes gdb compilable for i386 and amd64.

16 years agoDefine macros also for amd64.
Simon Schubert [Tue, 21 Aug 2007 20:04:09 +0000 (20:04 +0000)]
Define macros also for amd64.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoFix size types.
Simon Schubert [Tue, 21 Aug 2007 20:03:20 +0000 (20:03 +0000)]
Fix size types.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoDon't include the kernel target. This is handled in kgdb separately.
Simon Schubert [Tue, 21 Aug 2007 19:55:23 +0000 (19:55 +0000)]
Don't include the kernel target.  This is handled in kgdb separately.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoFix amd64 support of libc.
Simon Schubert [Tue, 21 Aug 2007 19:49:10 +0000 (19:49 +0000)]
Fix amd64 support of libc.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoResurrect headers for sys/platform/pc64/include from CVS Attic.
Simon Schubert [Tue, 21 Aug 2007 19:45:45 +0000 (19:45 +0000)]
Resurrect headers for sys/platform/pc64/include from CVS Attic.

Patch and mark them as platform specific.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoThe first commit of a series of 6 commits for the amd64 port.
Simon Schubert [Tue, 21 Aug 2007 19:40:24 +0000 (19:40 +0000)]
The first commit of a series of 6 commits for the amd64 port.

This commit includes header files for amd64 cpu that are in
sys/cpu/amd64/include.

The #1 task to port for amd64 is to get the world/kernel cross-compiled
for the 64-bit target. This involves creating a platform and cpu target
for the build.  The skeleton infrastructure for the cpu and platform is
the sys/cpu/amd64 directory and the sys/platform/pc64 directory.

The first stage of this #1 task is to have the world cross-build.  It
includes the building of cross toolchains, the libraries and the world.
This series of commits makes the world cross-build (buildworld) for the
amd64 port with these environment variables:
TARGET_CPU=amd64; TARGET_PLATFORM=pc64; NO_GCC41=1

This is the first commit: resurrect headers for sys/cpu/amd64/include from
CVS Attic; patch and mark them as CPU specific.

On-behalf-of:  Noah Yan <noah.yan@gmail.com>
Submitted-by: Noah Yan <noah.yan@gmail.com>
16 years agoWrite status output to stderr.
Simon Schubert [Tue, 21 Aug 2007 19:23:46 +0000 (19:23 +0000)]
Write status output to stderr.

16 years agoRemove stale prototype.
Simon Schubert [Tue, 21 Aug 2007 19:23:04 +0000 (19:23 +0000)]
Remove stale prototype.

16 years agoFix panic with ALTQ.
Simon Schubert [Tue, 21 Aug 2007 19:21:54 +0000 (19:21 +0000)]
Fix panic with ALTQ.

DragonFly-bug: <http://bugs.dragonflybsd.org/issue420>
Submitted-by: Matthias-Christian Ott
16 years agoAdd msleep(9) to the sleep(9) page.
Simon Schubert [Tue, 21 Aug 2007 19:16:19 +0000 (19:16 +0000)]
Add msleep(9) to the sleep(9) page.

16 years agoDo not try to dump UIO_NOCOPY writes to the journal. There's nothing
Matthew Dillon [Tue, 21 Aug 2007 17:43:52 +0000 (17:43 +0000)]
Do not try to dump UIO_NOCOPY writes to the journal.  There's nothing
to dump at the moment.

16 years agogetpages/putpages fixup part 1 - Add support for UIO_NOCOPY VOP_WRITEs to
Matthew Dillon [Tue, 21 Aug 2007 17:26:48 +0000 (17:26 +0000)]
getpages/putpages fixup part 1 - Add support for UIO_NOCOPY VOP_WRITEs to
filesystems which use the buffer cache and assert that UIO_NOCOPY is not
being used for filesystems which do not.

For filesystems using the buffer cache all we have to do is force a
read-before-write to fill in any missing pieces of the buffer.

UIO_NOCOPY writes are used for buffer-cache-backed filesystems which do
not implement their own vop_putpages code.  At the moment this is only
the msdosfs.

16 years agoSync zoneinfo database with tzdata2007g from elsie.
Sascha Wildner [Mon, 20 Aug 2007 21:08:19 +0000 (21:08 +0000)]
Sync zoneinfo database with tzdata2007g from elsie.

africa:         8.8  -> 8.9
antarctica:     8.3  -> 8.4
australasia:    8.7  -> 8.8
europe:         8.10 -> 8.11
leapseconds:    8.3  -> 8.4
northamerica:   8.17 -> 8.18
zone.tab:       8.10 -> 8.11

From Paul Eggert's comments:

* Egypt switches the September 7, not September 28.  Thanks to Dirk
  Losch for this.

* Daviess, Dubous, Knox, Martin, and Pike Counties, Indiana, switch
  from central to eastern time in November.  This results in a zone
  split, and a new entry America/Tell_City is created for Perry County,
  which does not switch zones in November.

* South Australia, Tasmania, Victoria, and New South Wales are changing
  their DST rules effective next year.  DST will end the first Sunday in
  April at 03:00 and start the first Sunday in October at 03:00.  Lord Howe
  Island has a similar change.

* Several Antarctic station's rules weren't properly updated to account
  for this year's change to the New Zealand daylight saving rules.

* In zone.tab (sorry, I don't recall who sent in these changes):
** Dumont-d'Urville is a station, not a base.
** Correct the coordinates for Aruba, Cambridge Bay, London, Johnston.
** Give alternate spellings for Zaporozhye.

* Add spelling notes for Kiev, Uzhgorod, Zaporozhye.
  (Sorry, I forgot who wrote this.)

* Identify American time zone boundaries more carefully.
  (Sorry, I forgot who sent this in.)

* Improve historical notes for Howland, Baker, and Jarvis.

Additionally, this commit updates the "leapseconds" file to incorporate the
most recent International Earth Rotation and Reference Systems Service (IERS)
bulletin.

16 years agoAdd a prototype and wrapper for lockuninit() to complement spin_uninit().
Matthew Dillon [Mon, 20 Aug 2007 05:44:59 +0000 (05:44 +0000)]
Add a prototype and wrapper for lockuninit() to complement spin_uninit().

Submitted-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
16 years agoFix another ^T race related to catching a LWP just as it is being created,
Matthew Dillon [Mon, 20 Aug 2007 05:40:40 +0000 (05:40 +0000)]
Fix another ^T race related to catching a LWP just as it is being created,
before lwp_thread has been assigned.

Reported-by: Stefan Krueger
16 years agoFix the root device selection to match the manual page. Before it was always
Matthew Dillon [Mon, 20 Aug 2007 05:27:46 +0000 (05:27 +0000)]
Fix the root device selection to match the manual page.  Before it was always
choosing the CD.  Now it chooses the first disk (-r or -c) option specified.

Submitted-by: Clement Martin <cma@alunys.com>
16 years agoUpdate for the latest changes to nrelease/Makefile.
Sascha Wildner [Mon, 20 Aug 2007 02:02:02 +0000 (02:02 +0000)]
Update for the latest changes to nrelease/Makefile.

16 years agos/.Fx/.Dx/
Sascha Wildner [Mon, 20 Aug 2007 01:35:56 +0000 (01:35 +0000)]
s/.Fx/.Dx/

16 years agoBring in latest uftdi(4) driver from FreeBSD.
Hasso Tepper [Sun, 19 Aug 2007 19:45:39 +0000 (19:45 +0000)]
Bring in latest uftdi(4) driver from FreeBSD.

Obtained-from: FreeBSD

16 years agoThere is no reason to be so verbose.
Hasso Tepper [Sun, 19 Aug 2007 19:42:11 +0000 (19:42 +0000)]
There is no reason to be so verbose.

16 years agoAdd missing .Sh LIBRARY.
Sascha Wildner [Sun, 19 Aug 2007 18:47:47 +0000 (18:47 +0000)]
Add missing .Sh LIBRARY.

16 years agoUse device_printf() where it makes sense.
Hasso Tepper [Sun, 19 Aug 2007 17:16:43 +0000 (17:16 +0000)]
Use device_printf() where it makes sense.

16 years agoAllow up to 13 bits for mode numbers.
Sascha Wildner [Sun, 19 Aug 2007 12:16:10 +0000 (12:16 +0000)]
Allow up to 13 bits for mode numbers.

Some VESA implementations use more than 9 bits for mode numbers (in
violation of the specification which marks D9-D12 as reserved).

This doesn't cause problems on conforming cards and recognizes more
modes on cards which exhibit this behavior (my Rage 3D LT Pro AGP
for example).

16 years ago* Use one ioctl() (CONS_SET, analogous to CONS_GET) for switching video
Sascha Wildner [Sun, 19 Aug 2007 11:39:11 +0000 (11:39 +0000)]
* Use one ioctl() (CONS_SET, analogous to CONS_GET) for switching video
  modes instead of having one ioctl() per video mode.

* Adjust userspace (vidcontrol, libvgl) accordingly.

* Bump libvgl's version number, since this makes the VGLInit() function
  incompatible (previously it took an ioctl request as the first argument,
  now it's a mode number).

* Remove scvesactl.c, which no longer serves any purpose.

16 years agoAdd Smart Technologies USB to serial adapter.
Hasso Tepper [Sun, 19 Aug 2007 10:19:43 +0000 (10:19 +0000)]
Add Smart Technologies USB to serial adapter.

Obtained-from: NetBSD

16 years agoAdd Smart Technologies USB to serial adapter.
Hasso Tepper [Sun, 19 Aug 2007 10:03:45 +0000 (10:03 +0000)]
Add Smart Technologies USB to serial adapter.

Obtained-from: NetBSD

16 years agoAdd some missing LIBRARY sections.
Sascha Wildner [Sat, 18 Aug 2007 20:48:47 +0000 (20:48 +0000)]
Add some missing LIBRARY sections.

16 years agoAdd some words about the MBUF_STRESS_TEST kernel option and the sysctls
Sascha Wildner [Sat, 18 Aug 2007 18:58:20 +0000 (18:58 +0000)]
Add some words about the MBUF_STRESS_TEST kernel option and the sysctls
it creates.

Taken-from: FreeBSD

16 years agoAdd MBUF_DEBUG.
Sascha Wildner [Sat, 18 Aug 2007 18:16:24 +0000 (18:16 +0000)]
Add MBUF_DEBUG.

16 years agoUse upper case for section header and expand HISTORY a bit.
Sascha Wildner [Sat, 18 Aug 2007 18:04:59 +0000 (18:04 +0000)]
Use upper case for section header and expand HISTORY a bit.

16 years agoNote that the vke interface needs to be brought up for its IP address to
Sascha Wildner [Sat, 18 Aug 2007 16:09:57 +0000 (16:09 +0000)]
Note that the vke interface needs to be brought up for its IP address to
be assigned.

Submitted-by: Chris Turner <c.turner@199technologies.org>
16 years agoUpdate for libarchive-2.2.6 import.
Peter Avalos [Sat, 18 Aug 2007 15:23:33 +0000 (15:23 +0000)]
Update for libarchive-2.2.6 import.

16 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Sat, 18 Aug 2007 15:20:51 +0000 (15:20 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive 2.2.6.

16 years agoImport libarchive 2.2.6.
Peter Avalos [Sat, 18 Aug 2007 15:20:51 +0000 (15:20 +0000)]
Import libarchive 2.2.6.

16 years agoFix setting 115200 baudrate.
Hasso Tepper [Sat, 18 Aug 2007 09:44:46 +0000 (09:44 +0000)]
Fix setting 115200 baudrate.

16 years agoAdd some words about the vcd driver in the DEVICES section.
Sascha Wildner [Sat, 18 Aug 2007 08:46:32 +0000 (08:46 +0000)]
Add some words about the vcd driver in the DEVICES section.

While I'm here, adjust some TABs and copyright years, and sort the
manpages in the Makefile.

16 years agoDeprecate 'installer_*' targets. If used a warning is generated and the
Matthew Dillon [Sat, 18 Aug 2007 00:10:50 +0000 (00:10 +0000)]
Deprecate 'installer_*' targets.  If used a warning is generated and the
build will sleep for 10 seconds before continuing.

New way of doing targets: build what you want by specifying multiple
targets.  For example:  'make installer release' instead of
'make installer_release'.  This increases the flexibility of the
nrelease build by allowing us to add multiple targets to create an
enhanced result.

16 years agoAdd 'options CARP' to the SYNOPSIS.
Sascha Wildner [Fri, 17 Aug 2007 11:07:54 +0000 (11:07 +0000)]
Add 'options CARP' to the SYNOPSIS.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
16 years agoMake functions static.
Hasso Tepper [Fri, 17 Aug 2007 06:40:19 +0000 (06:40 +0000)]
Make functions static.

16 years agoAdd umsm(4) driver for EVDO and UMTS modems with Qualcomm MSM chipsets.
Hasso Tepper [Thu, 16 Aug 2007 20:38:33 +0000 (20:38 +0000)]
Add umsm(4) driver for EVDO and UMTS modems with Qualcomm MSM chipsets.

Obtained-from: OpenBSD

16 years agoAdd some devices based on Qualcomm HSDPA chips.
Hasso Tepper [Thu, 16 Aug 2007 20:10:08 +0000 (20:10 +0000)]
Add some devices based on Qualcomm HSDPA chips.

16 years agoBring CARP into the tree. CARP = Common Address Redundancy Protocol, which
Matthew Dillon [Thu, 16 Aug 2007 20:03:58 +0000 (20:03 +0000)]
Bring CARP into the tree.  CARP = Common Address Redundancy Protocol, which
allows an IP address to hot switch to backup machine(s) when the master goes
offline.

Submitted-by: Baptiste Ritter <baptiste.ritter@ulp.u-strasbg.fr>,
Jonathan, and Nicolas
Testing-by: Thomas Nikolajsen, Gergo Szakal
Obtained-from: OpenBSD, NetBSD, and FreeBSD

16 years agoRemove reference to the nonexistant uhub(4).
Hasso Tepper [Thu, 16 Aug 2007 19:07:09 +0000 (19:07 +0000)]
Remove reference to the nonexistant uhub(4).

16 years agoExtra ';' after if() would cause panic if attaching failed.
Sepherosa Ziehau [Thu, 16 Aug 2007 11:20:37 +0000 (11:20 +0000)]
Extra ';' after if() would cause panic if attaching failed.

Noticed-by: hasso@
16 years agoAdd support for HandyTech's Braille displays into ubsa(4) (ID found in
Hasso Tepper [Thu, 16 Aug 2007 07:03:30 +0000 (07:03 +0000)]
Add support for HandyTech's Braille displays into ubsa(4) (ID found in
Linux driver).

16 years agoAdd the ID of USB serial interface used in HandyTech Braille displays.
Hasso Tepper [Thu, 16 Aug 2007 06:58:02 +0000 (06:58 +0000)]
Add the ID of USB serial interface used in HandyTech Braille displays.

16 years agoClean up the kvm process code. This is only used when trying to get a
Matthew Dillon [Wed, 15 Aug 2007 19:37:52 +0000 (19:37 +0000)]
Clean up the kvm process code.  This is only used when trying to get a
process list out of a kernel core with 'ps'.  Many things had gone stale.

Also adjust the code to traverse the new LWP list.

16 years ago* Add DPMS support to the vesa module.
Sascha Wildner [Wed, 15 Aug 2007 19:31:12 +0000 (19:31 +0000)]
* Add DPMS support to the vesa module.

* Adjust the V_DISPLAY_* defines to play better with DPMS.

* Fix {blank,green}_saver to check if the requested state is already
  active.

With this commit, the "blank" (for off) and "green" (for standby)
console screen savers will turn off the backlight on flat screens
if supported.

16 years agoFix uslcom path.
Sascha Wildner [Wed, 15 Aug 2007 14:34:02 +0000 (14:34 +0000)]
Fix uslcom path.