Commit Graph

40509 Commits

Author SHA1 Message Date
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
obrien
3a35f41abc Fix conflicts.
This brings revs 1.{2,3} minus rev 1.4 into EGCS 1.1.2.
1999-08-28 11:27:19 +00:00
n_hibma
5de32d64c2 Update the list of devices from NetBSD 1999-08-28 09:39:54 +00:00
marcel
e1a382c4fe Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines. 1999-08-28 09:04:21 +00:00
marcel
76374868ab 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>
1999-08-28 08:43:03 +00:00
obrien
f77ff8b800 Fix conflicts. 1999-08-28 08:14:14 +00:00
phk
c15e61ea99 Initialize dev->si_bsize*, the floppy driver doesn't use dsopen(). 1999-08-28 08:10:13 +00:00
roger
4551595b84 Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
green
6b6009ffec Also make the "other" packets counter resettable. 1999-08-28 07:20:59 +00:00
obrien
c4b74a1764 Fix conflicts. This brings rev 1.2 (fix stabs ordering for a.out) into
EGCS 1.1.2.
1999-08-28 07:19:03 +00:00
green
74b308328d Back out the cdevsw_remove() from previous revision for further testing. 1999-08-28 07:06:11 +00:00