Commit Graph

40334 Commits

Author SHA1 Message Date
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
David E. O'Brien a462f21277 Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.
1999-08-28 11:46:53 +00:00
Nick Hibma d88879933b 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
Nick Hibma f748f71688 Share more between FreeBSD and NetBSD 1999-08-28 11:31:21 +00:00
David E. O'Brien d8f6a90a74 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
Nick Hibma 7e8893c9b4 Update the list of devices from NetBSD 1999-08-28 09:39:54 +00:00
Marcel Moolenaar 9e8b10d186 Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines. 1999-08-28 09:04:21 +00:00
Marcel Moolenaar 86f95e6b6d 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
David E. O'Brien c805b031d1 Fix conflicts. 1999-08-28 08:14:14 +00:00
Poul-Henning Kamp 9465bf4495 Initialize dev->si_bsize*, the floppy driver doesn't use dsopen(). 1999-08-28 08:10:13 +00:00
Roger Hardiman fc7998f35f Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
Brian Feldman 78f9020e95 Also make the "other" packets counter resettable. 1999-08-28 07:20:59 +00:00
David E. O'Brien 54e4f442da 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
Brian Feldman bbeaed0909 Back out the cdevsw_remove() from previous revision for further testing. 1999-08-28 07:06:11 +00:00