]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoAdd Voodoo 3 identification.
Roger Hardiman [Sun, 29 Aug 1999 15:11:22 +0000 (15:11 +0000)]
Add Voodoo 3 identification.
pciconf on my Vodoo3 2000 also shows sub-system vendor id/model with
card=0x0030121a

25 years agoRemove unneeded "maj" variable.
Poul-Henning Kamp [Sun, 29 Aug 1999 14:54:11 +0000 (14:54 +0000)]
Remove unneeded "maj" variable.

Give up if we have already started dumping once before.

Print name of dumpdev.

25 years agoRemove unneeded slice element.
Poul-Henning Kamp [Sun, 29 Aug 1999 14:52:02 +0000 (14:52 +0000)]
Remove unneeded slice element.

25 years agoConvert to use the new "disk" layer.
Poul-Henning Kamp [Sun, 29 Aug 1999 13:29:29 +0000 (13:29 +0000)]
Convert to use the new "disk" layer.
A few cleanups while here.

25 years agoAdd micro "disk" layer which should enable us to pull all the slice/label
Poul-Henning Kamp [Sun, 29 Aug 1999 13:28:55 +0000 (13:28 +0000)]
Add micro "disk" layer which should enable us to pull all the slice/label
stuff out of the device drivers.

25 years agoInclude the correct header for the IPSTEALTH option.
Dag-Erling Smørgrav [Sun, 29 Aug 1999 12:18:39 +0000 (12:18 +0000)]
Include the correct header for the IPSTEALTH option.

25 years agoOnly NetBSD needs sys/device.h.
Nick Hibma [Sun, 29 Aug 1999 11:56:49 +0000 (11:56 +0000)]
Only NetBSD needs sys/device.h.

25 years agoOnly NetBSD uses sys/device.h
Nick Hibma [Sun, 29 Aug 1999 11:49:22 +0000 (11:49 +0000)]
Only NetBSD uses sys/device.h

Error-reported-by: phk

25 years agoFix a braino: Linux minor device numbers are 8 bits wide and not 10.
Marcel Moolenaar [Sun, 29 Aug 1999 11:47:01 +0000 (11:47 +0000)]
Fix a braino: Linux minor device numbers are 8 bits wide and not 10.

25 years agoFixed printf format errors (don't assume that ntohl() returns u_long;
Bruce Evans [Sun, 29 Aug 1999 10:28:10 +0000 (10:28 +0000)]
Fixed printf format errors (don't assume that ntohl() returns u_long;
it returns u_int on i386's and in_addr_t (u_int32_t) on alphas).

25 years agoOops, I missed a cast in rev.1.119.
Bruce Evans [Sun, 29 Aug 1999 10:23:13 +0000 (10:23 +0000)]
Oops, I missed a cast in rev.1.119.

25 years agoRemoved dysfunctional/defunct options KERNFS_DIAGNOSTIC,
Bruce Evans [Sun, 29 Aug 1999 10:14:59 +0000 (10:14 +0000)]
Removed dysfunctional/defunct options KERNFS_DIAGNOSTIC,
UMAPFS_DIAGNOSTIC and UNION_DIAGNOSTIC.  Uncommented NULLFS_DIAGNOSTIC.
It is as bogus as the above three but since it is already a new-style
option it is easier to use it than to fix it.

25 years agoChanged old-style option UNION_DIAGNOSTIC to DEBUG and fixed printf
Bruce Evans [Sun, 29 Aug 1999 10:03:35 +0000 (10:03 +0000)]
Changed old-style option UNION_DIAGNOSTIC to DEBUG and fixed printf
format errors exposed by this.  It has nothing to do with diagnostics
since it does little more than control tracing of normal operation.
Actual diagnostics for the union file system are still controlled by
the DIAGNOSTIC option.

25 years agoChanged old-style options UMAPFS_DIAGNOSTIC and UMAP_DIAGNOSTIC to DEBUG
Bruce Evans [Sun, 29 Aug 1999 09:54:17 +0000 (09:54 +0000)]
Changed old-style options UMAPFS_DIAGNOSTIC and UMAP_DIAGNOSTIC to DEBUG
or DDB and fixed printf format errors exposed by this.  The options had
little to do with diagnostics; they mostly controlled tracing of normal
operation.

25 years agoChanged old-style option KERNFS_DIAGNOSTIC to DEBUG and fixed printf
Bruce Evans [Sun, 29 Aug 1999 09:38:25 +0000 (09:38 +0000)]
Changed old-style option KERNFS_DIAGNOSTIC to DEBUG and fixed printf
format errors exposed by this.  It has nothing to do with diagnostics
since it does little more than control tracing of normal operation.

25 years agoMerge alpha and pc98 changes into i386 MBR handling code and replace all
Poul-Henning Kamp [Sun, 29 Aug 1999 09:12:54 +0000 (09:12 +0000)]
Merge alpha and pc98 changes into i386 MBR handling code and replace all
three copies with one copy in MI land.

25 years agoinitialize si_bsize_phys from what the drive told us.
Poul-Henning Kamp [Sun, 29 Aug 1999 09:10:05 +0000 (09:10 +0000)]
initialize si_bsize_phys from what the drive told us.

25 years agoAdd dev_t freeing code. Controlled by sysctl debug.free_devt, default
Poul-Henning Kamp [Sun, 29 Aug 1999 09:09:12 +0000 (09:09 +0000)]
Add dev_t freeing code.  Controlled by sysctl debug.free_devt, default
is off.

25 years agoDon't restrict our requests for contiguous memory to addresses >= 1MB.
Bruce Evans [Sun, 29 Aug 1999 09:03:58 +0000 (09:03 +0000)]
Don't restrict our requests for contiguous memory to addresses >= 1MB.
This fixes, at least, panics in ncr_attach() on i386's with about 5MB
of memory.  The restriction was a hack to leave some low memory for ISA
DMA, but on i386's we now allocate pages from the top down, so all the
restriction did was cause our allocations to fail when there is no free
memory above 1MB.

25 years agoFix a missing '-1' in the size argument of copyout in getgroups. Spotted while
Marcel Moolenaar [Sun, 29 Aug 1999 08:52:38 +0000 (08:52 +0000)]
Fix a missing '-1' in the size argument of copyout in getgroups. Spotted while
reviewing the MFC in -stable.

25 years agoSort the easy part of this file. It should be all sorted.
Poul-Henning Kamp [Sun, 29 Aug 1999 08:44:18 +0000 (08:44 +0000)]
Sort the easy part of this file.  It should be all sorted.

25 years agoadd verbose flag
Michael Haro [Sun, 29 Aug 1999 08:21:16 +0000 (08:21 +0000)]
add verbose flag

25 years agobrucify and move printf() to catch cases of special files
Michael Haro [Sun, 29 Aug 1999 07:58:19 +0000 (07:58 +0000)]
brucify and move printf() to catch cases of special files

25 years agoChanged from dname into devtoname(bp->b_dev) in the function dsinit().
KATO Takenori [Sun, 29 Aug 1999 05:05:27 +0000 (05:05 +0000)]
Changed from dname into devtoname(bp->b_dev) in the function dsinit().

25 years agoadd verbose flag
Michael Haro [Sun, 29 Aug 1999 02:20:26 +0000 (02:20 +0000)]
add verbose flag
exit(1) --> exit(EX_USAGE)

Reviewed by: obrien

25 years agoo fix typo
Masahide MAEKAWA [Sun, 29 Aug 1999 02:05:12 +0000 (02:05 +0000)]
o fix typo

25 years agoInitialize the si_bsize fields of the new dev structure. This fixes
Greg Lehey [Sun, 29 Aug 1999 01:41:53 +0000 (01:41 +0000)]
Initialize the si_bsize fields of the new dev structure.  This fixes
some swapper problems analogous to those experienced with ccd.

This fix is a kludge: since we currently don't track the "sector size"
in a volume label, we guess a worst case (4 kB, as used by vnode
devices).  If the concept of sector size is here to stay, I'll make
some changes to track the "sector size" of a volume.  This will
probably be the maximum of the sector sizes of all component drives,
but things could get ugly if we start allowing non-standard sector
sizes such as 524 bytes.

Unkludged-version-submitted-by: phk

25 years agoo synchronisation with NetBSD
Masahide MAEKAWA [Sun, 29 Aug 1999 01:18:32 +0000 (01:18 +0000)]
o synchronisation with NetBSD

Reviewed by: Hick Hibma
Obtained from: NetBSD

25 years agoAdd $FreeBSD$ lines to these example man pages, along with a note
Mike Pritchard [Sat, 28 Aug 1999 23:32:12 +0000 (23:32 +0000)]
Add $FreeBSD$ lines to these example man pages, along with a note
that says all man pages should contain a FreeBSD revision control
id to make it easier for translation teams.

25 years agoAdd $FreeBSD$ lines to man pages that are missing them to make it
Mike Pritchard [Sat, 28 Aug 1999 23:23:38 +0000 (23:23 +0000)]
Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoAdd $FreeBSD$ lines to man pages that are missing them to make it
Mike Pritchard [Sat, 28 Aug 1999 23:10:20 +0000 (23:10 +0000)]
Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoAdd $FreeBSD$ lines to man pages that are missing them to make
Mike Pritchard [Sat, 28 Aug 1999 23:04:49 +0000 (23:04 +0000)]
Add $FreeBSD$ lines to man pages that are missing them to make
it easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoSome minor mdoc style cleanup.
Mike Pritchard [Sat, 28 Aug 1999 22:11:17 +0000 (22:11 +0000)]
Some minor mdoc style cleanup.

25 years agoFix typo in previous commit that documented the -v option.
Mike Pritchard [Sat, 28 Aug 1999 21:38:36 +0000 (21:38 +0000)]
Fix typo in previous commit that documented the -v option.

25 years agoadd verbose flag
Michael Haro [Sat, 28 Aug 1999 20:46:00 +0000 (20:46 +0000)]
add verbose flag

Reviewed by: obrien

25 years agoCorrect URL's and change ifdef to if defined (following rest of style in
Nick Hibma [Sat, 28 Aug 1999 20:10:46 +0000 (20:10 +0000)]
Correct URL's and change ifdef to if defined (following rest of style in
file)

25 years agoRemove NetBSD specific code. USB part is trivial, and the rest is not
Nick Hibma [Sat, 28 Aug 1999 20:09:34 +0000 (20:09 +0000)]
Remove NetBSD specific code. USB part is trivial, and the rest is not
shared anyway.

25 years agoFix various trivial warnings from LINT
Poul-Henning Kamp [Sat, 28 Aug 1999 19:44:07 +0000 (19:44 +0000)]
Fix various trivial warnings from LINT

25 years agoPut a brief comment on a couple of #defines.
Poul-Henning Kamp [Sat, 28 Aug 1999 19:21:36 +0000 (19:21 +0000)]
Put a brief comment on a couple of #defines.

25 years agoremove unused variables.
Poul-Henning Kamp [Sat, 28 Aug 1999 19:21:03 +0000 (19:21 +0000)]
remove unused variables.

25 years ago#include <sys/queue.h>
Poul-Henning Kamp [Sat, 28 Aug 1999 19:20:07 +0000 (19:20 +0000)]
#include <sys/queue.h>

25 years agoGet rid of the old XNS checksum code and implement it the IPX way.
John Hay [Sat, 28 Aug 1999 18:21:55 +0000 (18:21 +0000)]
Get rid of the old XNS checksum code and implement it the IPX way.

PR: 13374
Submitted by: Boris Popov <bp@butya.kz>

25 years agoMerge missing changes from sys/i386/conf/GENERIC.
Yoshihiro Takahashi [Sat, 28 Aug 1999 16:49:58 +0000 (16:49 +0000)]
Merge missing changes from sys/i386/conf/GENERIC.

25 years agoFix ordering.
Yoshihiro Takahashi [Sat, 28 Aug 1999 16:20:53 +0000 (16:20 +0000)]
Fix ordering.

25 years ago- The old printer driver is renamed 'olpt'.
Yoshihiro Takahashi [Sat, 28 Aug 1999 15:17:25 +0000 (15:17 +0000)]
- The old printer driver is renamed 'olpt'.
- Added the gdc driver.

25 years agoAdd source routing support.
Larry Lile [Sat, 28 Aug 1999 15:14:15 +0000 (15:14 +0000)]
Add source routing support.

25 years agoAdded MII bus support.
KATO Takenori [Sat, 28 Aug 1999 15:04:27 +0000 (15:04 +0000)]
Added MII bus support.

Reminded by: phk

25 years agoIt is much easier to arp if you don't truncate your arp-reply's.
Larry Lile [Sat, 28 Aug 1999 14:57:12 +0000 (14:57 +0000)]
It is much easier to arp if you don't truncate your arp-reply's.
[affects token-ring only]

25 years agoWe don't need to pass the diskname argument all over the diskslice/label
Poul-Henning Kamp [Sat, 28 Aug 1999 14:33:44 +0000 (14:33 +0000)]
We don't need to pass the diskname argument all over the diskslice/label
code, we can find the name from any convenient dev_t

25 years agoadd MAINTAINER for the kernel part of i4b
Hellmuth Michaelis [Sat, 28 Aug 1999 13:35:00 +0000 (13:35 +0000)]
add MAINTAINER for the kernel part of i4b

25 years agoadd MAINTAINER to userland part of i4b
Hellmuth Michaelis [Sat, 28 Aug 1999 13:32:15 +0000 (13:32 +0000)]
add MAINTAINER to userland part of i4b

25 years agoAlways set the MBR value. When you leave it uninitialized, it seems
Jordan K. Hubbard [Sat, 28 Aug 1999 12:10:13 +0000 (12:10 +0000)]
Always set the MBR value.  When you leave it uninitialized, it seems
like libdisk does bad things. :)

25 years agoThou shall do a make before commit.
Nick Hibma [Sat, 28 Aug 1999 11:52:12 +0000 (11:52 +0000)]
Thou shall do a make before commit.
[grmbl]
Fix duplicate elements in struct in previous commit.

25 years agoFix conflicts.
David E. O'Brien [Sat, 28 Aug 1999 11:46:53 +0000 (11:46 +0000)]
Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.

25 years agoWe use device_set_desc_copy, so we do not need to free the copied text
Nick Hibma [Sat, 28 Aug 1999 11:35:36 +0000 (11:35 +0000)]
We use device_set_desc_copy, so we do not need to free the copied text
manually.

25 years agoShare more between FreeBSD and NetBSD
Nick Hibma [Sat, 28 Aug 1999 11:31:21 +0000 (11:31 +0000)]
Share more between FreeBSD and NetBSD

25 years agoFix conflicts.
David E. O'Brien [Sat, 28 Aug 1999 11:27:19 +0000 (11:27 +0000)]
Fix conflicts.
This brings revs 1.{2,3} minus rev 1.4 into EGCS 1.1.2.

25 years agoUpdate the list of devices from NetBSD
Nick Hibma [Sat, 28 Aug 1999 09:39:54 +0000 (09:39 +0000)]
Update the list of devices from NetBSD

25 years agoAdd MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines.
Marcel Moolenaar [Sat, 28 Aug 1999 09:04:21 +0000 (09:04 +0000)]
Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines.

25 years agoImplement the OSS_GETVERSION ioctl. The version returned can be changed through
Marcel Moolenaar [Sat, 28 Aug 1999 08:43:03 +0000 (08:43 +0000)]
Implement the OSS_GETVERSION ioctl. The version returned can be changed through
the sysctl variable `compat.linux.oss_version'.

PR: 12917
Originator: Dean Lombardo <dlombardo@excite.com>

25 years agoFix conflicts.
David E. O'Brien [Sat, 28 Aug 1999 08:14:14 +0000 (08:14 +0000)]
Fix conflicts.

25 years agoInitialize dev->si_bsize*, the floppy driver doesn't use dsopen().
Poul-Henning Kamp [Sat, 28 Aug 1999 08:10:13 +0000 (08:10 +0000)]
Initialize dev->si_bsize*, the floppy driver doesn't use dsopen().

25 years agoBackout my last commit. Exit status is $?
Roger Hardiman [Sat, 28 Aug 1999 08:04:15 +0000 (08:04 +0000)]
Backout my last commit. Exit status is $?

25 years agoAlso make the "other" packets counter resettable.
Brian Feldman [Sat, 28 Aug 1999 07:20:59 +0000 (07:20 +0000)]
Also make the "other" packets counter resettable.

25 years agoFix conflicts. This brings rev 1.2 (fix stabs ordering for a.out) into
David E. O'Brien [Sat, 28 Aug 1999 07:19:03 +0000 (07:19 +0000)]
Fix conflicts.  This brings rev 1.2 (fix stabs ordering for a.out) into
EGCS 1.1.2.

25 years agoBack out the cdevsw_remove() from previous revision for further testing.
Brian Feldman [Sat, 28 Aug 1999 07:06:11 +0000 (07:06 +0000)]
Back out the cdevsw_remove() from previous revision for further testing.

25 years agoAdd file which was missed in last commits due to CVS problems
Roger Hardiman [Sat, 28 Aug 1999 06:24:16 +0000 (06:24 +0000)]
Add file which was missed in last commits due to CVS problems

25 years agoAdd file which was missing from previous commits
Roger Hardiman [Sat, 28 Aug 1999 06:22:07 +0000 (06:22 +0000)]
Add file which was missing from previous commits

25 years agoUnevilize vn(4) somewhat:
Brian Feldman [Sat, 28 Aug 1999 06:21:39 +0000 (06:21 +0000)]
Unevilize vn(4) somewhat:
1. implement read-only ability
2. make it play nice with cdevsw (use cdevsw_remove() uon kldunload)

25 years ago$Header$ -> $FreeBSD$
Peter Wemm [Sat, 28 Aug 1999 05:11:36 +0000 (05:11 +0000)]
$Header$ -> $FreeBSD$

25 years agoRelax things a bit. Not having FIODTYPE will be a warning for now.
Brian Feldman [Sat, 28 Aug 1999 03:37:38 +0000 (03:37 +0000)]
Relax things a bit. Not having FIODTYPE will be a warning for now.

Pointy hat: green
Pointed out by: peter

25 years ago- Handle the signal SIGTERM.
Kazutaka YOKOTA [Sat, 28 Aug 1999 02:39:10 +0000 (02:39 +0000)]
- Handle the signal SIGTERM.
- Slightly rearrange VGLCheckSwitch() to ensure the display content
  will be correctly restored when switching back to the vty where
  the vgl program is running.
- VGLEnd() should clear the screen only when the vty is in the
  foreground.

Discussed with: sos

25 years agoRegen after Id->FreeBSD
Peter Wemm [Sat, 28 Aug 1999 02:35:56 +0000 (02:35 +0000)]
Regen after Id->FreeBSD

25 years ago$Id$ -> $FreeBSD$ (some mangled and/or hidden ones)
Peter Wemm [Sat, 28 Aug 1999 02:21:15 +0000 (02:21 +0000)]
$Id$ -> $FreeBSD$  (some mangled and/or hidden ones)

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Sat, 28 Aug 1999 02:16:32 +0000 (02:16 +0000)]
$Id$ -> $FreeBSD$

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Sat, 28 Aug 1999 01:35:59 +0000 (01:35 +0000)]
$Id$ -> $FreeBSD$

25 years agoId -> FreeBSD
Peter Wemm [Sat, 28 Aug 1999 01:15:37 +0000 (01:15 +0000)]
Id -> FreeBSD

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Sat, 28 Aug 1999 01:08:13 +0000 (01:08 +0000)]
$Id$ -> $FreeBSD$

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Sat, 28 Aug 1999 00:22:10 +0000 (00:22 +0000)]
$Id$ -> $FreeBSD$

25 years agogcc 2.6 is kinda obsolete now.
Peter Wemm [Fri, 27 Aug 1999 23:47:15 +0000 (23:47 +0000)]
gcc 2.6 is kinda obsolete now.

25 years agoCorrection: uid -> gid (comment)
Brian Feldman [Fri, 27 Aug 1999 23:46:02 +0000 (23:46 +0000)]
Correction: uid -> gid (comment)

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Fri, 27 Aug 1999 23:45:13 +0000 (23:45 +0000)]
$Id$ -> $FreeBSD$

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Fri, 27 Aug 1999 23:37:10 +0000 (23:37 +0000)]
$Id$ -> $FreeBSD$

25 years ago$Id$ -> $FreeBSD$
Peter Wemm [Fri, 27 Aug 1999 23:15:48 +0000 (23:15 +0000)]
$Id$ -> $FreeBSD$

25 years agoCatch an extra X on DHCP.
Jordan K. Hubbard [Fri, 27 Aug 1999 22:15:15 +0000 (22:15 +0000)]
Catch an extra X on DHCP.

Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr>

25 years agoFix path for miibus_if.m (mii > dev/mii);
Bill Paul [Fri, 27 Aug 1999 21:21:53 +0000 (21:21 +0000)]
Fix path for miibus_if.m (mii > dev/mii);

25 years agoMake some cleanups related to miibus.
Bill Paul [Fri, 27 Aug 1999 21:18:02 +0000 (21:18 +0000)]
Make some cleanups related to miibus.

25 years agoRemove some 4.3BSDish anacronisims that stated that it was an
Mike Pritchard [Fri, 27 Aug 1999 20:21:18 +0000 (20:21 +0000)]
Remove some 4.3BSDish anacronisims that stated that it was an
error for a pathname to contain a character with the high-order
bit set.

Inspired by:  joerg's previous commit

25 years agoAdd sysctl variables for the Linuxulator. These reside under `compat.linux' as
Marcel Moolenaar [Fri, 27 Aug 1999 19:47:41 +0000 (19:47 +0000)]
Add sysctl variables for the Linuxulator. These reside under `compat.linux' as
discussed on current.

The following variables are defined (for now):

    osname (defaults to "Linux")
        Allow users to change the name of the OS as returned by uname(2),
        specially added for all those Linux Netscape users and statistics
        maniacs :-) We now have what we all wanted!

    osrelease (defaults to "2.2.5")
        Allow users to change the version of the OS as returned by uname(2).
        Since -current supports glibc2.1 now, change the default to 2.2.5
        (was 2.0.36).

    oss_version (defaults to 198144 [0x030600])
        This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I
        can commit now that we have the MIB. The default version number is the
        lowest version possible with the current 'encoding'.

A note about imprisoned processes (see jail(2)):
  These variables are copy-on-write (as suggested by phk). This means that
  imprisoned processes will use the system wide value unless it is written/set
  by the process. From that moment on, a copy local to the prison will be
  used.

A note about the implementation:
  I choose to add a single pointer to struct prison, because I didn't like the
  idea of changing struct prison every time I come up with a new variable. As
  a side effect, the extra storage is only needed when a variable is set from
  within the prison. This also minimizes kernel bloat when the Linuxulator is
  not used; both compiled in or as a module.

Reviewed by: bde (first version only) and phk

25 years agoUpdate these Makefiles; add mlphy and tlphy to the mii module, add
Bill Paul [Fri, 27 Aug 1999 19:45:19 +0000 (19:45 +0000)]
Update these Makefiles; add mlphy and tlphy to the mii module, add
miibus_if.h to tl module's dependencies.

25 years agoReference the correct gdt[] entry on SMP. Remove the `generation' flag,
Jonathan Lemon [Fri, 27 Aug 1999 19:39:20 +0000 (19:39 +0000)]
Reference the correct gdt[] entry on SMP.  Remove the `generation' flag,
and always reload the selectors for every bios call.

25 years agoConvert the ThunderLAN driver to miibus. This took me a while because I
Bill Paul [Fri, 27 Aug 1999 18:58:27 +0000 (18:58 +0000)]
Convert the ThunderLAN driver to miibus. This took me a while because I
had to get the ML 6692 PHY driver working correctly, which is harder than
it sounds. "Bitrate" ThunderLAN devices should still be supported (i.e
the older 10Mbps Netflex 3/P, which use the TNETE110 chip that has no
MII support). The ThunderLAN has an internal PHY which makes things a
little complicated, but these are the basic rules:

- For devices with just the ThunderLAN, the internal PHY is used to
  provide 10baseT, and 10base5/10baseT support. Autonegotiation will
  work, but only with 10baseT links. The only thing that really gets
  negotiated is whether the link is full or half duplex.

- For devices with the ThunderLAN and an external 10/100 PHY (like the
  Compaq Netelligent 100Mbps cards, or the internal Netflex 3/P with
  100Mbps upgrade daughter card), the external PHY is used for 10baseT
  and 100baseTX modes. The internal PHY is still used to support
  10base5/10base2, though you have to select them manual with ifconfig.

- For devices with the ThunderLAN and the ML6692 PHY, both the internal
  and external PHYs are used, though it will appear as though the 6692
  PHY will be used to support 10baseT and 100baseTX modes. In reality,
  the internal PHY will be used for 10baseT, but this fact will be hidden
  from the user. The 10base5/10base2 modes can also be selected manually
  as with above.

25 years agoAdd miibus drivers for the ThunderLAN internal PHY and the Micro Linear
Bill Paul [Fri, 27 Aug 1999 18:33:36 +0000 (18:33 +0000)]
Add miibus drivers for the ThunderLAN internal PHY and the Micro Linear
ML6692 PHY. The Micro Linear driver is my own; the ThunderLAN driver is
a port of the NetBSD driver with various hacks. The ML driver is necessary
to support the Olicom OC-2326 ThunderLAN-based NIC.

Also regenerated miidevs.h to pick up the proper 'obtained from'
revision string.

25 years agoUse FIODTYPE to unbogosify much of the file type checking in dd.
Brian Feldman [Fri, 27 Aug 1999 16:36:46 +0000 (16:36 +0000)]
Use FIODTYPE to unbogosify much of the file type checking in dd.

25 years agoAdd FIODTYPE ioctl for getting d_flags (type) info on a device.
Brian Feldman [Fri, 27 Aug 1999 16:35:37 +0000 (16:35 +0000)]
Add FIODTYPE ioctl for getting d_flags (type) info on a device.

Okayed by: phk

25 years agoFix the child's return path from fork so that fork will return 0
Andrew Gallatin [Fri, 27 Aug 1999 14:47:23 +0000 (14:47 +0000)]
Fix the child's return path from fork so that fork will return 0
in the child.  This corrects a problem where linux/alpha binaries see
the child's return value of fork as the parent's pid.  This happens because
linux/alpha binaries apparently check the return value directly, rather
than looking for a non-zero value in a4, as *BSD & OSF/1 do.

Reviewed by:dfr@nlsystems.com

25 years agoRemove a 4.3BSDish anachronism that claimed EPERM for an attempt to
Joerg Wunsch [Fri, 27 Aug 1999 14:25:00 +0000 (14:25 +0000)]
Remove a 4.3BSDish anachronism that claimed EPERM for an attempt to
mknod() a pathname containg a ``character with the high-order bit
set''.

25 years agoFix conflicts. This brings in rev 1.2 (FreeBSD native support -- do not
David E. O'Brien [Fri, 27 Aug 1999 11:02:42 +0000 (11:02 +0000)]
Fix conflicts.  This brings in rev 1.2 (FreeBSD native support -- do not
search the multitude of extended include file paths that do not exist)
into EGCS 1.1.2.

25 years agoSmall whitespace change to fix run-over lines introduced in the previous
Sheldon Hearn [Fri, 27 Aug 1999 10:59:40 +0000 (10:59 +0000)]
Small whitespace change to fix run-over lines introduced in the previous
commit.

Reported by: bde

25 years agoFix conflicts. This brings the "printf0" addition into EGCS 1.1.2.
David E. O'Brien [Fri, 27 Aug 1999 10:58:48 +0000 (10:58 +0000)]
Fix conflicts.  This brings the "printf0" addition into EGCS 1.1.2.