Poul-Henning Kamp
9a7f910b84
Convert to use the new "disk" layer.
...
A few cleanups while here.
1999-08-29 13:29:29 +00:00
Poul-Henning Kamp
da9e4f5550
Add micro "disk" layer which should enable us to pull all the slice/label
...
stuff out of the device drivers.
1999-08-29 13:28:55 +00:00
Dag-Erling Smørgrav
27108a1511
Include the correct header for the IPSTEALTH option.
1999-08-29 12:18:39 +00:00
Nick Hibma
51b98897fa
Only NetBSD needs sys/device.h.
1999-08-29 11:56:49 +00:00
Nick Hibma
a7fa9611ed
Only NetBSD uses sys/device.h
...
Error-reported-by: phk
1999-08-29 11:49:22 +00:00
Marcel Moolenaar
e459b442df
Fix a braino: Linux minor device numbers are 8 bits wide and not 10.
1999-08-29 11:47:01 +00:00
Bruce Evans
1961e4302a
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).
1999-08-29 10:28:10 +00:00
Bruce Evans
684f9417a2
Oops, I missed a cast in rev.1.119.
1999-08-29 10:23:13 +00:00
Bruce Evans
09c1244640
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.
1999-08-29 10:14:59 +00:00
Bruce Evans
8021ba879a
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.
1999-08-29 10:03:35 +00:00
Bruce Evans
b00b6d73dd
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.
1999-08-29 09:54:17 +00:00
Bruce Evans
47966f4c8a
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.
1999-08-29 09:38:25 +00:00
Poul-Henning Kamp
f054c29093
Merge alpha and pc98 changes into i386 MBR handling code and replace all
...
three copies with one copy in MI land.
1999-08-29 09:12:54 +00:00
Poul-Henning Kamp
83d34e0b60
initialize si_bsize_phys from what the drive told us.
1999-08-29 09:10:05 +00:00
Poul-Henning Kamp
d137accc89
Add dev_t freeing code. Controlled by sysctl debug.free_devt, default
...
is off.
1999-08-29 09:09:12 +00:00
Bruce Evans
3de9d6fbe4
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.
1999-08-29 09:03:58 +00:00
Marcel Moolenaar
d4c45842d7
Fix a missing '-1' in the size argument of copyout in getgroups. Spotted while
...
reviewing the MFC in -stable.
1999-08-29 08:52:38 +00:00
Poul-Henning Kamp
0bd2b984ce
Sort the easy part of this file. It should be all sorted.
1999-08-29 08:44:18 +00:00
Michael Haro
46fedeb096
add verbose flag
1999-08-29 08:21:16 +00:00
Michael Haro
fcb2f1b389
brucify and move printf() to catch cases of special files
1999-08-29 07:58:19 +00:00
KATO Takenori
a8c345fb03
Changed from dname into devtoname(bp->b_dev) in the function dsinit().
1999-08-29 05:05:27 +00:00
Michael Haro
bfbdd545e1
add verbose flag
...
exit(1) --> exit(EX_USAGE)
Reviewed by: obrien
1999-08-29 02:20:26 +00:00
Masahide MAEKAWA
52b18414f4
o fix typo
1999-08-29 02:05:12 +00:00
Greg Lehey
03705cdeb7
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
1999-08-29 01:41:53 +00:00
Masahide MAEKAWA
a0f9149b19
o synchronisation with NetBSD
...
Reviewed by: Hick Hibma
Obtained from: NetBSD
1999-08-29 01:18:32 +00:00
Mike Pritchard
7dc5a4da76
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.
1999-08-28 23:32:12 +00:00
Mike Pritchard
49364d3cb3
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>
1999-08-28 23:23:38 +00:00
Mike Pritchard
229494cb51
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>
1999-08-28 23:10:20 +00:00
Mike Pritchard
ba79fc6822
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>
1999-08-28 23:04:49 +00:00
Mike Pritchard
8b8f358eed
Some minor mdoc style cleanup.
1999-08-28 22:11:17 +00:00
Mike Pritchard
d3183183c2
Fix typo in previous commit that documented the -v option.
1999-08-28 21:38:36 +00:00
Michael Haro
1df89a603d
add verbose flag
...
Reviewed by: obrien
1999-08-28 20:46:00 +00:00
Nick Hibma
ca66889cf7
Correct URL's and change ifdef to if defined (following rest of style in
...
file)
1999-08-28 20:10:46 +00:00
Nick Hibma
805bb37eb5
Remove NetBSD specific code. USB part is trivial, and the rest is not
...
shared anyway.
1999-08-28 20:09:34 +00:00
Poul-Henning Kamp
94db13fe98
Fix various trivial warnings from LINT
1999-08-28 19:44:07 +00:00
Poul-Henning Kamp
a87b535090
Put a brief comment on a couple of #defines.
1999-08-28 19:21:36 +00:00
Poul-Henning Kamp
9626728875
remove unused variables.
1999-08-28 19:21:03 +00:00
Poul-Henning Kamp
a978dc23b7
#include <sys/queue.h>
1999-08-28 19:20:07 +00:00
John Hay
01d3efc077
Get rid of the old XNS checksum code and implement it the IPX way.
...
PR: 13374
Submitted by: Boris Popov <bp@butya.kz>
1999-08-28 18:21:55 +00:00
Yoshihiro Takahashi
3dec6735e5
Merge missing changes from sys/i386/conf/GENERIC.
1999-08-28 16:49:58 +00:00
Yoshihiro Takahashi
cbf0618984
Fix ordering.
1999-08-28 16:20:53 +00:00
Yoshihiro Takahashi
c8662eda6f
- The old printer driver is renamed 'olpt'.
...
- Added the gdc driver.
1999-08-28 15:17:25 +00:00
Larry Lile
14fffcebea
Add source routing support.
1999-08-28 15:14:15 +00:00
KATO Takenori
c41e88e949
Added MII bus support.
...
Reminded by: phk
1999-08-28 15:04:27 +00:00
Larry Lile
fcf11853dc
It is much easier to arp if you don't truncate your arp-reply's.
...
[affects token-ring only]
1999-08-28 14:57:12 +00:00
Poul-Henning Kamp
10af1a2b5f
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
1999-08-28 14:33:44 +00:00
Hellmuth Michaelis
f5fe620a92
add MAINTAINER for the kernel part of i4b
1999-08-28 13:35:00 +00:00
Hellmuth Michaelis
34bbf8d467
add MAINTAINER to userland part of i4b
1999-08-28 13:32:15 +00:00
Jordan K. Hubbard
979b9153d4
Always set the MBR value. When you leave it uninitialized, it seems
...
like libdisk does bad things. :)
1999-08-28 12:10:13 +00:00
Nick Hibma
d447ab3427
Thou shall do a make before commit.
...
[grmbl]
Fix duplicate elements in struct in previous commit.
1999-08-28 11:52:12 +00:00