]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoThis commit was generated by cvs2svn to compensate for changes in r117610,
Dag-Erling Smørgrav [Tue, 15 Jul 2003 07:18:26 +0000 (07:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117610,
which included commits to RCS files with non-trunk default branches.

21 years agoVendor import of OpenPAM Dogwood.
Dag-Erling Smørgrav [Tue, 15 Jul 2003 07:18:26 +0000 (07:18 +0000)]
Vendor import of OpenPAM Dogwood.

21 years agoMore changes to use __FBSDID() for setting rcsids. For the filter
Garance A Drosehn [Tue, 15 Jul 2003 07:01:01 +0000 (07:01 +0000)]
More changes to use __FBSDID() for setting rcsids.  For the filter
programs, minor Makefile changes are needed to find lp.cdefs.h.
For lpf.c, the 'sccsid' line is formatted to match style(9), and
a 'From:' is removed so the sccsid returns to what it was back
in the days of '-r CSRG' (1994).

Reviewed by: discussed with bde and obrien
MFC after: 15 days

21 years agoRename thread_siginfo to cpu_thread_siginfo.
Marcel Moolenaar [Tue, 15 Jul 2003 04:43:33 +0000 (04:43 +0000)]
Rename thread_siginfo to cpu_thread_siginfo.

21 years agoRename thread_siginfo to cpu_thread_siginfo
David Xu [Tue, 15 Jul 2003 04:26:26 +0000 (04:26 +0000)]
Rename thread_siginfo to cpu_thread_siginfo

21 years agoFix typo: Passing the first argument to exit() in out2 does not work.
Marcel Moolenaar [Tue, 15 Jul 2003 03:50:38 +0000 (03:50 +0000)]
Fix typo: Passing the first argument to exit() in out2 does not work.
Trust me.

21 years agoSiemens SpeedStream SS1021
Warner Losh [Tue, 15 Jul 2003 03:41:13 +0000 (03:41 +0000)]
Siemens SpeedStream SS1021

Obtained from: OpenBSD (minor mods for our stuff); millert

21 years agoAdd Siemens SpeedStream 1021
Warner Losh [Tue, 15 Jul 2003 03:34:08 +0000 (03:34 +0000)]
Add Siemens SpeedStream 1021

Obainted from: openbsd (in spirit); millert

21 years agosync to pccarddevs 1.57
Warner Losh [Tue, 15 Jul 2003 03:30:31 +0000 (03:30 +0000)]
sync to pccarddevs 1.57

21 years agoAdd Siemens SpeedStream 1021
Warner Losh [Tue, 15 Jul 2003 03:27:53 +0000 (03:27 +0000)]
Add Siemens SpeedStream 1021

Obtained From: openbsd (1.105; millert)

21 years agoDepessimize rescue build by only clean'ing and obj'ing the directories we
Gordon Tetlow [Tue, 15 Jul 2003 00:30:31 +0000 (00:30 +0000)]
Depessimize rescue build by only clean'ing and obj'ing the directories we
care about, not a full usr.bin tree. This should reduce buildworld times
pretty drastically.

Requested by: lots of people

21 years agoRename thread_siginfo to cpu_thread_siginfo.
David Xu [Tue, 15 Jul 2003 00:11:04 +0000 (00:11 +0000)]
Rename thread_siginfo to cpu_thread_siginfo.

Suggested by: jhb

21 years agoMore changes to use __FBSDID() for setting rcsids, and fix the
Garance A Drosehn [Mon, 14 Jul 2003 22:24:28 +0000 (22:24 +0000)]
More changes to use __FBSDID() for setting rcsids, and fix the
format of 'sccsid' lines so they consistently match style(9)
guidelines.  Note that this means you will have to add '-a' to
the 'strings' command when searching for rcs ids, eg:
     strings -a /usr/sbin/lpc | grep '$FreeBSD'

Reviewed by: discussed on cvs-src & with bde and obrien
MFC after: 15 days

21 years agoEliminate a duplicate.
Matthew Hunt [Mon, 14 Jul 2003 22:22:56 +0000 (22:22 +0000)]
Eliminate a duplicate.

21 years agoAdd a quote of wpaul@ explaining the importance of including requested
John Baldwin [Mon, 14 Jul 2003 22:08:14 +0000 (22:08 +0000)]
Add a quote of wpaul@ explaining the importance of including requested
content when replying to an e-mail.

21 years agoRev 1.121 meant to pass the value 1 to soalloc() to indicate waitok.
Jeffrey Hsu [Mon, 14 Jul 2003 20:39:22 +0000 (20:39 +0000)]
Rev 1.121 meant to pass the value 1 to soalloc() to indicate waitok.

Reported by: arr

21 years agoUpdate to reflect the NetBSD patches that are already included.
Josef Karthauser [Mon, 14 Jul 2003 20:31:03 +0000 (20:31 +0000)]
Update to reflect the NetBSD patches that are already included.

21 years agoUse swi to process port status changes. Calling ucom layer directly
Alexander Kabaev [Mon, 14 Jul 2003 20:26:37 +0000 (20:26 +0000)]
Use swi to process port status changes. Calling ucom layer directly
from interrupt handler panics the machine.

21 years agoGet the 'sccsid' lines even closer to correct style(9) form. The
Garance A Drosehn [Mon, 14 Jul 2003 20:20:58 +0000 (20:20 +0000)]
Get the 'sccsid' lines even closer to correct style(9) form.  The
'#ifdef lint/#endif' around the lines should not have been removed.
Also add blank lines where one (per file) was missing.

Reviewed by: First part noticed by bde, blank lines noticed by me
MFC after: 15 days

21 years agoMake note that we already have these NetBSD patches.
Josef Karthauser [Mon, 14 Jul 2003 20:19:21 +0000 (20:19 +0000)]
Make note that we already have these NetBSD patches.

21 years agoGet the 'sccsid' for this to match the original lines you would
Garance A Drosehn [Mon, 14 Jul 2003 20:17:55 +0000 (20:17 +0000)]
Get the 'sccsid' for this to match the original lines you would
get from '-r CSRG', instead of having that sccsid as a comment.
(this is the sccsid from 1996 -- there have been many changes to
printcap.c since then!)

MFC after: 15 days

21 years agoMake note of some NetBSD patches that we already have.
Josef Karthauser [Mon, 14 Jul 2003 20:11:52 +0000 (20:11 +0000)]
Make note of some NetBSD patches that we already have.

21 years agoMake a note of some patches from NetBSD that we already have.
Josef Karthauser [Mon, 14 Jul 2003 20:08:21 +0000 (20:08 +0000)]
Make a note of some patches from NetBSD that we already have.

21 years agoGet the 'sccsid' lines even closer to correct style(9) form. The
Garance A Drosehn [Mon, 14 Jul 2003 19:59:33 +0000 (19:59 +0000)]
Get the 'sccsid' lines even closer to correct style(9) form.  The
'#ifdef lint/#endif' around the lines should not have been removed.

Reviewed by: noticed by bde
MFC after: 15 days

21 years agoBackout the last commit!
Josef Karthauser [Mon, 14 Jul 2003 19:56:32 +0000 (19:56 +0000)]
Backout the last commit!

MFNetBSD: revision 1.137
    date: 2003/01/20 07:12:13;  author: simonb;
    Grrr.  So much for my ability to use grep(1) effectively.  Pointed out
    by Stephen Degler in private mail.

21 years agoMFNetBSD: revision 1.136
Josef Karthauser [Mon, 14 Jul 2003 19:54:21 +0000 (19:54 +0000)]
MFNetBSD: revision 1.136
    date: 2003/01/20 05:30:09;  author: simonb;
    The Double-Semi-Colon Police.

21 years agoMFNetBSD: revision 1.135
Josef Karthauser [Mon, 14 Jul 2003 19:51:53 +0000 (19:51 +0000)]
MFNetBSD: revision 1.135
    date: 2002/12/10 14:07:37;  author: toshii;  state: Exp;  lines: +6 -6
    Add a couple of le32toh which were missing in the previous.
    Pointed out by SOMEYA Yoshihiko.

21 years agoMFNetBSD: revision 1.134
Josef Karthauser [Mon, 14 Jul 2003 19:50:06 +0000 (19:50 +0000)]
MFNetBSD: revision 1.134
    date: 2002/12/07 07:33:20;  author: toshii;  state: Exp;  lines: +50 -29
    Update xfer->frlengths for input isoc transfer.  Based on patches from
    SOMEYA Yoshihiko.
    Also fix error handling for isoc transfer somewhat; usb_transfer_complete
    shouldn't be called for more than once.

21 years agoMFNetBSD: revision 1.133
Josef Karthauser [Mon, 14 Jul 2003 19:47:59 +0000 (19:47 +0000)]
MFNetBSD: revision 1.133
    date: 2002/12/07 07:14:28;  author: toshii;
    Fix several nits.  Mostly from SOMEYA Yoshihiko.
    - Call usbd_transfer_complete at splusb.
    - Fix a botched for loop in ohci_rem_ed.
    - In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
     condition.

The splusb change is non-functional on FreeBSD.
The botched loop and race condition changes came from us.

This patch is non-functional.

21 years agoMFNetBSD: revision 1.132
Josef Karthauser [Mon, 14 Jul 2003 19:42:05 +0000 (19:42 +0000)]
MFNetBSD: revision 1.132
    date: 2002/12/07 06:52:11;  author: toshii;
    Remove junk at the end of a DPRINTF.  From SOMEYA Yoshihiko.

21 years agoMFNetBSD: revision 1.129
Josef Karthauser [Mon, 14 Jul 2003 19:39:16 +0000 (19:39 +0000)]
MFNetBSD: revision 1.129
    date: 2002/09/29 20:58:25;  author: augustss;
    Add some spl calls to protect critical regions. From kern/18440,
    Takeshi Nakayama.

(No functional change on FreeBSD).

21 years agoRegen.
Josef Karthauser [Mon, 14 Jul 2003 19:30:49 +0000 (19:30 +0000)]
Regen.

21 years agoMFNetBSD: Update the list of devices that can attach to uvisor (untested).
Josef Karthauser [Mon, 14 Jul 2003 19:30:01 +0000 (19:30 +0000)]
MFNetBSD: Update the list of devices that can attach to uvisor (untested).

21 years agoFix one typo in help() string, remove whitespace at end of line and
Luigi Rizzo [Mon, 14 Jul 2003 18:57:41 +0000 (18:57 +0000)]
Fix one typo in help() string, remove whitespace at end of line and
other minor whitespace changes.

Replace u_char with uint8_t in a few places.

21 years agoMFNetBSD:
Josef Karthauser [Mon, 14 Jul 2003 18:56:33 +0000 (18:56 +0000)]
MFNetBSD:
    date: 2003/05/13 04:41:59;  author: gson;
    Function names printed in debug messages did not always match the
    actual name of the function.

21 years agoMFNetBSD: revision 1.172
Josef Karthauser [Mon, 14 Jul 2003 18:52:12 +0000 (18:52 +0000)]
MFNetBSD: revision 1.172
    date: 2003/02/23 04:19:26;  author: simonb;
    Remove unreachable break after return.

21 years agoMFNetBSD: revision 1.170
Josef Karthauser [Mon, 14 Jul 2003 18:49:18 +0000 (18:49 +0000)]
MFNetBSD: revision 1.170
    date: 2003/02/19 01:35:04;  author: augustss;
    Bail out early in isoc_done if the ii is not on the interrupt list.

21 years agoMFNetBSD: rev 1.169
Josef Karthauser [Mon, 14 Jul 2003 18:47:27 +0000 (18:47 +0000)]
MFNetBSD: rev 1.169
    date: 2003/02/16 23:15:28;  author: augustss;
    Don't take xfers off the interrupt list if they are not on it yet.

21 years agoMake a note of which patches we already have incorporated from NetBSD.
Josef Karthauser [Mon, 14 Jul 2003 18:42:58 +0000 (18:42 +0000)]
Make a note of which patches we already have incorporated from NetBSD.

21 years agoMerge up-to-date with NetBSD. No functional changes.
Josef Karthauser [Mon, 14 Jul 2003 18:37:47 +0000 (18:37 +0000)]
Merge up-to-date with NetBSD.  No functional changes.

21 years agoMFNetBSD:
Josef Karthauser [Mon, 14 Jul 2003 18:33:55 +0000 (18:33 +0000)]
MFNetBSD:
    date: 2002/10/01 01:25:25;  author: thorpej;
    Use CFATTACH_DECL().

Not a functional change on FreeBSD.

21 years agoMFNetBSD:
Josef Karthauser [Mon, 14 Jul 2003 18:25:47 +0000 (18:25 +0000)]
MFNetBSD:
    date: 2002/09/23 05:51:20;  author: simonb;
    Remove breaks after returns, unreachable returns and returns after
    returns(!).

21 years agoAssorted mdoc(7) fixes:
Hiten Pandya [Mon, 14 Jul 2003 18:25:45 +0000 (18:25 +0000)]
Assorted mdoc(7) fixes:

- Use .Tn for ACPI/APM acronyms
- Sort SEE ALSO entries by section
- Add AUTHORS section

Reviewed by: des (mentor)
OK'ed by: njl

21 years agoMFNetBSD:
Josef Karthauser [Mon, 14 Jul 2003 18:14:15 +0000 (18:14 +0000)]
MFNetBSD:
    date: 2003/02/08 03:32:51;  author: ichiro;
    change URL pointers of USB[1,2] specification

21 years agoMFNetBSD: rev 1.166
Josef Karthauser [Mon, 14 Jul 2003 18:07:54 +0000 (18:07 +0000)]
MFNetBSD: rev 1.166
    date: 2002/12/31 02:21:31;  author: dsainty;
    Be somewhat more persuasive about enabling the port on a port reset.
    USB protocol dictates that the port enable must be implied by the port
    reset. To implement this on (at least) the VIA VT83C572 this means we
    need to wait around tweaking the chip state until the port actually
    transitions to enabled (or the device goes away).  Likely fixes
    kern/11018.

21 years agoMFNetBSD: 1.165
Josef Karthauser [Mon, 14 Jul 2003 17:58:26 +0000 (17:58 +0000)]
MFNetBSD: 1.165

    date: 2002/12/31 02:04:49;  author: dsainty;
    CONSTCOND away some lint warnings

21 years agoAs defined by USB Specification Rev 2.0 (in section 11.24.2.5), to
Josef Karthauser [Mon, 14 Jul 2003 17:46:27 +0000 (17:46 +0000)]
As defined by USB Specification Rev 2.0 (in section 11.24.2.5), to
get a Hub descriptor, we have to set req.wValue to "Descriptor Type
and Descriptor Index". In this case, Descriptor Type is 0x29
(UDESC_HUB), Descriptor Index should be 0.

If I don't do a check (dev->address > 1 ... ), root hub fails.

A new Cytronix 4-port USB 2.0 Hub (Cypress CY7C65640 chip) now works
after this patch.

Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net>
MFC after: 7 days

21 years agoAdd dmobject.c to sys/conf/files also. While I'm here, remove unnecessary
Nate Lawson [Mon, 14 Jul 2003 17:43:09 +0000 (17:43 +0000)]
Add dmobject.c to sys/conf/files also.  While I'm here, remove unnecessary
nowerror options for the ACPI_DEBUG build case.

21 years agoFix build with ACPI_DEBUG option.
Nate Lawson [Mon, 14 Jul 2003 17:19:45 +0000 (17:19 +0000)]
Fix build with ACPI_DEBUG option.

Reported by: Mark Santcroos <marks@ripe.net>, des+tinderbox

21 years agoRegen.
Josef Karthauser [Mon, 14 Jul 2003 17:15:29 +0000 (17:15 +0000)]
Regen.

21 years agoAdd an entry for the Cypress slim hub.
Josef Karthauser [Mon, 14 Jul 2003 17:14:04 +0000 (17:14 +0000)]
Add an entry for the Cypress slim hub.

Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net>

21 years agoHook zzz up to the build.
Nate Lawson [Mon, 14 Jul 2003 16:36:40 +0000 (16:36 +0000)]
Hook zzz up to the build.

21 years agoRemove the zzz files since they have been moved to src/usr.sbin/zzz
Nate Lawson [Mon, 14 Jul 2003 16:32:45 +0000 (16:32 +0000)]
Remove the zzz files since they have been moved to src/usr.sbin/zzz

21 years agoMove the zzz utility to its own directory since it is no longer dependent
Nate Lawson [Mon, 14 Jul 2003 16:31:34 +0000 (16:31 +0000)]
Move the zzz utility to its own directory since it is no longer dependent
on apm(8)

21 years agoMake C++ safe
Warner Losh [Mon, 14 Jul 2003 16:31:20 +0000 (16:31 +0000)]
Make C++ safe

21 years agoApparently we prefer underscores in new options. Sorry for the churn folks.
Gordon Tetlow [Mon, 14 Jul 2003 16:21:16 +0000 (16:21 +0000)]
Apparently we prefer underscores in new options. Sorry for the churn folks.

Requested by: obrien

21 years agoMore changes to use __FBSDID() for setting rcsids, and fix the
Garance A Drosehn [Mon, 14 Jul 2003 15:54:41 +0000 (15:54 +0000)]
More changes to use __FBSDID() for setting rcsids, and fix the
format of 'sccsid' lines so they consistently match style(9)
guidelines.  Inspired by recent update to lpd.c by charnier.

Reviewed by: discussed on cvs-src & with bde and obrien
MFC after: 15 days

21 years agoDocument the PHY chip statistics.
Hartmut Brandt [Mon, 14 Jul 2003 15:08:11 +0000 (15:08 +0000)]
Document the PHY chip statistics.

21 years agoImplement statistics for the PHY chips. Statistics are hold in
Hartmut Brandt [Mon, 14 Jul 2003 15:06:53 +0000 (15:06 +0000)]
Implement statistics for the PHY chips. Statistics are hold in
64-bit counters that wrap on overflow. They are collecte once per
second from the chips. Currently they can be retrieved via a sysctl phy_stats.
A write of an arbitrary value to the sysctl atomically retrieves the
statistics and clears them.

21 years agoMake sure ipmon is run after cleaning up in /var. Otherwise,
Mike Makonnen [Mon, 14 Jul 2003 13:02:36 +0000 (13:02 +0000)]
Make sure ipmon is run after cleaning up in /var. Otherwise,
we would lose it's pid file. Also, cleanup the depencies in
rc.d/cleanvar

PR: bin/53516

21 years agoo Rename local variables, do not shadow global declarations.
Maxim Konovalov [Mon, 14 Jul 2003 12:43:48 +0000 (12:43 +0000)]
o Rename local variables, do not shadow global declarations.

21 years agoo Kill MINICMPLEN, there is ICMP_MINLEN already.
Maxim Konovalov [Mon, 14 Jul 2003 12:42:47 +0000 (12:42 +0000)]
o Kill MINICMPLEN, there is ICMP_MINLEN already.

21 years agoo Be ready to get a reply with length up to IP_MAXPACKET.
Maxim Konovalov [Mon, 14 Jul 2003 12:37:03 +0000 (12:37 +0000)]
o Be ready to get a reply with length up to IP_MAXPACKET.
o Warn when recieved packet length is not equal to length of the
packet we sent out. Idea from NetBSD.
o Fit the dump of packet with wrong data to 80 columns (from NetBSD).

Comments from: bde

21 years agoDocument the support for the IDT77155 Sonet/SDH PHY.
Hartmut Brandt [Mon, 14 Jul 2003 12:13:30 +0000 (12:13 +0000)]
Document the support for the IDT77155 Sonet/SDH PHY.

Cross-reference hatm(4) and fatm(4).

21 years agoAdd support for the IDT77155 Sonet/SDH PHY.
Hartmut Brandt [Mon, 14 Jul 2003 12:12:50 +0000 (12:12 +0000)]
Add support for the IDT77155 Sonet/SDH PHY.

21 years agoccept of empty lines when reading from a file (this fixes a bug
Luigi Rizzo [Mon, 14 Jul 2003 08:39:49 +0000 (08:39 +0000)]
ccept of empty lines when reading from a file (this fixes a bug
introduced in the latest commits).

Also:

* update the 'ipfw -h' output;

* allow rules of the form "100 add allow ..." i.e. with the index first.
  (requested by Paul Richards). This was an undocumented ipfw1 behaviour,
  and it is left undocumented.

and minor code cleanups.

21 years agoTake advantage of the common_source/lp.cdefs.h file to change lpr
Garance A Drosehn [Mon, 14 Jul 2003 05:15:21 +0000 (05:15 +0000)]
Take advantage of the common_source/lp.cdefs.h file to change lpr
source to use __FBSDID() for setting rcsids.  Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.

Reviewed by: discussed with bde and obrien
MFC after: 15 days

21 years agoIntroduce a new lp.cdefs.h file, which will be used to make it
Garance A Drosehn [Mon, 14 Jul 2003 05:13:55 +0000 (05:13 +0000)]
Introduce a new lp.cdefs.h file, which will be used to make it
somewhat easier to build this lpr on other operating systems.
This simply includes <sys/cdefs.h> when that is appropriate,
and then checks for any cdefs-ish macros that lpr uses, and
defines them if they don't already exist.  This is only a start
at making freebsd's lpr less of a hassle to port.  It is mainly
added so all of lpr can be changed to use the __FBSDID() macro,
without making it *more* of a hassle to build on other OS's.

Reviewed by: discussed with bde and obrien
MFC after: 15 days

21 years agoChange zzz to be a shell script that checks for APM or ACPI support and
Nate Lawson [Mon, 14 Jul 2003 03:58:05 +0000 (03:58 +0000)]
Change zzz to be a shell script that checks for APM or ACPI support and
suspends the system appropriately.

Submitted by: Mark Santcroos <marks@ripe.net>

21 years agoDocument the existance of fla(4).
David E. O'Brien [Mon, 14 Jul 2003 03:23:58 +0000 (03:23 +0000)]
Document the existance of fla(4).

21 years ago_start() needed to be written in assembly. See crt1.S.
Marcel Moolenaar [Mon, 14 Jul 2003 03:05:42 +0000 (03:05 +0000)]
_start() needed to be written in assembly. See crt1.S.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117535,
Nate Lawson [Mon, 14 Jul 2003 02:58:00 +0000 (02:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117535,
which included commits to RCS files with non-trunk default branches.

21 years agoRemove a multiply-defined function. The change has been submitted to the
Nate Lawson [Mon, 14 Jul 2003 02:58:00 +0000 (02:58 +0000)]
Remove a multiply-defined function.  The change has been submitted to the
vendor.

21 years agoFix build breakage on ia64. The second argument of AcpiOsReadable()
Marcel Moolenaar [Mon, 14 Jul 2003 02:42:15 +0000 (02:42 +0000)]
Fix build breakage on ia64. The second argument of AcpiOsReadable()
and AcpiOsWritable() have type ACPI_SIZE and not UINT32.

21 years agoRemove reference to max block size. dump no longer limits the block size.
Greg Lehey [Mon, 14 Jul 2003 02:22:55 +0000 (02:22 +0000)]
Remove reference to max block size.  dump no longer limits the block size.

21 years agoNew release notes: ACPI-CA 20030619.
Hiroki Sato [Sun, 13 Jul 2003 23:26:20 +0000 (23:26 +0000)]
New release notes:  ACPI-CA 20030619.

21 years agoRewite _start(). We cannot use a C function due to the fact that we
Marcel Moolenaar [Sun, 13 Jul 2003 23:11:37 +0000 (23:11 +0000)]
Rewite _start(). We cannot use a C function due to the fact that we
don't call it according to the runtime specification and especially
WRT to gp this can cause trouble. The gcc 3.3.1 import broke the
ia64 runtime because the compiler saved gp prior to us being able
to set it properly. Restoring gp after the calls would then invalidate
gp and cause segmentation faults later on.
By rewriting _start() as an assembly function, we also avoided even
more gcc dependences, by trying to use gcc specific features to work
around the problem.
This version of _start() does not reference _DYNAMIC. We register the
cleanup function when it's a non-NULL pointer. The kernel will always
pass a NULL pointer and dynamic linkers may pass a non-NULL pointer.

The machine independent code to set __progname now unfortunately is
written in assembly. So be it.

21 years agoUpdate code to work with 0619 dist
Nate Lawson [Sun, 13 Jul 2003 22:57:16 +0000 (22:57 +0000)]
Update code to work with 0619 dist

* Use ACPI_BUFFER as the type for AcpiGetObjectInfo
* Remove AcpiEnableEvent/AcpiClearEvent for ACPI_EVENT_FIXED (power/sleep
  buttons) as they are no longer needed
* Change calls to use the new GPE functions
* Add AcpiOs*Lock functions

21 years agoAdd include file so this builds with new acpica
Nate Lawson [Sun, 13 Jul 2003 22:54:53 +0000 (22:54 +0000)]
Add include file so this builds with new acpica

Reported by: Kevin Oberman <oberman@es.net>

21 years agoFix handling of _BST in the new dist.
Nate Lawson [Sun, 13 Jul 2003 22:52:51 +0000 (22:52 +0000)]
Fix handling of _BST in the new dist.

Submitted by: kochi@netbsd.org

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117527,
Nate Lawson [Sun, 13 Jul 2003 22:52:51 +0000 (22:52 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117527,
which included commits to RCS files with non-trunk default branches.

21 years agoPatch for global lock error messages that the vendor will import eventually.
Nate Lawson [Sun, 13 Jul 2003 22:50:30 +0000 (22:50 +0000)]
Patch for global lock error messages that the vendor will import eventually.
Originally committed as 1.1.1.17

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117525,
Nate Lawson [Sun, 13 Jul 2003 22:50:30 +0000 (22:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117525,
which included commits to RCS files with non-trunk default branches.

21 years agoCommit local patches for files off the vendor branch.
Nate Lawson [Sun, 13 Jul 2003 22:47:01 +0000 (22:47 +0000)]
Commit local patches for files off the vendor branch.

21 years agoUnmodified files from the vendor 0619 dist that should no longer be off the
Nate Lawson [Sun, 13 Jul 2003 22:45:34 +0000 (22:45 +0000)]
Unmodified files from the vendor 0619 dist that should no longer be off the
vendor branch.

21 years agoACPICA import from the 0619 dist.
Nate Lawson [Sun, 13 Jul 2003 22:44:13 +0000 (22:44 +0000)]
ACPICA import from the 0619 dist.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117521,
Nate Lawson [Sun, 13 Jul 2003 22:44:13 +0000 (22:44 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117521,
which included commits to RCS files with non-trunk default branches.

21 years agoioctl macros and defines are now present in ioccom.h, not ioctl.h.
Ceri Davies [Sun, 13 Jul 2003 21:02:48 +0000 (21:02 +0000)]
ioctl macros and defines are now present in ioccom.h, not ioctl.h.
Update the manpage to reflect this.

PR: docs/54235
Submitted by: Karen Thode <thode12@msn.com>

21 years agoAvoid an unnecessary calculation: there is no need to subtract
Robert Drehmel [Sun, 13 Jul 2003 21:02:11 +0000 (21:02 +0000)]
Avoid an unnecessary calculation: there is no need to subtract
`firstaddr' from `v' if we know that the former equals zero.

21 years agoMove the MAC entry point to label ethernet-sourced mbufs with a MAC label
Robert Watson [Sun, 13 Jul 2003 20:32:58 +0000 (20:32 +0000)]
Move the MAC entry point to label ethernet-sourced mbufs with a MAC label
from the network interface earlier in ether_input().  At some point
(no fingers pointed), things were restructured and the labeling operation
moved later.  This wasn't a problem as BPF_MTAP() relies on the ifnet
label not the mbuf label, but there might have been other problems.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoIf mktime() or timegm() return -1, print out the resume timer value as
Robert Watson [Sun, 13 Jul 2003 20:06:41 +0000 (20:06 +0000)]
If mktime() or timegm() return -1, print out the resume timer value as
"unknown", rather than a conversion of -1 to a date/timestamp.

21 years agoo add read-only sysctls to view regulatory domain, country code, and
Sam Leffler [Sun, 13 Jul 2003 17:07:25 +0000 (17:07 +0000)]
o add read-only sysctls to view regulatory domain, country code, and
  outdoor use controls
o use sysctl-visible values in setting up channel list

21 years agocorrect card type for Linksys *55AG
Sam Leffler [Sun, 13 Jul 2003 17:03:39 +0000 (17:03 +0000)]
correct card type for Linksys *55AG

PR: bin/54190
Submitted by: Josh Elsasser <jre@vineyard.net>

21 years agoSince -march=pentium4 is supposed to be fixed with GCC 3.3, and
Maxime Henrion [Sun, 13 Jul 2003 10:34:09 +0000 (10:34 +0000)]
Since -march=pentium4 is supposed to be fixed with GCC 3.3, and
since people have been reporting success with it, re-enable the
pentium4 optimization.

21 years agoFix for FAIL_IF_NO_KBD case as expected.
Hidetoshi Shimokawa [Sun, 13 Jul 2003 10:08:33 +0000 (10:08 +0000)]
Fix for FAIL_IF_NO_KBD case as expected.

Even if we have no AT keyboard, an AT keyboard is registered because
it's probed with KB_CONF_PROBE_ONLY flag set during console initialization.
Unregister the keyboard if it doesn't present while second probe.

This should fix USB keyboard only case without 'kbdcontrol -k /dev/kbd1'.

21 years agoEliminate non-existent word.
Joseph Koshy [Sun, 13 Jul 2003 09:11:10 +0000 (09:11 +0000)]
Eliminate non-existent word.

Submitted by: jwd

21 years agoFixed build error with GCC 3.3.1
Yoshihiro Takahashi [Sun, 13 Jul 2003 08:13:52 +0000 (08:13 +0000)]
Fixed build error with GCC 3.3.1

21 years agoFixed mouse cursor support.
Yoshihiro Takahashi [Sun, 13 Jul 2003 08:09:31 +0000 (08:09 +0000)]
Fixed mouse cursor support.

Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>

21 years agoAdd a missing DITEM_CONTINUE flag so the options menu returns to the
Murray Stokely [Sun, 13 Jul 2003 07:29:06 +0000 (07:29 +0000)]
Add a missing DITEM_CONTINUE flag so the options menu returns to the
correct place when you exit it with 'Q'.

PR: misc/47906
MFC after: 3 days

21 years agoSort entries added in r1.43.
Murray Stokely [Sun, 13 Jul 2003 07:20:24 +0000 (07:20 +0000)]
Sort entries added in r1.43.