Commit Graph

40659 Commits

Author SHA1 Message Date
phk
82ee0a64ad initialize si_bsize_phys from what the drive told us. 1999-08-29 09:10:05 +00:00
phk
52e5b69e93 Add dev_t freeing code. Controlled by sysctl debug.free_devt, default
is off.
1999-08-29 09:09:12 +00:00
bde
6ec4d2ac07 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
123473cc00 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
53b77390d9 Sort the easy part of this file. It should be all sorted. 1999-08-29 08:44:18 +00:00
mharo
eea1ad0aa4 add verbose flag 1999-08-29 08:21:16 +00:00
mharo
779ca8c356 brucify and move printf() to catch cases of special files 1999-08-29 07:58:19 +00:00
kato
f480eea50b Changed from dname into devtoname(bp->b_dev) in the function dsinit(). 1999-08-29 05:05:27 +00:00
mharo
7f61632b5b add verbose flag
exit(1) --> exit(EX_USAGE)

Reviewed by:	obrien
1999-08-29 02:20:26 +00:00
gehenna
53cd59003b o fix typo 1999-08-29 02:05:12 +00:00
grog
ef9edfdb1d 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
9e8e66828b o synchronisation with NetBSD
Reviewed by:	Hick Hibma
Obtained from:	NetBSD
1999-08-29 01:18:32 +00:00
mpp
06d17e2da3 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
1c0a3cee71 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
08e72288bf 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
9402e2710a 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
f9b3a98763 Some minor mdoc style cleanup. 1999-08-28 22:11:17 +00:00
mpp
9d8b3b4e1b Fix typo in previous commit that documented the -v option. 1999-08-28 21:38:36 +00:00
mharo
94c239d059 add verbose flag
Reviewed by:	obrien
1999-08-28 20:46:00 +00:00
n_hibma
fb8670880e 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
0acd98aefc Remove NetBSD specific code. USB part is trivial, and the rest is not
shared anyway.
1999-08-28 20:09:34 +00:00
phk
7bb4088ded Fix various trivial warnings from LINT 1999-08-28 19:44:07 +00:00
phk
e7a4c58355 Put a brief comment on a couple of #defines. 1999-08-28 19:21:36 +00:00
phk
da2bfe8d6a remove unused variables. 1999-08-28 19:21:03 +00:00
phk
d9b7613a77 #include <sys/queue.h> 1999-08-28 19:20:07 +00:00
jhay
d635b3fc9e 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
e061db284e Merge missing changes from sys/i386/conf/GENERIC. 1999-08-28 16:49:58 +00:00
nyan
26cb145938 Fix ordering. 1999-08-28 16:20:53 +00:00
nyan
7275c838e2 - The old printer driver is renamed 'olpt'.
- Added the gdc driver.
1999-08-28 15:17:25 +00:00
lile
34b4b22959 Add source routing support. 1999-08-28 15:14:15 +00:00
kato
c2580331e2 Added MII bus support.
Reminded by:	phk
1999-08-28 15:04:27 +00:00
lile
8011c78128 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
aa2cbd5315 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
c5d5176208 add MAINTAINER for the kernel part of i4b 1999-08-28 13:35:00 +00:00
hm
9df252d149 add MAINTAINER to userland part of i4b 1999-08-28 13:32:15 +00:00
jkh
8ceee5cec6 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
68f50dfde1 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
042e4eb9d0 Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.
1999-08-28 11:46:53 +00:00
n_hibma
569441a9e7 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
d4f1b027b2 Share more between FreeBSD and NetBSD 1999-08-28 11:31:21 +00:00
obrien
ff4f163c3f 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
bf2e0ae452 Update the list of devices from NetBSD 1999-08-28 09:39:54 +00:00
marcel
e8b1ded776 Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines. 1999-08-28 09:04:21 +00:00
marcel
b2ad4b6b0a 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
ede1871ee5 Fix conflicts. 1999-08-28 08:14:14 +00:00
phk
be933a56d1 Initialize dev->si_bsize*, the floppy driver doesn't use dsopen(). 1999-08-28 08:10:13 +00:00
roger
2dba58d3b7 Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
green
fa038738ca Also make the "other" packets counter resettable. 1999-08-28 07:20:59 +00:00
obrien
60dc0ad369 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
3822ec78b5 Back out the cdevsw_remove() from previous revision for further testing. 1999-08-28 07:06:11 +00:00