]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years ago1. Add missing include of stdint.h.
Jake Burkholder [Tue, 2 Apr 2002 04:24:59 +0000 (04:24 +0000)]
1. Add missing include of stdint.h.
2. Fix reversed arguments to strcpy.

Noticed by: davidc (2)

22 years agoUse sx locks instead of flags+tsleep locks.
Alfred Perlstein [Tue, 2 Apr 2002 04:20:38 +0000 (04:20 +0000)]
Use sx locks instead of flags+tsleep locks.

Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoUse sx locks rather than lockmgr locks for eventhandlers.
Alfred Perlstein [Tue, 2 Apr 2002 04:18:54 +0000 (04:18 +0000)]
Use sx locks rather than lockmgr locks for eventhandlers.

Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoMake this compile again after the recent NetBSD merge
Warner Losh [Tue, 2 Apr 2002 03:39:33 +0000 (03:39 +0000)]
Make this compile again after the recent NetBSD merge

22 years agoAdd myself.
Norikatsu Shigemura [Tue, 2 Apr 2002 03:16:50 +0000 (03:16 +0000)]
Add myself.

Reviewed by: knu (mentor)

22 years agoAdd if_wi_{pccard,pci}.c for pccard and pci bus front ends
Warner Losh [Tue, 2 Apr 2002 02:50:48 +0000 (02:50 +0000)]
Add if_wi_{pccard,pci}.c for pccard and pci bus front ends

22 years agoFirst cut at breaking out the bus attachment from the bus independent
Warner Losh [Tue, 2 Apr 2002 02:38:35 +0000 (02:38 +0000)]
First cut at breaking out the bus attachment from the bus independent
part of the driver.  Also, move the softc and some other stuff to
if_wivar.h from if_wireg.h to make future merging activities easier.

22 years agoMinor changes to make this work on sparc64.
Jake Burkholder [Tue, 2 Apr 2002 02:19:02 +0000 (02:19 +0000)]
Minor changes to make this work on sparc64.

Approved by: jdp
Tested on: alpha, i386, sparc64

22 years agoMutex profiling code, conditional on the MUTEX_PROFILING option. Adds the
Dag-Erling Smørgrav [Tue, 2 Apr 2002 00:01:49 +0000 (00:01 +0000)]
Mutex profiling code, conditional on the MUTEX_PROFILING option.  Adds the
following sysctl variables:

  debug.mutex.prof.enable     enable / disable profiling
  debug.mutex.prof.acquisitions     number of mutex acquisitions recorded
  debug.mutex.prof.records     number of acquisition points recorded
  debug.mutex.prof.maxrecords     max number of acquisition points
  debug.mutex.prof.rejected     number of rejections (due to full table)
  debug.mutex.prof.hashsize     hash size
  debug.mutex.prof.collisions     number of hash collisions
  debug.mutex.prof.stats     profiling statistics

The code records four numbers for each acquisition point (identified by
source file name and line number): longest time held, total time held,
number of non-recursive acquisitions, average time held.  The measurements
are in clock cycles (as returned by get_cyclecount(9)); this may cause
measurements on some SMP systems to be unreliable.  This can probably be
worked around by replacing get_cyclecount(9) by some incarnation of
nanotime(9).

This work was derived from initial patches by eivind.

22 years agoStage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()
Matthew Dillon [Mon, 1 Apr 2002 23:51:23 +0000 (23:51 +0000)]
Stage-2 commit of the critical*() code.  This re-inlines cpu_critical_enter()
and cpu_critical_exit() and moves associated critical prototypes into their
own header file, <arch>/<arch>/critical.h, which is only included by the
three MI source files that need it.

Backout and re-apply improperly comitted syntactical cleanups made to files
that were still under active development.  Backout improperly comitted program
structure changes that moved localized declarations to the top of two
procedures.  Partially re-apply one of the program structure changes to
move 'mask' into an intermediate block rather then in three separate
sub-blocks to make the code more readable.  Re-integrate bug fixes that Jake
made to the sparc64 code.

Note: In general, developers should not gratuitously move declarations out
of sub-blocks.  They are where they are for reasons of structure, grouping,
readability, compiler-localizability, and to avoid developer-introduced bugs
similar to several found in recent years in the VFS and VM code.

Reviewed by: jake

22 years agoAdd support for booting from CD-ROM. Make it possible to enable UFS
Thomas Moestl [Mon, 1 Apr 2002 23:28:35 +0000 (23:28 +0000)]
Add support for booting from CD-ROM. Make it possible to enable UFS
support using make arguments.

22 years ago1.) Produce a boot1 disklabel template of the format disklabel(8) expects.
Thomas Moestl [Mon, 1 Apr 2002 22:57:51 +0000 (22:57 +0000)]
1.) Produce a boot1 disklabel template of the format disklabel(8) expects.
2.) Clean up and change over to using bsd.prog.mk

Submitted by: jake (2)

22 years agoFix SCM IDs.
David E. O'Brien [Mon, 1 Apr 2002 22:56:56 +0000 (22:56 +0000)]
Fix SCM IDs.

22 years agoAllow to compile a YACC produced file with GCC 3.1 (which has different
David E. O'Brien [Mon, 1 Apr 2002 22:55:01 +0000 (22:55 +0000)]
Allow to compile a YACC produced file with GCC 3.1 (which has different
header searching rules for generated files with #line).

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 22:03:37 +0000 (22:03 +0000)]
MFNetBSD:
    revision 1.140
    date: 2001/10/24 20:20:03;  author: augustss;  state: Exp;  lines: +9 -5
    More debug.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 21:56:42 +0000 (21:56 +0000)]
MFNetBSD:
    revision 1.138
    date: 2001/10/02 17:59:38;  author: pooka;  state: Exp;  lines: +6 -6
    move DIAGNOSTIC-printf up one block to make it reachable
    noted by Christophe Kalt in private email

22 years agoMove the CTASSERT macro from MD code to systm.h alongside KASSERT so other
Jake Burkholder [Mon, 1 Apr 2002 21:55:00 +0000 (21:55 +0000)]
Move the CTASSERT macro from MD code to systm.h alongside KASSERT so other
code can use it.  This takes a single constant argument and fails to compile
if it is 0 (false).  The main application of this is to make assertions about
structure sizes at compile time, in order to validate assumptions made in
other code.  Examples:

CTASSERT(sizeof(struct foo) == FOO_SIZEOF);
CTASSERT(sizeof(struct foo) == (1 << FOO_SHIFT));

Requested by: jhb, phk

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 21:52:45 +0000 (21:52 +0000)]
MFNetBSD:
    revision 1.136
    date: 2001/07/11 14:11:00;  author: augustss;  state: Exp;  lines: +5 -5
    Rearrange register dump when the controller is dying.  Fixes PR 13430.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 21:43:53 +0000 (21:43 +0000)]
MFNetBSD:
    revision 1.135
    date: 2001/04/01 14:59:52;  author: augustss;  state: Exp;  lines: +2 -4
    Avoid a potential null pointer dereference.  From OpenBSD.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 21:42:43 +0000 (21:42 +0000)]
MFNetBSD:
    revision 1.134
    date: 2001/03/25 22:52:21;  author: augustss;  state: Exp;  lines: +4 -1
    Try to make resume work on more machines.

22 years agoOur persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.
David E. O'Brien [Mon, 1 Apr 2002 21:35:24 +0000 (21:35 +0000)]
Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.

22 years agoMFNetBSD: ohci.c (1.99), uhci.c (1.133), usb.c (1.49), usb_port.h
Josef Karthauser [Mon, 1 Apr 2002 21:34:01 +0000 (21:34 +0000)]
MFNetBSD: ohci.c (1.99), uhci.c (1.133), usb.c (1.49), usb_port.h
  (1.39), usbdi.c (1.79), usbdi.h (1.47), usbdivar.h (1.62)

    date: 2001/01/21 02:39:52;  author: augustss;
    Add code to use soft interrupt to handle USB interrupt processing.
    Don't enable the code since it doesn't work with the kludgy Ethernet
    drivers.

22 years agoChange the suser() API to take advantage of td_ucred as well as do a
John Baldwin [Mon, 1 Apr 2002 21:31:13 +0000 (21:31 +0000)]
Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on: smp@

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 21:18:50 +0000 (21:18 +0000)]
MFNetBSD:
    revision 1.132
    date: 2001/01/20 23:36:02;  author: augustss;  state: Exp;  lines: +6 -7
    Change some splusb() to splhardusb().

22 years agoMFNetBSD: Update many URLs.
Josef Karthauser [Mon, 1 Apr 2002 21:13:22 +0000 (21:13 +0000)]
MFNetBSD: Update many URLs.

22 years agoInclude <string.h> for some prototypes, rather than depending on
Mike Barcroft [Mon, 1 Apr 2002 21:13:17 +0000 (21:13 +0000)]
Include <string.h> for some prototypes, rather than depending on
pollution from <strings.h>.

22 years agoBack out lots of the last commit that was committed by accident.
Josef Karthauser [Mon, 1 Apr 2002 20:47:27 +0000 (20:47 +0000)]
Back out lots of the last commit that was committed by accident.
(It's my test rig for some CVSUP,SUP code).

Spotted by: Michael G. Petry <petry@NetMasters.Com>

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:32:50 +0000 (20:32 +0000)]
MFNetBSD:
    revision 1.40
    date: 2000/10/10 12:37:01;  author: augustss;  state: Exp;  lines: +4 -3
    Don't free unallocated pointer in detach (can happen if detach happens
    before attach has finished).

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:26:38 +0000 (20:26 +0000)]
MFNetBSD:
    revision 1.60
    date: 2000/12/28 10:40:36;  author: augustss;  state: Exp;  lines: +2 -1
    #define for USB_2_0

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:23:50 +0000 (20:23 +0000)]
MFNetBSD:
    revision 1.58
    date: 2000/06/24 04:12:53;  author: thorpej;  state: Exp;  lines: +5 -2
    Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
    platforms which otherwise function just fine.

22 years agoRemove the disktab.h include file from the build.
Poul-Henning Kamp [Mon, 1 Apr 2002 20:20:16 +0000 (20:20 +0000)]
Remove the disktab.h include file from the build.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:18:21 +0000 (20:18 +0000)]
MFNetBSD:
    revision 1.130
    date: 2000/12/18 15:55:30;  author: tsutsui;  state: Exp;  lines: +2 -2
    Add missed le32toh() in uhci_device_isoc_abort().

22 years agoReally sweep the broom on this one.
Poul-Henning Kamp [Mon, 1 Apr 2002 20:18:02 +0000 (20:18 +0000)]
Really sweep the broom on this one.

It's amazing how much cruft accumulate over the years...

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:14:23 +0000 (20:14 +0000)]
MFNetBSD:
    revision 1.129
    date: 2000/12/16 16:09:24;  author: augustss;  state: Exp;  lines: +4 -3
    Don't repeat 'host controller halted' message.  From OpenBSD.

22 years agoWhitespace only change: use ANSI function declarations instead of K&R.
John Baldwin [Mon, 1 Apr 2002 20:13:31 +0000 (20:13 +0000)]
Whitespace only change: use ANSI function declarations instead of K&R.

22 years agoExtend a hack to also hack around PC98's definition of __i386__
Poul-Henning Kamp [Mon, 1 Apr 2002 20:13:03 +0000 (20:13 +0000)]
Extend a hack to also hack around PC98's definition of __i386__

22 years agoRemove various controller/disk type hacks for SMD, ST506 and ancient
Poul-Henning Kamp [Mon, 1 Apr 2002 20:06:14 +0000 (20:06 +0000)]
Remove various controller/disk type hacks for SMD, ST506 and ancient
SCSI stuff which have far outlived its sell by date.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 20:04:00 +0000 (20:04 +0000)]
MFNetBSD:
    revision 1.127
    date: 2000/11/22 05:50:59;  author: soren;  state: Exp;  lines: +5 -5
    In uhci_intr(), only warn about power state confusion if the
    interrupt was actually for us.

22 years agoThis file is entirely bogus.
Poul-Henning Kamp [Mon, 1 Apr 2002 20:03:31 +0000 (20:03 +0000)]
This file is entirely bogus.

22 years agoPoint to the correct #include file.
Poul-Henning Kamp [Mon, 1 Apr 2002 20:03:05 +0000 (20:03 +0000)]
Point to the correct #include file.

22 years agoMFNetBSD: ohci.c rev 1.94, uhci.c rev 1.126
Josef Karthauser [Mon, 1 Apr 2002 20:01:41 +0000 (20:01 +0000)]
MFNetBSD: ohci.c rev 1.94, uhci.c rev 1.126
    date: 2000/11/10 14:11:49;  author: augustss;
    Update frlengths after a isoc transfer.
    Suggested by Yuri <yuri@tsoft.com>

22 years agoWrap the arguments to CTR6() in parentheses so that the u_long casts work
John Baldwin [Mon, 1 Apr 2002 19:44:13 +0000 (19:44 +0000)]
Wrap the arguments to CTR6() in parentheses so that the u_long casts work
properly for arguments that are expressions.

22 years agoMFNetBSD: ohci.c rev 1.92, uhci.c rev 1.122 (part)
Josef Karthauser [Mon, 1 Apr 2002 19:42:51 +0000 (19:42 +0000)]
MFNetBSD: ohci.c rev 1.92, uhci.c rev 1.122 (part)

    date: 2000/08/08 19:51:46;  author: tv;  state: Exp;  lines: +24 -13
    %b -> bitmask_snprintf()

    Because this code is shared, add a macro for bitmask_snprintf()
    that should expand to the equivalent snprintf() on non-NetBSD
    systems. This is only used in ?HCI_DEBUG cases anyway.

22 years agoMFNetBSD:
Josef Karthauser [Mon, 1 Apr 2002 19:26:36 +0000 (19:26 +0000)]
MFNetBSD:
    revision 1.86
    date: 2001/05/16 04:50:11;  author: lukem;  state: Exp;  lines: +1 -2
    delint: remove unnecessary assignment to same objection (hidden
    in #define)

22 years agoRemove references to KTR_EXTEND.
John Baldwin [Mon, 1 Apr 2002 19:25:22 +0000 (19:25 +0000)]
Remove references to KTR_EXTEND.

Pointy-hat to: jake

22 years agoconstify
Josef Karthauser [Mon, 1 Apr 2002 19:22:04 +0000 (19:22 +0000)]
constify

22 years agoUse ANSI prototypes and declarations.
Josef Karthauser [Mon, 1 Apr 2002 19:01:09 +0000 (19:01 +0000)]
Use ANSI prototypes and declarations.
Update $NetBSD$ idents to better reflect reality.

22 years agoMore diff reduction patches
Warner Losh [Mon, 1 Apr 2002 18:52:53 +0000 (18:52 +0000)]
More diff reduction patches

22 years agoThe good news is that my initial PR was correct... the bad news is that I
Doug Barton [Mon, 1 Apr 2002 18:33:45 +0000 (18:33 +0000)]
The good news is that my initial PR was correct... the bad news is that I
was apparently smoking something when I committed the last fix, because as
ume was kindly enough to set me straight on, amd *will* start with no
arguments at all, as long as there is an /etc/amd.conf file for it to
read. What it won't do is start with *just* -p.

In any case, now it's fixed.

22 years agoUpdate $NetBSD$ idents to better reflect reality.
Josef Karthauser [Mon, 1 Apr 2002 18:31:16 +0000 (18:31 +0000)]
Update $NetBSD$ idents to better reflect reality.

22 years agoMerge a little from NetBSD. This changes reduces the diffs between the
Warner Losh [Mon, 1 Apr 2002 18:28:20 +0000 (18:28 +0000)]
Merge a little from NetBSD.  This changes reduces the diffs between the
two a little, but more commits like this will follow.

22 years agoFix type from last commit
Warner Losh [Mon, 1 Apr 2002 18:26:32 +0000 (18:26 +0000)]
Fix type from last commit

22 years agoAdd long long casts so that this compiles on archs with 64-bit longs.
John Baldwin [Mon, 1 Apr 2002 18:23:58 +0000 (18:23 +0000)]
Add long long casts so that this compiles on archs with 64-bit longs.

Pointy-hat to: phk

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 18:22:31 +0000 (18:22 +0000)]
Merge from NetBSD:

    revision 1.81
    date: 2000/10/24 15:01:26;  author: augustss;  lines: +36 -10
    Add a hack to try and figure out if the TI UTUSB41 hub is bus
    powered despite claiming to be self powered (it's important to
    know so that the power budget can be met).

22 years agoAdd more ID's from the PRISM family. from wi.c 1.61 and wireg.h 1.26 by
Warner Losh [Mon, 1 Apr 2002 18:07:05 +0000 (18:07 +0000)]
Add more ID's from the PRISM family.  from wi.c 1.61 and wireg.h 1.26 by
ichiro@netbsd.org

Obtained from: NetBSD

22 years agoMerge from NetBSD: revision 1.72
Josef Karthauser [Mon, 1 Apr 2002 18:03:00 +0000 (18:03 +0000)]
Merge from NetBSD: revision 1.72

Part of this got merged in a previous commit, but not all.

    revision 1.72
    date: 2000/04/14 14:13:56;  author: augustss;  state: Exp;  lines: +34 -27
    Make attach of ugen work as it should so product&vendor locators
    can be used.

22 years agoUpdate $NetBSD$ idents to reflect reality.
Josef Karthauser [Mon, 1 Apr 2002 17:54:07 +0000 (17:54 +0000)]
Update $NetBSD$ idents to reflect reality.

22 years agoFix style bug in previous commit.
John Baldwin [Mon, 1 Apr 2002 17:53:42 +0000 (17:53 +0000)]
Fix style bug in previous commit.

22 years agoWe might as well show the log message if we're going to produce the patch.
Josef Karthauser [Mon, 1 Apr 2002 17:51:27 +0000 (17:51 +0000)]
We might as well show the log message if we're going to produce the patch.

22 years agoMerge from NetBSD: Removed unnecessary variable declaration.
Josef Karthauser [Mon, 1 Apr 2002 17:49:12 +0000 (17:49 +0000)]
Merge from NetBSD: Removed unnecessary variable declaration.

22 years agoSynchronise with the NetBSD version of this header file for formatting.
Josef Karthauser [Mon, 1 Apr 2002 17:43:28 +0000 (17:43 +0000)]
Synchronise with the NetBSD version of this header file for formatting.

22 years agoMerge from NetBSD: usbdi.c rev 1.77, usbdi.h rev 1.44
Josef Karthauser [Mon, 1 Apr 2002 17:30:24 +0000 (17:30 +0000)]
Merge from NetBSD: usbdi.c rev 1.77, usbdi.h rev 1.44

    date: 2000/09/23 21:02:04;  author: augustss;
    Add a way to do control transfers on other pipes than the default pipe.

22 years agoUse ANSI prototypes and declarations.
Josef Karthauser [Mon, 1 Apr 2002 17:24:49 +0000 (17:24 +0000)]
Use ANSI prototypes and declarations.

22 years agoMerge from NetBSD: Make it compile with USB_DEBUG.
Josef Karthauser [Mon, 1 Apr 2002 17:05:55 +0000 (17:05 +0000)]
Merge from NetBSD: Make it compile with USB_DEBUG.

22 years agoInstall libusbhid.h during 'make includes'.
Josef Karthauser [Mon, 1 Apr 2002 16:59:43 +0000 (16:59 +0000)]
Install libusbhid.h during 'make includes'.

Requested by: jhb
MFC after: 3 days

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 16:53:29 +0000 (16:53 +0000)]
Merge from NetBSD:
usb.c rev 1.43, usb_port.h rev 1.26, usb_subr.c rev 1.71

Some OpenBSD portability fixes.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 16:29:24 +0000 (16:29 +0000)]
Merge from NetBSD:

usb.c 1.40:
    revision 1.40
    date: 2000/03/14 23:13:12;  author: augustss;  state: Exp;  lines: +4 -1
    Make sure the USB event thread discovers all devices first time
    it call usb_discover().  It should now be possible to have the
    root NFS mounted over a USB Ethernet Adapter.

22 years agoMake `route add -inet6 default ::1 -ifp gif0' work actually.
Hajimu UMEMOTO [Mon, 1 Apr 2002 16:17:13 +0000 (16:17 +0000)]
Make `route add -inet6 default ::1 -ifp gif0' work actually.
The change between 1.13 and 1.14 is specific to AF_INET.

MFC after: 1 week

22 years agoTake an option flag to specify that we'd like a patch generated too.
Josef Karthauser [Mon, 1 Apr 2002 16:17:12 +0000 (16:17 +0000)]
Take an option flag to specify that we'd like a patch generated too.

22 years agoWhen _kevent() returns with errno = EINTR and timeout is not
Hajimu UMEMOTO [Mon, 1 Apr 2002 16:09:45 +0000 (16:09 +0000)]
When _kevent() returns with errno = EINTR and timeout is not
exceeded, it should be falldown to next_ns.

MFC after: 1 week

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 16:09:43 +0000 (16:09 +0000)]
Merge from NetBSD:

usb_port.h (1.33), usbdi_util.c (1.32), usbdi_util.h (1.22):

    ----------------------------
    date: 2000/06/01 14:37:51;  author: augustss;
    Improve some portability items.
    ----------------------------

22 years agoTidy up the formatting so that it's in the style of NetBSD's copy of
Josef Karthauser [Mon, 1 Apr 2002 15:37:00 +0000 (15:37 +0000)]
Tidy up the formatting so that it's in the style of NetBSD's copy of
this file.

22 years agoIn nd6_lookup(), check if rt_llinfo is non-NULL to avoid returning an
Hajimu UMEMOTO [Mon, 1 Apr 2002 15:15:05 +0000 (15:15 +0000)]
In nd6_lookup(), check if rt_llinfo is non-NULL to avoid returning an
entry that has the LLINFO flag but is not a neighbor cache entry.

Obtained from: KAME
MFC after: 1 week

22 years agoUse ANSI prototypes and declarations.
Josef Karthauser [Mon, 1 Apr 2002 15:01:29 +0000 (15:01 +0000)]
Use ANSI prototypes and declarations.

22 years agoFix the makefile to match the repo-copy from tech to freebsd.
Poul-Henning Kamp [Mon, 1 Apr 2002 13:58:14 +0000 (13:58 +0000)]
Fix the makefile to match the repo-copy from tech to freebsd.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:50:42 +0000 (13:50 +0000)]
Merge from NetBSD:

    ----------------------------
    revision 1.26
    date: 1999/11/28 22:49:53;  author: augustss;  state: Exp;  lines: +12 -8
    More USB_DEBUG and DIAGNOSTIC output.
    ----------------------------

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:43:02 +0000 (13:43 +0000)]
Merge from NetBSD:
    ----------------------------
    revision 1.73
    date: 2000/05/31 16:14:42;  author: augustss;  state: Exp;  lines: +19 -6
    Be more careful when setting the alternate interface so we don't
    end up with nothing set at all if it fails.
    ----------------------------

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:36:09 +0000 (13:36 +0000)]
Merge from NetBSD:
----------------------------
revision 1.117
date: 2000/05/30 09:26:06;  author: augustss;  lines: +7 -1
As a safety, check that the controller is not suspended when we get
an interrupt.
----------------------------

22 years agoAdd an entry for "PCCOM dual port RS232/422/485".
John Hay [Mon, 1 Apr 2002 13:33:43 +0000 (13:33 +0000)]
Add an entry for "PCCOM dual port RS232/422/485".

Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
MFC after: 1 week

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:28:49 +0000 (13:28 +0000)]
Merge from NetBSD:

----------------------------
revision 1.90
date: 2000/05/08 18:28:46;  author: thorpej;  lines: +8 -3
Quiet some uninitialized variable warnings that do in fact
look legitimate.
----------------------------

22 years agoAdd a clarifying comment (from NetBSD).
Josef Karthauser [Mon, 1 Apr 2002 13:26:27 +0000 (13:26 +0000)]
Add a clarifying comment (from NetBSD).
Update the $NetBSD$ ident to reflect reality.

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:21:43 +0000 (13:21 +0000)]
Merge from NetBSD:

ohci.c (1.85), ohcireg.h (1.17):

----------------------------
date: 2000/04/01 09:27:35;  author: augustss;
Add a delay before reading the number of ports from the controller to
avoid getting 0 from it.
----------------------------

22 years agoMerge from NetBSD:
Josef Karthauser [Mon, 1 Apr 2002 13:18:11 +0000 (13:18 +0000)]
Merge from NetBSD:

ohci.c (1.83), ohcireg.h (1.16), ohcivar.h (1.21)

===================================================================
date: 2000/03/29 01:46:26;  author: augustss;
A first stab at support for isochronous transfers.
===================================================================

22 years agoRun find.1 through ispell.
Giorgos Keramidas [Mon, 1 Apr 2002 12:41:14 +0000 (12:41 +0000)]
Run find.1 through ispell.

PR: docs/36601
Submitted by: Joshua Goodall <joshua@roughtrade.net>
MFC after: 3 days

22 years agoThis commit was generated by cvs2svn to compensate for changes in r93526,
Dag-Erling Smørgrav [Mon, 1 Apr 2002 12:20:48 +0000 (12:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r93526,
which included commits to RCS files with non-trunk default branches.

22 years agoFix braino in code path for new items (perforce change 8760).
Dag-Erling Smørgrav [Mon, 1 Apr 2002 12:20:48 +0000 (12:20 +0000)]
Fix braino in code path for new items (perforce change 8760).
Based on a patch submitted by Joe Marcus Clarke <marcus@marcuscom.com>.

Sponsored by: DARPA, NAI LabS
cvs: ----------------------------------------------------------------------

22 years ago1) Use FBSDID for vendor string.
David Malone [Mon, 1 Apr 2002 11:06:00 +0000 (11:06 +0000)]
1) Use FBSDID for vendor string.
2) Change an int for a size_t, as that's what it is mainly used for.
3) Add some braces to keep gcc happy.

22 years agoDon't use gcc specific flags.
David Malone [Mon, 1 Apr 2002 10:54:11 +0000 (10:54 +0000)]
Don't use gcc specific flags.

22 years ago1) Clean up vendor and ID strings.
David Malone [Mon, 1 Apr 2002 10:49:11 +0000 (10:49 +0000)]
1) Clean up vendor and ID strings.
2) include stdlib.h for atoi.
3) staticise and constify.
4) add some missing prototypes.
5) add some parens to keep gcc happy.

22 years agoConst the code.
David Malone [Mon, 1 Apr 2002 10:45:09 +0000 (10:45 +0000)]
Const the code.

22 years agoFix some whitespace style bugs.
Mike Barcroft [Mon, 1 Apr 2002 09:45:05 +0000 (09:45 +0000)]
Fix some whitespace style bugs.

22 years agoFix SCM ID's.
David E. O'Brien [Mon, 1 Apr 2002 09:39:07 +0000 (09:39 +0000)]
Fix SCM ID's.

22 years agoRemove 'tech'. Repo-copied to 'freebsd'
Murray Stokely [Mon, 1 Apr 2002 09:08:24 +0000 (09:08 +0000)]
Remove 'tech'.  Repo-copied to 'freebsd'

Reminded by: joe

22 years agoAdd a few more tips, and tweak a couple.
Josef Karthauser [Mon, 1 Apr 2002 08:53:21 +0000 (08:53 +0000)]
Add a few more tips, and tweak a couple.

PR: misc/34039

22 years agoDocument recent DHCP upgrade.
Murray Stokely [Mon, 1 Apr 2002 08:44:51 +0000 (08:44 +0000)]
Document recent DHCP upgrade.

22 years agoAugment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).
Josef Karthauser [Mon, 1 Apr 2002 08:43:58 +0000 (08:43 +0000)]
Augment the BLOCKSIZE tip.  (Based on the PR with slight changes by myself).

PR: misc/34039

22 years agoDuh, savecore is called savecore.
Poul-Henning Kamp [Mon, 1 Apr 2002 08:27:19 +0000 (08:27 +0000)]
Duh, savecore is called savecore.

22 years agoo Implement <sys/_types.h>, a new header for storing types that are
Mike Barcroft [Mon, 1 Apr 2002 08:12:25 +0000 (08:12 +0000)]
o Implement <sys/_types.h>, a new header for storing types that are
  MI, not required to be a fixed size, and used in multiple headers.
  This will grow in time, as more things move here from <sys/types.h>
  and <machine/ansi.h>.
o Add missing type definitions (uint16_t and uint32_t) to
  <arpa/inet.h> and <netinet/in.h>.
o Reduce pollution in <sys/types.h> by using `#if _FOO_T_DECLARED'
  widgets to avoid including <sys/stdint.h>.
o Add some missing type definitions to <unistd.h> and note the ones
  that still need to be added.
o Make use of <sys/_types.h> primitives in <grp.h> and <sys/types.h>.

Reviewed by: bde

22 years agoResolve conflicts.
Murray Stokely [Mon, 1 Apr 2002 08:09:50 +0000 (08:09 +0000)]
Resolve conflicts.

22 years agoResolve conflicts:
Murray Stokely [Mon, 1 Apr 2002 08:02:18 +0000 (08:02 +0000)]
Resolve conflicts:
  * $FreeBSD$
  * connect std{in,out,err} (r1.19).
  * prefer strlcpy to strpy (r1.13).
  * quiet by default (r1.6).
  * document -D option.