]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoAdd .Fx entries for upcoming 4.6 and forthcoming 4.7.
Ruslan Ermilov [Mon, 8 Apr 2002 11:20:50 +0000 (11:20 +0000)]
Add .Fx entries for upcoming 4.6 and forthcoming 4.7.

Requested by: asmodai

22 years agoAlign for const poisoning in -lutil.
Ruslan Ermilov [Mon, 8 Apr 2002 11:07:51 +0000 (11:07 +0000)]
Align for const poisoning in -lutil.

22 years agoConst poisoning.
Ruslan Ermilov [Mon, 8 Apr 2002 11:04:56 +0000 (11:04 +0000)]
Const poisoning.

22 years agoSynch with login/login.c,v 1.81: Switch to OpenPAM.
Ruslan Ermilov [Mon, 8 Apr 2002 10:58:01 +0000 (10:58 +0000)]
Synch with login/login.c,v 1.81: Switch to OpenPAM.

22 years agoChange totreq to uint64_t from a long (the PR has an int64_t, which didn't
Jeroen Ruigrok van der Werven [Mon, 8 Apr 2002 10:39:12 +0000 (10:39 +0000)]
Change totreq to uint64_t from a long (the PR has an int64_t, which didn't
make sense to me) and change the printf argument from %8ld to %20llu to
accompany the printing of the totals.
Realigned the header printed above it as well.

PR: 32342
Submitted by: ryan beasley <ryanb@goddamnbastard.org>
Reviewed by: jeff, Tim J Robbins

22 years agoChange ks_calls from int64_t to uint64_t, since it cannot be negative.
Jeroen Ruigrok van der Werven [Mon, 8 Apr 2002 10:37:27 +0000 (10:37 +0000)]
Change ks_calls from int64_t to uint64_t, since it cannot be negative.

PR: 32342
Submitted by: ryan beasley <ryanb@goddamnbastard.org>
Reviewed by: jeff, Tim J Robbins

22 years agoRemoved ispc98 sysctl completely. Applications should understand that
Bruce Evans [Mon, 8 Apr 2002 10:34:57 +0000 (10:34 +0000)]
Removed ispc98 sysctl completely.  Applications should understand that
ispc98 isn't set if its sysctl doesn't exist.  At least make(1) already
understands this.

Approved by: nyan

22 years agoSolve the problem of spuriously comparing files that were created
Doug Barton [Mon, 8 Apr 2002 10:30:44 +0000 (10:30 +0000)]
Solve the problem of spuriously comparing files that were created
in the ${TEMPROOT}/usr/obj directory by deleting them first.

22 years agoRegenerate.
Josef Karthauser [Mon, 8 Apr 2002 10:17:19 +0000 (10:17 +0000)]
Regenerate.

22 years agoAdd an entry for HP LaserJet 1200.
Josef Karthauser [Mon, 8 Apr 2002 10:16:19 +0000 (10:16 +0000)]
Add an entry for HP LaserJet 1200.

22 years agoIf used, pam_ssh should be marked "sufficient", not "required".
Dag-Erling Smørgrav [Mon, 8 Apr 2002 09:52:47 +0000 (09:52 +0000)]
If used, pam_ssh should be marked "sufficient", not "required".

Sponsored by: DARPA, NAI Labs

22 years agoDocument the two new options, pre buildworld mode and
Doug Barton [Mon, 8 Apr 2002 09:49:40 +0000 (09:49 +0000)]
Document the two new options, pre buildworld mode and
post-mm rc.conf[.local] comparisons.

22 years agoBack out ASCII compatibility and let people face the problems themself
Andrey A. Chernov [Mon, 8 Apr 2002 09:40:52 +0000 (09:40 +0000)]
Back out ASCII compatibility and let people face the problems themself
Cejka Rudolf <cejkar@fit.vutbr.cz> tells that it was in strong violation with
national standard.

22 years agoReword compatibility note
Andrey A. Chernov [Mon, 8 Apr 2002 09:28:22 +0000 (09:28 +0000)]
Reword compatibility note

22 years agoMove generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.
Poul-Henning Kamp [Mon, 8 Apr 2002 09:20:07 +0000 (09:20 +0000)]
Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.

Sponsored by: DARPA & NAI Labs

22 years agoCatch up with const'ification of <sys/disklabel.h> and quelch warnings.
Poul-Henning Kamp [Mon, 8 Apr 2002 08:57:21 +0000 (08:57 +0000)]
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.

22 years agoGCC 3.1 cleanup - add a break after default: at the end of a switch
Murray Stokely [Mon, 8 Apr 2002 08:34:00 +0000 (08:34 +0000)]
GCC 3.1 cleanup - add a break after default: at the end of a switch
statement.

22 years agoRemove 3 instances of vm_zone.h inclusion.
Poul-Henning Kamp [Mon, 8 Apr 2002 08:12:46 +0000 (08:12 +0000)]
Remove 3 instances of vm_zone.h inclusion.

22 years agoIn reverence of the 3rd X11 development rule:
Poul-Henning Kamp [Mon, 8 Apr 2002 08:00:40 +0000 (08:00 +0000)]
In reverence of the 3rd X11 development rule:

3.The only thing worse than generalizing from one example
is generalizing from no examples at all.

Remove the fwcylinders attribute before anybody gets the idea that we
alone have squared the circle.

Sponsored by: DARPA & NAI Labs.

22 years agoFix style of ether_ntoa().
Ruslan Ermilov [Mon, 8 Apr 2002 07:51:10 +0000 (07:51 +0000)]
Fix style of ether_ntoa().

22 years agoBootstrap xargs(1) -- sys/conf/kmod.mk uses the new -J option.
Ruslan Ermilov [Mon, 8 Apr 2002 07:40:41 +0000 (07:40 +0000)]
Bootstrap xargs(1) -- sys/conf/kmod.mk uses the new -J option.

PR: bin/36747

22 years agoPut back dumppcb, but this time we put a comment to tell what it is for.
Poul-Henning Kamp [Mon, 8 Apr 2002 06:59:13 +0000 (06:59 +0000)]
Put back dumppcb, but this time we put a comment to tell what it is for.

Brucifixion by: bde

22 years agoPrint DRQ resource in boot message.
Takanori Watanabe [Mon, 8 Apr 2002 06:58:17 +0000 (06:58 +0000)]
Print DRQ resource in boot message.

22 years agoChange the vm_zone calls over to uma calls. Remove the reference to the
Jeff Roberson [Mon, 8 Apr 2002 06:57:43 +0000 (06:57 +0000)]
Change the vm_zone calls over to uma calls.  Remove the reference to the
vm_zone header.

22 years agoDon't set WARNS to 2, we're default compatible now.
Poul-Henning Kamp [Mon, 8 Apr 2002 06:26:46 +0000 (06:26 +0000)]
Don't set WARNS to 2, we're default compatible now.

Noticed by: bde

22 years agoAdd a mechanism to disable buckets when the v_free_count drops below
Jeff Roberson [Mon, 8 Apr 2002 06:20:34 +0000 (06:20 +0000)]
Add a mechanism to disable buckets when the v_free_count drops below
v_free_min.  This should help performance in memory starved situations.

22 years agoExplain how to double-check that the partitions do end on a cylinder
Udo Erdelhoff [Mon, 8 Apr 2002 05:19:32 +0000 (05:19 +0000)]
Explain how to double-check that the partitions do end on a cylinder
boundary.

reviewed and nitpicked by: bmah

22 years agoDon't release the zone lock until after the dtor has been called. As far as I
Jeff Roberson [Mon, 8 Apr 2002 05:13:48 +0000 (05:13 +0000)]
Don't release the zone lock until after the dtor has been called.  As far as I
can tell this could not have caused any problems yet because UMA is still
called with giant.

Pointy hat to: jeff
Noticed by: jake

22 years agoRestructure aio_return() to eliminate duplicated code and facilitate Giant
Alan Cox [Mon, 8 Apr 2002 04:57:56 +0000 (04:57 +0000)]
Restructure aio_return() to eliminate duplicated code and facilitate Giant
push down.

22 years agoImplement uma_zdestroy(). It's prototype changed slightly. I decided that I
Jeff Roberson [Mon, 8 Apr 2002 04:48:58 +0000 (04:48 +0000)]
Implement uma_zdestroy().  It's prototype changed slightly.  I decided that I
didn't like the wait argument and that if you were removing a zone it had
better be empty.

Also, I broke out part of hash_expand and made a seperate hash_free() for use
in uma_zdestroy.

22 years agoThere's only one socket zone so we don't need to remember it
Jeffrey Hsu [Mon, 8 Apr 2002 03:04:22 +0000 (03:04 +0000)]
There's only one socket zone so we don't need to remember it
in every socket structure.

22 years agoRework most of the bucket allocation and free code so that per cpu locks are
Jeff Roberson [Mon, 8 Apr 2002 02:42:55 +0000 (02:42 +0000)]
Rework most of the bucket allocation and free code so that per cpu locks are
never held across blocking operations.  Also, fix two other lock order
reversals that were exposed by jhb's witness change.

The free path previously had a bug that would cause it to skip the free bucket
list in some cases and go straight to allocating a new bucket.  This has been
fixed as well.

These changes made the bucket handling code much cleaner and removed quite a
few lock operations.  This should be marginally faster now.

It is now possible to call malloc w/o Giant and avoid any witness warnings.
This still isn't entirely safe though because malloc_type statistics are not
protected by any lock.

22 years agoSony ID is 0x0002, not 0x0001. Noticed by Ichiro Fukuhara-san when I
Warner Losh [Mon, 8 Apr 2002 00:52:15 +0000 (00:52 +0000)]
Sony ID is 0x0002, not 0x0001.  Noticed by Ichiro Fukuhara-san when I
submitted patches to him for NetBSD integration.

22 years agoSpelling correction; s/seperate/separate/g
Jeff Roberson [Sun, 7 Apr 2002 22:56:48 +0000 (22:56 +0000)]
Spelling correction; s/seperate/separate/g

Submitted by: eric

22 years agoThere should be no remaining references to these two files in the tree. If
Jeff Roberson [Sun, 7 Apr 2002 22:51:18 +0000 (22:51 +0000)]
There should be no remaining references to these two files in the tree.  If
there are, it is an error.  vm_zone has been superseded by uma.

22 years agoThis fixes a bug where isitem never got set to 1 if a certain chain of events
Jeff Roberson [Sun, 7 Apr 2002 22:47:36 +0000 (22:47 +0000)]
This fixes a bug where isitem never got set to 1 if a certain chain of events
relating to extreme low memory situations occured.  This was only ever seen on
the port build cluster, so many thanks to kris for helping me debug this.

Tested by: kris

22 years agoThis makes ppbus childs like lpt and ppi succesfully connect to more
Bernd Walter [Sun, 7 Apr 2002 22:06:20 +0000 (22:06 +0000)]
This makes ppbus childs like lpt and ppi succesfully connect to more
than just the first ppbus.
The child drivers always tried to attach unit 0.

Reviewed by: gallatin
Approved by: gallatin

22 years agoReorganize pam_sm_authenticate() to reduce code duplication.
Dag-Erling Smørgrav [Sun, 7 Apr 2002 21:18:18 +0000 (21:18 +0000)]
Reorganize pam_sm_authenticate() to reduce code duplication.

Sponsored by: DARPA, NAI Labs

22 years agoGC the "dumplo" variable, which is no longer used.
Poul-Henning Kamp [Sun, 7 Apr 2002 21:01:37 +0000 (21:01 +0000)]
GC the "dumplo" variable, which is no longer used.

A lot of sys/*/*/machdep.c seems not to be.

22 years agoRegenerate.
Bill Paul [Sun, 7 Apr 2002 20:56:19 +0000 (20:56 +0000)]
Regenerate.

22 years agoTeach the rlphy driver how to do parallel link detection. If the link partner
Bill Paul [Sun, 7 Apr 2002 20:55:50 +0000 (20:55 +0000)]
Teach the rlphy driver how to do parallel link detection. If the link partner
doesn't support NWAY, the RealTek PHY (both the integrated ones on 8139
chips and the RTL8201L 10/100 PHY) will not report the link speed via
the ANLPAR or BMSR registers. For the 8201L, we need to look in magic
vendor-specific PHY register 0x19. For the 8139 MAC+PHY combo, we have
to be able to test the RL_MEDIASTAT register.

The changes to rlphy.c are based largely on the patch from PR 30836,
however I tried to eliminate some magic numbers by creating an entry
for the 8201 PHY in miidevs.

Also updated if_rl.c to allow the rlphy driver to read the RL_MEDIASTAT
register via the rl_miibus_readreg() routine.

22 years agoFix bug in previous commit that passed the wrong default value to
Dag-Erling Smørgrav [Sun, 7 Apr 2002 20:43:27 +0000 (20:43 +0000)]
Fix bug in previous commit that passed the wrong default value to
login_getcapstr(3).  Also fix a longer-standing bug (login_close(3)
frees the string returned by login_getcapstr(3)) by reorganizing the
code a little, and use login_getpwclass(3) instead of login_getclass(3)
if we already have a struct pwd.

Sponsored by: DARPA, NAI Labs

22 years agoFix handling of undefined variables.
Luigi Rizzo [Sun, 7 Apr 2002 20:41:09 +0000 (20:41 +0000)]
Fix handling of undefined variables.
Add override for /etc/rc.local .
Add hook to start syslogd if compiled-in and /etc/syslog.conf exists

22 years agoGeneral white space cleanup, to synchronise with NetBSD.
Josef Karthauser [Sun, 7 Apr 2002 18:33:12 +0000 (18:33 +0000)]
General white space cleanup, to synchronise with NetBSD.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 18:15:37 +0000 (18:15 +0000)]
MFNetBSD:
    revision 1.157
    date: 2002/03/16 16:13:41;  author: tsutsui;  state: Exp;  lines: +4 -4
    Fix a couple of typo:
    - s/ehci/uhci/ (in unused arg of macro)
    - s/ohci/uhci/ (in panic message)

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 18:14:08 +0000 (18:14 +0000)]
MFNetBSD:
    revision 1.156
    date: 2002/03/04 00:53:33;  author: augustss;  state: Exp;  lines: +3 -3
    Use the correct pointer for the timeout abort.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 18:13:16 +0000 (18:13 +0000)]
MFNetBSD:
    revision 1.155
    date: 2002/02/27 12:42:41;  author: augustss;  state: Exp;  lines: +8 -8
    Move the interrupt bailout when a cancelled ii is found.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 18:10:10 +0000 (18:10 +0000)]
MFNetBSD:

    revision 1.154
    date: 2002/02/27 12:12:45;  author: augustss;  state: Exp;  lines: +14 -9
    Remove spurious splusb().
    Lower abort hardware wait.

22 years agoMFNetBSD: uhcireg.h (1.15), uhcivar.h (1.33)
Josef Karthauser [Sun, 7 Apr 2002 18:06:34 +0000 (18:06 +0000)]
MFNetBSD: uhcireg.h (1.15), uhcivar.h (1.33)

    date: 2002/02/11 11:41:30;  author: augustss;
    Switch to new abort mechanism.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 18:03:45 +0000 (18:03 +0000)]
MFNetBSD:
    revision 1.153
    date: 2002/02/11 11:40:33;  author: augustss;  state: Exp;  lines: +67 -26
    Switch to the same abort mechanism as in [eo]hci; it should be more
    robust.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 17:55:16 +0000 (17:55 +0000)]
MFNetBSD:
    revision 1.151
    date: 2002/01/27 23:00:34;  author: augustss;  state: Exp;  lines: +3 -3
    Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors.
    Spotted by OpenBSD.

22 years agoMFNetBSD: hid.c (1.22), uhci.c (1.150), usb_subr.c (1.97)
Josef Karthauser [Sun, 7 Apr 2002 17:53:58 +0000 (17:53 +0000)]
MFNetBSD: hid.c (1.22), uhci.c (1.150), usb_subr.c (1.97)

    date: 2002/01/14 13:23:37;  author: tsutsui;
    Call malloc(9) with M_ZERO flag instead of memset() after malloc().

22 years agoAdd a missing void in the parameter list of http_request().
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:42:27 +0000 (17:42 +0000)]
Add a missing void in the parameter list of http_request().

22 years agoGive functions proper return type, since the default is an integer, where
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:41:33 +0000 (17:41 +0000)]
Give functions proper return type, since the default is an integer, where
the author obviously meant a void since he doesn't return any values.

One caveat, http_request has three return()'s, but doesn't do anything
with it.  Either the code needs to be rewritten to take care of proper
error handling on that point, or the returns ripped out.  I made it void
for now.

22 years agoUse %lld instead of %d in order to print struct stat's st_size, which is
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:22:23 +0000 (17:22 +0000)]
Use %lld instead of %d in order to print struct stat's st_size, which is
an off_t.

PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>

22 years agoGarbage collect unused variables.
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:16:28 +0000 (17:16 +0000)]
Garbage collect unused variables.

PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>

22 years agoMFNetBSD: uhid.c (1.45), ums.c (1.49), usbdi_util.c (1.35), usbdi_util.h (1.23)
Josef Karthauser [Sun, 7 Apr 2002 17:13:00 +0000 (17:13 +0000)]
MFNetBSD: uhid.c (1.45), ums.c (1.49), usbdi_util.c (1.35), usbdi_util.h (1.23)

    date: 2001/10/26 17:58:21;  author: augustss;
    s/usbd_alloc_report_desc/usbd_read_report_desc/

22 years agoActually print the port we are listening too when specified verbose mode.
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:07:37 +0000 (17:07 +0000)]
Actually print the port we are listening too when specified verbose mode.

PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 17:05:50 +0000 (17:05 +0000)]
MFNetBSD:
    revision 1.44
    date: 2001/09/15 16:16:28;  author: yamt;  state: Exp;  lines: +3 -3
    correct debug messages.

22 years agoMFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1)
Josef Karthauser [Sun, 7 Apr 2002 17:04:01 +0000 (17:04 +0000)]
MFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1)

    date: 2000/12/29 01:47:49;  author: augustss;
    Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
    The descriptor it reports is broken.
    XXX Not tested, because I don't have the device.

    date: 2001/08/15 00:06:49;  author: augustss;  state: Exp;  lines: +3 -1
    If there was a vendor+product locator match return a higher match value.
    Rationale, if you have a device (e.g., a mouse) with a more specific
    driver but want to recognize it with the more generic driver you can
    do that by supplying vendor and product locators for the generic one.

22 years agoFreeBSD prior to 4.5-RELEASE and older versions of 5.0-CURRENT do not
Ruslan Ermilov [Sun, 7 Apr 2002 17:03:06 +0000 (17:03 +0000)]
FreeBSD prior to 4.5-RELEASE and older versions of 5.0-CURRENT do not
have the __FBSDID() macro in <sys/cdefs.h>.  Fix this once and for all
for tools that need to be bootstrapped.

PR: bin/36747
MFC after: 3 days
Prodded by: obrien

22 years agoUpdate $NetBSD$ idents.
Josef Karthauser [Sun, 7 Apr 2002 17:02:25 +0000 (17:02 +0000)]
Update $NetBSD$ idents.

22 years agoAdd the possibility to use a no_rip_out configuration option in order
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 17:01:20 +0000 (17:01 +0000)]
Add the possibility to use a no_rip_out configuration option in order
to stop routed from sending out RIP updates.

PR: 29090
Submitted by: Matthew Braithwaite <mab@red-bean.com>

22 years agoFreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
Ruslan Ermilov [Sun, 7 Apr 2002 16:53:47 +0000 (16:53 +0000)]
FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
not have setprogname(3) and getprogname(3), and we need to build
lint(1) as a cross-tool to bootstrap.  Versions from lib/libc/gen
can't be compiled either.

PR: bin/36747

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 16:38:14 +0000 (16:38 +0000)]
MFNetBSD:
    revision 1.148
    date: 2001/11/21 12:25:55;  author: augustss;  state: Exp;  lines: +3 -3
    Fix typo in comment.

22 years agoFix EUC encoding conversion for codeset 3 and 4 to comply to the specification.
Jeroen Ruigrok van der Werven [Sun, 7 Apr 2002 16:37:15 +0000 (16:37 +0000)]
Fix EUC encoding conversion for codeset 3 and 4 to comply to the specification.

PR: 28552
Submitted by: NIIMI Satoshi <sa2c@and.or.jp>

22 years agoRemove the overt differences between ours and NetBSD's version of this file.
Josef Karthauser [Sun, 7 Apr 2002 16:36:30 +0000 (16:36 +0000)]
Remove the overt differences between ours and NetBSD's version of this file.

22 years agoRe-add the definitions of htole32(x) and le32toh(x) for OpenBSD.
Josef Karthauser [Sun, 7 Apr 2002 15:41:45 +0000 (15:41 +0000)]
Re-add the definitions of htole32(x) and le32toh(x) for OpenBSD.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 15:18:00 +0000 (15:18 +0000)]
MFNetBSD:
    revision 1.121
    date: 2002/03/16 16:11:18;  author: tsutsui;  state: Exp;  lines: +4 -4
    Fix a couple of typo:
    - s/ehci/ohci/ (in unused arg of macro)
    - s/uhci/ohci/ (in debug message)

22 years agoMFNetBSD: ohci.c (1.119), ohcivar.h (1.30)
Josef Karthauser [Sun, 7 Apr 2002 15:16:31 +0000 (15:16 +0000)]
MFNetBSD: ohci.c (1.119), ohcivar.h (1.30)

    date: 2001/12/31 12:20:35;  author: augustss;
    Change xfer abort to wait for the softintr to run.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 15:12:07 +0000 (15:12 +0000)]
MFNetBSD:
    revision 1.118
    date: 2001/12/27 18:48:28;  author: augustss;  state: Exp;  lines: +24 -5
    Add some DIAGNOSTIC stuf that I forgot.  From Nate Williams.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 15:08:39 +0000 (15:08 +0000)]
MFNetBSD:
    revision 1.117
    date: 2001/12/27 11:27:11;  author: augustss;  state: Exp;  lines: +5 -3
    Update a comment.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 15:07:23 +0000 (15:07 +0000)]
MFNetBSD:
    revision 1.116
    date: 2001/11/21 08:18:40;  author: augustss;  state: Exp;  lines: +30 -3
    Pay more attention to if the HC is being unplugged.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 15:01:01 +0000 (15:01 +0000)]
MFNetBSD:
    revision 1.27
    date: 2001/02/21 10:19:30;  author: minoura;  state: Exp;  lines: +2 -3
    There is no reason to exclude FreeBSD :).

22 years agoFixed the nasty bug where .depend file that exists somewhere in
Ruslan Ermilov [Sun, 7 Apr 2002 14:58:12 +0000 (14:58 +0000)]
Fixed the nasty bug where .depend file that exists somewhere in
the .PATH (but not in the ${.OBJDIR}) would result in a leak of
the ${OBJS}: ${SRCS:M*.h} dependency hint.

Spotted by: fixing the broken gnu/usr.bin/cc/cc1obj build
MFC after: 1 day

22 years agobbsize and sbsize cannot ever be trusted from the disklabel, in
Poul-Henning Kamp [Sun, 7 Apr 2002 14:57:57 +0000 (14:57 +0000)]
bbsize and sbsize cannot ever be trusted from the disklabel, in
particular as there may not be one.  Remove #if 0'ed code which might
mislead people to think otherwise.

unifdef -ULOSTDIR, fsck can make lost+found on the fly.

Sponsored by: DARPA & NAI Labs

22 years agoMFNetBSD: ohci.c (1.114), ohcivar.h (1.29)
Josef Karthauser [Sun, 7 Apr 2002 14:57:31 +0000 (14:57 +0000)]
MFNetBSD: ohci.c (1.114), ohcivar.h (1.29)

    date: 2001/11/21 02:41:18;  author: augustss;
    Use a task to perform the timeout abort so we have a process context when
    sleeping.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:53:52 +0000 (14:53 +0000)]
MFNetBSD:
    revision 1.113
    date: 2001/11/21 02:39:31;  author: augustss;  state: Exp;  lines: +10 -4
    Some more debug stuff.

22 years agoMFNetBSD: ohci.c (1.112), uhci.c (1.147)
Josef Karthauser [Sun, 7 Apr 2002 14:49:14 +0000 (14:49 +0000)]
MFNetBSD: ohci.c (1.112), uhci.c (1.147)

    date: 2001/11/21 02:38:35;  author: augustss;
    Cast some args to bitmask_snprintf().

22 years agoMFNetBSD: ohci.c (1.111), uhci.c (1.146)
Josef Karthauser [Sun, 7 Apr 2002 14:45:38 +0000 (14:45 +0000)]
MFNetBSD: ohci.c (1.111), uhci.c (1.146)

    date: 2001/11/20 21:12:46;  author: augustss;
    Don't bother with interrupts when being disconnected.

22 years agoMFNetBSD: ohci.c (1.101), ohcivar.h (1.26)
Josef Karthauser [Sun, 7 Apr 2002 14:40:15 +0000 (14:40 +0000)]
MFNetBSD: ohci.c (1.101), ohcivar.h (1.26)

    revision 1.101
    date: 2001/02/20 15:20:32;  author: minoura;
    Re-initialize some registers after resuming from suspend.
    Some APM BIOSes do not restore them.
    Reviewd by augustss.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:34:23 +0000 (14:34 +0000)]
MFNetBSD:
    revision 1.97
    date: 2000/12/31 14:29:54;  author: augustss;  state: Exp;  lines: +17 -3
    Make the controller survive suspend/resume.  Thanks to Steve Woodford
    <steve@mctavish.co.uk> for testing.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:31:03 +0000 (14:31 +0000)]
MFNetBSD:
    revision 1.95
    date: 2000/12/13 03:09:06;  author: augustss;  state: Exp;  lines: +19 -3
    Make the ohci driver not hang suspend/resume.  It still doesn't resume
    correctly.  From itohy@netbsd.org (ITOH Yasufumi) PR kern/11714.

22 years agoMFNetBSD: ohci.c (1.100), ohcivar.h (1.25)
Josef Karthauser [Sun, 7 Apr 2002 14:25:02 +0000 (14:25 +0000)]
MFNetBSD: ohci.c (1.100), ohcivar.h (1.25)

ohci.c
    revision 1.100
    date: 2001/01/28 16:18:09;  author: augustss;  state: Exp;  lines: +7 -2
    Put a rate limiter on the scheduling overrun message.

ohcivar.h:
    revision 1.25
    date: 2001/01/28 19:01:20;  author: augustss;  state: Exp;  lines: +4 -1
    Commit second half of rate limit change.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:21:32 +0000 (14:21 +0000)]
MFNetBSD:
    revision 1.58
    date: 2001/11/20 23:53:26;  author: augustss;  state: Exp;  lines: +61 -33
    Create a special kernel thread to run the usb short lived tasks (instead
    of using the device discovery threads).

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:12:56 +0000 (14:12 +0000)]
MFNetBSD:
    revision 1.65
    date: 2002/01/03 22:20:45;  author: augustss;  state: Exp;  lines: +9 -2
    Add a DIAGNOSTIC check.  From FreeBSD.

(Just wrap these changes, that we already had, with a #ifdef DIAGNOSTIC).

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:10:52 +0000 (14:10 +0000)]
MFNetBSD:
    revision 1.62
    date: 2002/01/02 20:55:58;  author: augustss;  state: Exp;  lines: +11 -10
    Some more usb_proc_ptr changes.
    Also some minor stylistic changes.

    revision 1.63
    date: 2002/01/02 20:58:12;  author: augustss;  state: Exp;  lines: +4 -4
    Fix typo in last commit.

    revision 1.64
    date: 2002/01/02 22:44:44;  author: augustss;  state: Exp;  lines: +7 -4
    Add a comment.

The usb_proc_ptr changes were introduced in 1.62 and backed out in 1.64.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 14:02:31 +0000 (14:02 +0000)]
MFNetBSD:
    revision 1.61
    date: 2001/12/31 15:55:51;  author: augustss;  state: Exp;  lines: +3 -5
    Delay bus enumeration a little in case the controller is a companion
    controller.  This way the main controller can gain ownership of the port
    before enumeration starts.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 13:59:32 +0000 (13:59 +0000)]
MFNetBSD:
    revision 1.59
    date: 2001/11/26 20:16:55;  author: augustss;  state: Exp;  lines: +3 -3
    Change wchan name for usb task thread.

22 years agoMFNetBSD: usb.c (1.58)
Josef Karthauser [Sun, 7 Apr 2002 13:58:06 +0000 (13:58 +0000)]
MFNetBSD: usb.c (1.58)

    date: 2001/11/20 23:53:26;  author: augustss;  state: Exp;  lines: +61 -33
    Create a special kernel thread to run the usb short lived tasks (instead
    of using the device discovery threads).

The change to usb_port.h is a little hack whilst I address an issue
with NetBSD.

22 years agoRegen.
Nick Hibma [Sun, 7 Apr 2002 13:47:19 +0000 (13:47 +0000)]
Regen.

22 years agoAdd Scanlogic SL11R IDE Adapter.
Nick Hibma [Sun, 7 Apr 2002 13:45:24 +0000 (13:45 +0000)]
Add Scanlogic SL11R IDE Adapter.

22 years agoSynchronise the code style with NetBSD. (No functional changes).
Josef Karthauser [Sun, 7 Apr 2002 13:37:46 +0000 (13:37 +0000)]
Synchronise the code style with NetBSD.  (No functional changes).

22 years agoAdd code to try the nmount(2) syscall when mount(2) failed with
Maxime Henrion [Sun, 7 Apr 2002 13:28:18 +0000 (13:28 +0000)]
Add code to try the nmount(2) syscall when mount(2) failed with
EOPNOTSUPP.  This will make things less painful when I will commit
the conversion of devfs, fdescfs and pseudofs to nmount.

Reviewed by: phk

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 13:27:56 +0000 (13:27 +0000)]
MFNetBSD:
    revision 1.69
    date: 2001/12/27 18:43:46;  author: augustss;  state: Exp;  lines: +3 -3
    Change some DIAGNOSTIC #defines.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 13:26:59 +0000 (13:26 +0000)]
MFNetBSD:
    revision 1.68
    date: 2001/12/24 21:36:16;  author: augustss;  state: Exp;  lines: +2 -1
    Add some more DIAGNOSTIC tests.
    Make usb_match_device() match on USB_PRODUCT_ANY.

22 years agoo Change kernel_vmount() interface to be more convenient : pass two
Maxime Henrion [Sun, 7 Apr 2002 13:22:47 +0000 (13:22 +0000)]
o Change kernel_vmount() interface to be more convenient : pass two
  separate strings instead of passing "foo=bar".
o Don't forget to clear the VMOUNT flag on the vnode when vfs_nmount()
  fails because the fs doesn't implement VFS_NMOUNT (and in vfs_mount()
  when the fs doesn't implement VFS_MOUNT) ; also decrement the vfs
  refcount in the !MNT_UPDATE case.

22 years agoMFNetBSD:
Josef Karthauser [Sun, 7 Apr 2002 13:20:26 +0000 (13:20 +0000)]
MFNetBSD:
    revision 1.67
    date: 2001/11/21 13:44:47;  author: augustss;  state: Exp;  lines: +3 -1
    Wrap dump routine prototypes in #ifdef USB_DEBUG

22 years agoMFNetBSD: ukbd.c (1.52), usbdi.c (1.54), usbdi.h (1.35)
Josef Karthauser [Sun, 7 Apr 2002 13:16:18 +0000 (13:16 +0000)]
MFNetBSD: ukbd.c (1.52), usbdi.c (1.54), usbdi.h (1.35)

    date: 2000/01/16 09:37:18;  author: augustss;
    Let usbd_set_polling() work on a usbd_device_handle instead of
    a usbd_interface_handle.

22 years agoThis one needs NO_WERROR too.
Dag-Erling Smørgrav [Sun, 7 Apr 2002 12:53:58 +0000 (12:53 +0000)]
This one needs NO_WERROR too.