Commit Graph

115382 Commits

Author SHA1 Message Date
darrenr
56966568e9 Not looking for ipfilter source files in the right place 2005-04-26 15:35:50 +00:00
darrenr
c7e59108a8 Fix include directives that were missing the netinet include directory, where
the ipl.h file is found.  Also add back in ip_fil.c, which somehow went missing
in action.
2005-04-26 15:18:45 +00:00
mux
a985d1fd69 Use __func__ throughout devstat.c instead of defining a func_name
variable in each function.
2005-04-26 15:02:01 +00:00
ume
0d480fe6c9 add IPv6 awareness for NIS query of gethostby*().
Inspired by:	NetBSD
2005-04-26 14:55:47 +00:00
mux
f213c67ee0 Make this compile with GCC4 by fixing a signedness issue.
Reviewed by:	md5(1)
2005-04-26 14:51:09 +00:00
darrenr
6941302010 Fix problems with building libipf:
ipf_dontuning.c - change the include to look in netinet for ipl.h
ipft_tx.c - make the private use of arrays with tcp flags info in them more
            not use names that can be "confusing"
2005-04-26 14:27:12 +00:00
mux
97a7651af8 Make this compile with GCC4 by fixing a few signedness related warnings.
Reviewed by:	md5(1)
2005-04-26 14:25:11 +00:00
scottl
5e7fbbbdc2 Remove an extra mutex unlock in the morpheus interrupt handler.
PR: 80246
Submitted by: Dean Strik
MFC After: 3 days
2005-04-26 13:38:29 +00:00
rwatson
d465b82a7c Add 'curcpu', a shortcut to the current CPU ID, similar to curthread,
curproc, et al.  Useful for indexing into per-CPU data structures.

MFC after:	2 weeks
2005-04-26 13:15:49 +00:00
pjd
5745532ed1 Fix stripe size in example.
Found by:	kris
MFC after:	3 days
2005-04-26 09:23:21 +00:00
sos
ab882dca1f Fix a bug introduced in r1.89 thats caused leak of requests, and possibly
bogus data to be written.
2005-04-26 06:42:33 +00:00
scottl
8392ca289b Conditionalize the ipfilter header files on NO_IPFILTER. While normally these
should be harmless, the kdump(1) build does evil things with collecting
system header files, and thus would unconditionally collect and process these.

MFC After: 3 days
2005-04-26 02:01:39 +00:00
wpaul
9c27269632 Remove the extra EEPROM reload step I added before. vge_reset()
already does this anyway.
2005-04-25 23:26:20 +00:00
scottl
72524cc1b2 Apply a torniquet to the problem of the drive unexpectedly disconnecting
during a data phase.  Before, we would try to recover the autosense, but
the DMA engine would still be active with interrupted transfer, and we'd
quickly spiral out of control and cause massive data corruption.  For now,
just reset the chip and cancel everything.  The better solution is to
cancel the DMA operation, but there is no clear way to do that right now.
The data corruption problem is severe enough to warrant this fix in the
interim.  Thanks to Kris Kenneway to sacrificing countless filesystems to
this bug.

MFC After: 3 days
2005-04-25 22:11:43 +00:00
scottl
2bfa5b0850 Remove the ACPI_MAX_THREADS option. 2005-04-25 19:59:09 +00:00
kris
69fffa3c93 Add the vm.exec_map_entries tunable and read-only sysctl, which controls
the number of entries in exec_map (maximum number of simultaneous execs
that can be handled by the kernel).  The default value of 16 is
insufficient on heavily loaded machines (particularly SMP machines), and
if it is exceeded then executing further processes will generate a SIGABRT.

This is a workaround until a better solution can be implemented.

Reviewed by:	alc
MFC after:	3 days
2005-04-25 19:22:05 +00:00
darrenr
671e5d7cb6 this file does not belong in a freebsd distribution 2005-04-25 19:15:19 +00:00
darrenr
5af396fa8e all the ipfilter tools are now built from sbin/Makefile, so remove them from
this Makefile.
2005-04-25 19:04:12 +00:00
darrenr
dd36a887d6 Remove directories no longer used for building ipfilter tools 2005-04-25 19:02:05 +00:00
darrenr
8d4b1e38ea remove old directories used to build ipfilter tools 2005-04-25 18:59:29 +00:00
darrenr
1cd27551f9 There's only one ipfilter directory now 2005-04-25 18:56:42 +00:00
darrenr
0010fa7c21 create a new build heirarchy for ipfilter tools 2005-04-25 18:55:52 +00:00
darrenr
b4b1fd25b4 new files and compile defines to build new ipfilter 2005-04-25 18:46:00 +00:00
darrenr
212987c6c2 Merge the changes from 3.4.35 to 4.1.8 into the kernel source tree 2005-04-25 18:43:14 +00:00
wpaul
c66cc39233 Correct the if_link_state_change() logic: when the link went down,
if_link_state_change() reported link up, and when the link went up,
if_link_state_change() reported link down. These should be swapped.
2005-04-25 18:37:27 +00:00
wpaul
06ecb5ca5d Reading the EEPROM to learn the station address doesn't seem to work
on boards with VIA gigE controllers that are embedded in VIA chipsets.
Presumably, they don't have an external EEPROM and store the MAC
address somewhere else. To get around this, force an autoload and
read the station address from the RX filter registers instead.
This has been tested to work on both embedded and standalone
controllers.
2005-04-25 18:29:42 +00:00
darrenr
d643bc9db0 * Someone imported a lot of files with the wrong CVS tag, so lots of files need
that fixed in them....
* Keep unnecessary files out of the non-vendor part of this CVS repository.
2005-04-25 18:20:15 +00:00
darrenr
f9c93115b7 This commit was generated by cvs2svn to compensate for changes in r145516,
which included commits to RCS files with non-trunk default branches.
2005-04-25 18:15:41 +00:00
darrenr
28f64fe3ce import ipfilter 4.1.8 into the kernel source tree 2005-04-25 18:15:41 +00:00
ru
ab3a904906 Allow BOOT_BOOT0_COMCONSOLE_SPEED to be derived from BOOT_COMCONSOLE_SPEED
at compile time.
2005-04-25 17:41:35 +00:00
darrenr
15f9876206 This commit was generated by cvs2svn to compensate for changes in r145513,
which included commits to RCS files with non-trunk default branches.
2005-04-25 17:40:37 +00:00
ume
c5b4993c85 ensure parsing numeric address before any host query.
Inspired by:	NetBSD
2005-04-25 17:36:28 +00:00
darrenr
1c27d898b4 This commit was generated by cvs2svn to compensate for changes in r145510,
which included commits to RCS files with non-trunk default branches.
2005-04-25 17:31:50 +00:00
darrenr
d438802dcb import ipfilter 4.1.8 into the vendor branch 2005-04-25 17:31:50 +00:00
bmah
4a018e38da New release note: SA-05:05.cvs.
MFCs noted:  restore(8) of FreeBSD 1 images, syslog(8) expanded
hostname specifications.
2005-04-25 15:32:58 +00:00
ume
2b87c6fe2c remove unused variable. 2005-04-25 14:52:13 +00:00
den
e4504e06f6 Merge the following from the English version:
1.5 -> 1.7 hardware/common/artheader.sgml
   1.276 -> 1.278 hardware/common/dev.sgml

Update also Russian override of dev-auto.sgml

Obtained from:	The FreeBSD Russian Documentation Project
2005-04-25 12:22:25 +00:00
pjd
93f62be898 Fix provider's size check for 'insert' command.
Before this fix one was able to insert one sector too small provider.

MFC after:	3 days
2005-04-25 10:41:26 +00:00
bz
cd218c4d5b Deal with failed malloc calls[1].
While there also check for failed device_add_child calls.

Found by:	Coventry Analysis tool[1].
Submitted by:	sam[1]
Approved by:	pjd (mentor)
MFC after:	1 week
2005-04-25 10:18:24 +00:00
mlaier
2773327829 Typeo.
Submitted by:	Emil Mikulic
2005-04-25 10:14:26 +00:00
sos
0841bd55a7 Cosmetics 2005-04-25 07:57:04 +00:00
sos
59f595842e Only try to allocate and use the SATA resource if they are enabled
by the BIOS. It seems some BIOS's doesn't get this right, and that would
result in ATA panic'ing.
2005-04-25 07:50:51 +00:00
phk
dbbbd2e74d Retire the musycc E1/T1 driver 2005-04-25 07:08:42 +00:00
phk
53791e11bf retire the musycc E1/T1 driver. 2005-04-25 07:07:50 +00:00
njl
d21976d9b1 Remove obsolete option.
MFC after:	1 day
2005-04-25 06:24:19 +00:00
jeff
08d28c599c - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never
be NULL and we will always leak mrep in the error case.

Submitted by:	 Greg Taleck <gtaleck@isilon.com>
2005-04-25 05:11:19 +00:00
delphij
ffa9d252ae Remove unused file.
Confirmed by:	tjr [1]

[1] PERFORCE CHANGESET 57044:
	http://perforce.freebsd.org/changeView.cgi?CH=57044
2005-04-25 02:29:03 +00:00
mdodd
56c42039a5 Add missing break.
Found by:	marcus
2005-04-25 00:48:04 +00:00
kientzle
3747e27470 Update zconf.h and gzio.c with changes from ZLib 1.2.1 to ZLib 1.2.2.
These are two of the three files that have non-trivial differences from
the vendor branch.  minigzip.c is the third, but there were no changes
from ZLib 1.2.1 to ZLib 1.2.2 in that file.

The rest of the files I intend to get reverted back to the vendor
branch (with cooperation of cvsadmin@).

PR:		i386/76294
2005-04-24 22:04:34 +00:00
bz
565fffc820 Document sysctl introduced with if_sk.c rev. 1.101.
Add D-Link DGE-530T to list of supported hardware.

Reviewed by:	ru (initial version), simon (updated version)
Approved by:	pjd (mentor)
2005-04-24 20:26:09 +00:00