Commit Graph

119531 Commits

Author SHA1 Message Date
thorpej 31923baa46 Rather than zeroing a tcpcb structure and filling in all the fields
individually, create a tcpcb template pre-initialized (and pre-zero'd)
with the static and mostly-static tcpcb parameters.  The template is
now copied into the new tcpcb, which zeros and initializes most of the
tcpcb in one pass.  The template is kept up-to-date as TCP sysctl
variables are changed.

Combined with the previous sb_max change, TCP socket creation is now
25% faster.
2003-10-22 02:45:57 +00:00
fvdl eee926f0a9 Only declare intr_scan_bus if NIOAPIC > 0. 2003-10-22 01:53:49 +00:00
mycroft 98fb62de25 Add a code that appeared in a PR recently. 2003-10-22 00:35:41 +00:00
christos 55222ec4a6 Regen 2003-10-22 00:18:32 +00:00
christos c1ce37728d Remove backslash for new gawk 2003-10-22 00:17:39 +00:00
christos ddccf85c50 support for NE2000_TYPE_AX88790 from
Yong-Jhen Hong yongjhen at alqualonde dot org
2003-10-22 00:12:36 +00:00
christos 58507d43c3 PR/23219: Dan McMahill: Make this compile on system that don't have MAP_ANON.
Centralize the mmap allocations in a new function, xmapalloc() that handles
this.
2003-10-21 23:58:53 +00:00
fvdl e74e8c0c71 Correctly walk up the PCI bus tree to find an interrupt match with
a swizzled pin.
2003-10-21 23:25:48 +00:00
fvdl 80cec054e5 If a bus has not been configured by MPBIOS/ACPI, and the attach hook
for it is called, mark it as configured.
2003-10-21 23:22:52 +00:00
thorpej 4011fcfefd Cache the "adjusted" value of sb_max when sb_max is changed, in order
to avoid doing quad math in sbreserve().

Change suggested by Simon Burge, and code inspired by a similar change
in FreeBSD.
2003-10-21 22:55:47 +00:00
hannken 9dec5da8e8 Add section 9 man pages for:
vfs_write_suspend, vfs_write_resume, vn_start_write and vn_finished_write.
2003-10-21 22:01:24 +00:00
thorpej 861856caa0 Add event counters that measure FAST_MBSEARCH. 2003-10-21 21:17:20 +00:00
kleink 7d9835b758 Don't use NULL in integer-type assignments/comparisons. 2003-10-21 20:59:31 +00:00
skrll a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
matt e3e6938d92 Move bus.h to obsolete. 2003-10-21 17:32:35 +00:00
wiz 5dfa2a0877 There is also a 1.12 branch of cvs; note it. Mentioned by perry. 2003-10-21 17:19:13 +00:00
thorpej 3267ff8288 Add i82545GM and i82546GB controllers. 2003-10-21 17:10:00 +00:00
wiz f503e9a96b file-4.06 is out too. 2003-10-21 17:09:49 +00:00
wiz 583c3a6965 cvs-1.11.9 out. 2003-10-21 17:08:08 +00:00
tsutsui 4ec21ca21e Use proper macro instead of NULL. 2003-10-21 17:07:20 +00:00
tsutsui 680fc37c3b Remove declarations of constab[] and *cn_tab. They are in <dev/cons.h>. 2003-10-21 17:03:52 +00:00
thorpej 3e560e2b48 Add a TODO list item. 2003-10-21 16:52:08 +00:00
thorpej c50f2ac573 - Move the i82540EM (LOM) along with the other i82540 product IDs.
- Match the i82545GM (1000BASE-T and 1000BASE-X) and i82546GB
  (1000BASE-T and 1000BASE-X) product IDs.
2003-10-21 16:51:17 +00:00
thorpej a866babe44 If we're on PCI-X, look up the PCI-X capability. Verify that the
max memory read byte count in the command register is <= the max designed
memory read byte count in the status register.  If not, reset it to the
status register's value.  This is necessary because some BIOSes configure
the wrong value, and the wrong value confused some versions of the PCI-X
capable chips.
2003-10-21 16:41:51 +00:00
lukem 7675cc90f4 Move the MAKEVERBOSE setup from <bsd.sys.mk> to <bsd.own.mk>, and
change all the variable assignments from = to ?=
2003-10-21 16:36:58 +00:00
tsutsui 564931c4a5 - Use scsibus* at scsi?
- Use atabus* at ata?
- Use atapibus* atapi?
- Sort ATA/ATAPI device entries.
- Comment out aceride, piixide, siside, and viaide.
2003-10-21 16:28:20 +00:00
thorpej fa32a2cf94 - Since we access PCI config space as 32-bit words, redefine the PCI-X
command register bits offset and shifted appropriatly (PCI-X command
  makes up the upper 16 bits of the register that holds the PCI-X cap ID
  and next-cap-pointer).
- Define shift counts for max memory read byte count in the command
  and status registers.
2003-10-21 16:22:48 +00:00
wiz 4452a32353 Talk about LKMs instead of klds. /sys symlink is dead, so
use longer path for source files. Remove an unnecessary dot.
2003-10-21 16:21:55 +00:00
tsutsui e6a659ad96 The 6th argument to extent_create() is size_t, don't pass NULL in it. 2003-10-21 16:19:04 +00:00
tsutsui 281b9dfec6 vaddr_t is not pointer, so don't compare it against NULL. 2003-10-21 16:17:18 +00:00
tsutsui 62486dcbeb - Use one 'atabus* at ata?' instead of multiple 'atabus* at XXXide? channel ?'
- Comment out piixide. (can it be attached on cobalt?)
2003-10-21 15:09:19 +00:00
tsutsui bf4d10546f vaddr_t is not pointer, so don't compare it against NULL.
(BTW, should we also fix "NULL" in following printf messages?)
2003-10-21 15:05:56 +00:00
tsutsui fa49899d30 Add bswap64.c, required by options FFS_EI. 2003-10-21 14:49:00 +00:00
drochner e342c5fcb3 Explain the font loading example a bit better, to avoid a misunderstanding
which caused PR misc/21069.
2003-10-21 14:43:23 +00:00
itohy 29baf4fd02 white space police 2003-10-21 13:10:42 +00:00
itohy 173218ef29 Slightly change the base address so GENERIC kernel may boot (but not confirmed). 2003-10-21 12:43:19 +00:00
itohy 87bcaf3acc 1.2: Support disklabel. 2003-10-21 12:40:15 +00:00
itohy 3fd01cc3f8 Add -D__daddr_t=int32_t so that the arguments of IODC are
not promoted to 64bit.

On 32bit PDC machines, IODC *requires* 32bit args and IODC
can handle only 2GB, and need not to use 64bit integer.
2003-10-21 12:35:23 +00:00
itohy 59f09ea752 Fix types of printf() args to match the format strings. 2003-10-21 12:26:27 +00:00
itohy 76595c213b Enable disklabel support. 2003-10-21 12:24:11 +00:00
itohy d71dd6d1f4 #if 0 unused parts. 2003-10-21 12:22:37 +00:00
itohy a57f5d5d08 Use ../common/libsa.h for prototype declarations of common functions.
Add tgets prototype (should be in some header file?).
2003-10-21 12:21:05 +00:00
itohy 1bb2ee7654 Add prototypes. 2003-10-21 12:19:24 +00:00
itohy 9833e639a8 Add a prototype.
Silence -Wshadow.
2003-10-21 12:18:02 +00:00
kleink 004922cd70 Don't use NULL in integer-type assignments/comparisons. 2003-10-21 12:08:11 +00:00
agc c61c0de641 Fix integer/NULL confusion. 2003-10-21 12:02:32 +00:00
lukem 1d648e9064 add installboot 2003-10-21 11:35:55 +00:00
skrll ee632a37d0 more NULL fallout. 2003-10-21 10:47:48 +00:00
lukem 31903eec7b Add installboot. Suggested by Curt Sampson. 2003-10-21 10:08:40 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00