Commit Graph
20688 Commits
Author SHA1 Message Date
Jordan K. Hubbard 7f6a9c0a69 MFC: check to see if prp is null before dereferencing it. 2000-11-17 19:47:27 +00:00
Mark Murray 5c7b2d5ad3 Add "standard" ioctl's so that userland programs (notably BIND9)
get better blocking semantics. This update does virtually nothing
except for providing better returns to ioctl() calls.

OK'ed by:	jkh
2000-11-17 06:17:44 +00:00
Bill Paul 1ce5c27e17 MFC: do not allow pcn_probe() to put the chip into 32-bit mode, else
we could hose the lnc driver when we reject a chip that the lnc driver
wants. (Once in 32-bit mode, only a hardware reset can restore 16-bit
mode.)

Ok'ed by: jkh
2000-11-17 00:35:19 +00:00
Archie Cobbs 96003f3bfe MFC: new netgraph node type ng_one2many(4).
Approved by:	jkh
2000-11-16 17:28:32 +00:00
Eivind Eklund 2f3e976316 MFC: More overflow checking. This patch is ugly, but it works. A better fix
will come later.

Approved by:	jkh
2000-11-16 13:50:00 +00:00
Søren Schmidt 14f1d91520 Put the probe verboseness behind bootverbose
Approved by: jkh
2000-11-16 10:52:26 +00:00
Yoshihiro Takahashi caa554eded MFC: Initialize bus_space_handle_t with zero.
Approved by:	jkh
2000-11-16 09:30:57 +00:00
cvs2svn 02effd650a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-16 05:58:34 +00:00
Jonathan Lemon 6450c97eaf MFC: r1.15, match against both vendor and subvendor.
Approved by: jkh
2000-11-15 23:01:52 +00:00
cvs2svn dbdfb8426c This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-15 22:53:03 +00:00
Justin T. Gibbs bc78c42408 MFC: Only tear down scb_data when it exists. This prevents a panic when
reporting parity engine chips.

Approved by:	jkh
2000-11-14 04:56:52 +00:00
Søren Schmidt 0bac9ea514 MFC:
Better handling of immediate commands, mainly to solve timeouts
in the atapi-tape code...

Approved by: jkh
2000-11-13 08:22:07 +00:00
Søren Schmidt 3796cca4ca MFC:
Only offset raid disks > 1 on the HPT, this should solve the
boot problems..
However this demands that dangerously dedicated disks use an
offset of at least 10 from the start to not overwrite the
raid config sector on the HPT...

Approved by: jkh
2000-11-13 08:21:26 +00:00
Søren Schmidt a867ada0ba MFC:
Fix the probing problems that caused lost slaves etc..

Approved by: jkh
2000-11-13 08:20:40 +00:00
David Greenman 3fd243ed59 Merged rev 1.76: Fix for a page not busy panic when an IO error occurs. 2000-11-13 07:15:44 +00:00
Justin T. Gibbs 9b7f5e33d0 MFC: Only attempt to clear SCSIBUSL on Ultra2 controllers. The
clearing is workaround for a selection timeout bug on U2/U160
     controllers and happens to be illegal on aic7770 (EISA/VL) controllers.

Approved by:	jkh
2000-11-12 07:32:37 +00:00
Matthew Dillon 2153601e2d MFC 1.68 - fix softupdates crash when quota exceeded
Approved by: jkh
2000-11-11 20:14:03 +00:00
Bruce Evans d9d49643b7 MFC (1.6: quick fix for not writing group descriptor group, inode
bitmaps or block bitmaps before unmount() completes).

PR:		22726
2000-11-11 13:14:15 +00:00
Pierre Beyssac c598d32e2a MFC: Add missing delay after card reset.
This fixes random lockups when probing the card at boot time, when
more than 1 similar card is found in the machine.

Approved by:	jkh
2000-11-11 01:34:17 +00:00
Yoshihiro Takahashi 71bcec5ecc MFC: The fe driver does not support pnp devices.
Approved by:	jkh
2000-11-11 00:03:27 +00:00
Hajimu UMEMOTO de226580da MFC 1.7->1.8: backout my previous commit (KAME PR 296). foo != TUNNEL will
forbid "ANY" SA from being used for tnunel mode.
2000-11-10 08:33:07 +00:00
Søren Schmidt 88ed042b3e MFC:
Fix the missing slave problem, rearrange reset code a bit to
allow all ATAPI devices to reset proberly.

Approved by: jkh
2000-11-09 10:47:29 +00:00
Justin T. Gibbs 25bca4fc11 MFC: Fix potential corruption of the QINFIFO due to an 8bit math botch.
Approved by:	jkh
2000-11-08 14:51:03 +00:00
Mike Smith dcb2aa55b7 MFC: hack to work around lockup with i450GX chipsets in some systems.
PR:		i386/20379
Submitted by:	Masayuki FUKUI <[email protected]>
Approved by:	jkh
2000-11-08 11:26:22 +00:00
Marcel Moolenaar 32cacb342f MFC rev 1.43: Fix linux_getdents syscall.
Approved by: jkh
2000-11-08 02:38:24 +00:00
Alfred Perlstein 3ab32b5b73 Document System V IPC tunables.
Approved by: jkh
2000-11-08 00:30:05 +00:00
Alfred Perlstein d090045f9d Make /proc/<pid> appear as a directory rather than a regular file.
MFC: 1.85
Approved by: jkh
2000-11-07 23:40:07 +00:00
Semen Ustimenko b44ae9ed6b tx(4) driver moved to the list of using miibus.
PR:		kern/22556
2000-11-07 20:28:23 +00:00
John Baldwin 629f76a0c4 MFC: The Number of Fixed Disks BIOS variable is a byte, not a short.
Approved by:	jkh
2000-11-07 19:17:08 +00:00
Alfred Perlstein e2ed922ae2 Don't get stuck mapping past the end of objects or objects of zero length.
MFC: 1.264
2000-11-07 18:32:15 +00:00
Matthew Dillon 32e4857d89 MFC 1.73. Cannot do MALLOC while holding ACQUIRE_LOCK.
Approved by: jkh
2000-11-07 16:15:40 +00:00
Ruslan Ermilov a26a9b88d2 MFC: (rev 1.149) fixed the IP_FW_ADD security breach.
Approved by:	jkh
2000-11-07 09:50:58 +00:00
Hajimu UMEMOTO 1b32b7c058 MFC 1.44->1.45: Make compilable. if_fddisubr.c depended on
sys/malloc.h by my previous commit.

Approved by:	jkh
2000-11-07 07:41:12 +00:00
Mike Smith 3a6eae71c4 MFC: ignore resources with a size of 0.
Thanks to Ceren Ercen of Linuxcare Labs for testing this on an IBM
X20 (the problem system in the original report).

Submitted by:	Masayuki FUKUI <[email protected]>
2000-11-07 05:53:55 +00:00
Bruce Evans 0683627c64 MFC (pass the correct inode number to VFS_VGET() for mknod()).
Approved by:	jkh
2000-11-07 03:09:52 +00:00
Dag-Erling Smørgrav 10f272178c MFC: check that p->p_pptr is not NULL.
Approved by:	jkh
2000-11-06 03:24:10 +00:00
Bruce Evans 319d05c53e MFC (support filesystems with the not-so-new "sparse_superblocks"
feature).

Approved by:	jkh
2000-11-05 19:17:40 +00:00
David E. O'Brien 5d6100f467 MFC: rev 1.16 (SHRT_MIN definition was 4 bits too long)
Approved by:	JKH
2000-11-05 09:21:42 +00:00
Marcel Moolenaar e43fc423f2 MFC rev 1.46: Fix parallel build breakage
Approved by: jkh
2000-11-05 07:41:42 +00:00
Søren Schmidt 29df81fde3 Restore the dump fix Paul Saab introduced in 1.60.2.7 and that I
accidently removed in the MFC, sorry about that...

Approwed by: jkh
2000-11-04 23:04:52 +00:00
Søren Schmidt 19f40184c5 MFC:
Fix probing of CMD646 controllers..
Dont allow DMA on broken HW.

Approved by: jkh
2000-11-04 12:33:17 +00:00
Julian Elischer 0e3f021f45 MFC: 1.30-1.31
Swap the order of two tags in the PADI and PADS packets to
use the same order aa usoft. We shouldn't need to do this but telstra
have deployed switches (from an unknown supplier) which seem to have
been only tested with usoft and require the tags in a particular order,
despite the fact that teh standard doesn't specify any order.

MFC ok'd by jkh.
2000-11-04 08:23:16 +00:00
David E. O'Brien 46cf413b53 MFC: declare a module version so the `linux' module has a way to depend on
the osf1 module.

Approved by:	JKH
2000-11-04 07:35:46 +00:00
David E. O'Brien cc0970ff4b MFC: have `linux' module on Alpha too.
Approved by:	JKH
2000-11-04 07:32:31 +00:00
David E. O'Brien 4c90f9e0ee MFC: AlphaLinux compat support.
Approved by:	JKH
2000-11-04 07:30:08 +00:00
cvs2svn 481ac9c630 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-04 07:21:38 +00:00
Mike Smith 32aa00d05a MFC: don't drop I/O when we run out of controller commands, queue it
instead.

Approved by:	jkh
2000-11-04 03:12:46 +00:00
Hajimu UMEMOTO c8f860d19c MFC 1.6->1.7: check whether the packet is tunnel mode.
reported from <[email protected]>

Approved by:	jkh
2000-11-03 16:16:51 +00:00
Boris Popov 060055a197 MFC: Add PDIRUNLOCK flag which should be set by filesystem if it unlocks
parent vnode in its lookup() function. nfs and ex2fs left untouched in this
pass.

Requested by:	assar
Approved by:	jkh
2000-11-03 15:55:49 +00:00
David E. O'Brien 90e8665be1 Remove a stay include.
Approved by:	JKH
2000-11-03 13:11:18 +00:00