Commit Graph

40519 Commits

Author SHA1 Message Date
n_hibma
3f9d33731f Only NetBSD needs sys/device.h. 1999-08-29 11:56:49 +00:00
n_hibma
ba35feab32 Only NetBSD uses sys/device.h
Error-reported-by:	phk
1999-08-29 11:49:22 +00:00
marcel
b192ab5a4b Fix a braino: Linux minor device numbers are 8 bits wide and not 10. 1999-08-29 11:47:01 +00:00
bde
8a602972cf 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
bde
615716acb7 Oops, I missed a cast in rev.1.119. 1999-08-29 10:23:13 +00:00
bde
9ff03382d8 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
bde
0d1e5d1ef7 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
bde
b0ec7e8758 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
bde
b2ea6809d4 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
phk
9f769de84a 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
phk
e4ee171004 initialize si_bsize_phys from what the drive told us. 1999-08-29 09:10:05 +00:00
phk
244faf2e1b Add dev_t freeing code. Controlled by sysctl debug.free_devt, default
is off.
1999-08-29 09:09:12 +00:00
bde
b40f30707d 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
a932c8483a 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
phk
62f99fc1fd Sort the easy part of this file. It should be all sorted. 1999-08-29 08:44:18 +00:00
mharo
92582195da add verbose flag 1999-08-29 08:21:16 +00:00
mharo
5e14615656 brucify and move printf() to catch cases of special files 1999-08-29 07:58:19 +00:00
kato
bd14e46d74 Changed from dname into devtoname(bp->b_dev) in the function dsinit(). 1999-08-29 05:05:27 +00:00
mharo
2e0328a8ba add verbose flag
exit(1) --> exit(EX_USAGE)

Reviewed by:	obrien
1999-08-29 02:20:26 +00:00
gehenna
e8b91e712a o fix typo 1999-08-29 02:05:12 +00:00
grog
1bd06cee6e 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
gehenna
74bac52783 o synchronisation with NetBSD
Reviewed by:	Hick Hibma
Obtained from:	NetBSD
1999-08-29 01:18:32 +00:00
mpp
367b0a1e65 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
mpp
59a037c52b 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
mpp
02b18f847f 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
mpp
20c040ef66 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
mpp
24e8576f58 Some minor mdoc style cleanup. 1999-08-28 22:11:17 +00:00
mpp
e9a5cbf430 Fix typo in previous commit that documented the -v option. 1999-08-28 21:38:36 +00:00
mharo
98ee646b7c add verbose flag
Reviewed by:	obrien
1999-08-28 20:46:00 +00:00
n_hibma
4ded1b999f Correct URL's and change ifdef to if defined (following rest of style in
file)
1999-08-28 20:10:46 +00:00
n_hibma
00a145f477 Remove NetBSD specific code. USB part is trivial, and the rest is not
shared anyway.
1999-08-28 20:09:34 +00:00
phk
ad3452e25a Fix various trivial warnings from LINT 1999-08-28 19:44:07 +00:00
phk
f6c7768ee9 Put a brief comment on a couple of #defines. 1999-08-28 19:21:36 +00:00
phk
d311a0563b remove unused variables. 1999-08-28 19:21:03 +00:00
phk
27712fb22b #include <sys/queue.h> 1999-08-28 19:20:07 +00:00
jhay
c4958328e0 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
nyan
f98ac3b4e9 Merge missing changes from sys/i386/conf/GENERIC. 1999-08-28 16:49:58 +00:00
nyan
de07d79e72 Fix ordering. 1999-08-28 16:20:53 +00:00
nyan
48f819b5a4 - The old printer driver is renamed 'olpt'.
- Added the gdc driver.
1999-08-28 15:17:25 +00:00
lile
9fd13149fc Add source routing support. 1999-08-28 15:14:15 +00:00
kato
e696937c35 Added MII bus support.
Reminded by:	phk
1999-08-28 15:04:27 +00:00
lile
67d7802c27 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
phk
9c72381e09 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
hm
a261857e2d add MAINTAINER for the kernel part of i4b 1999-08-28 13:35:00 +00:00
hm
9aacafc21f add MAINTAINER to userland part of i4b 1999-08-28 13:32:15 +00:00
jkh
fd7c9f4229 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
n_hibma
acd1b54be0 Thou shall do a make before commit.
[grmbl]
Fix duplicate elements in struct in previous commit.
1999-08-28 11:52:12 +00:00
obrien
6ae2479e39 Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.
1999-08-28 11:46:53 +00:00
n_hibma
b6f921b6b3 We use device_set_desc_copy, so we do not need to free the copied text
manually.
1999-08-28 11:35:36 +00:00
n_hibma
8422690eaa Share more between FreeBSD and NetBSD 1999-08-28 11:31:21 +00:00