Commit Graph

101379 Commits

Author SHA1 Message Date
alc
643a21e287 Use vm_page_hold() rather than vm_page_wire() for short-duration page
wiring.  The reason being that vm_page_hold() is cheaper.
2004-04-11 19:57:11 +00:00
imp
a0e860ef19 Frank Mayhar's <frank@exit.com> sx driver for older Specialix
I/O8+ and I/O4+ intelligent serial controllers.  si is for
completely different hardware, also made by Specialix.
2004-04-11 19:32:20 +00:00
ru
3f9b8e99a0 Implemented per-interface polling(4) control. 2004-04-11 19:25:56 +00:00
imp
7764e9e2f9 Add note about why we're ignoring the below 1MB bit. 2004-04-11 19:22:25 +00:00
ru
a93512febd Fixed resetting of the watchdog timer and queue full flag. 2004-04-11 18:28:14 +00:00
mlaier
d2fa2c987e Commit import of OpenBSD-stable fix:
Fix by dhartmei@ and mcbride@
 1.433
 Properly m_copyback() modified TCP sequence number after demodulation
 1.432
 Fix icmp checksum when sequence number modlation is being used.
 Also fix a daddr vs saddr cut-n-paste error in ICMP error handling.

 Fixes PR 3724

Obtained from:	OpenBSD
Reviewed by:	dhartmei
Approved by:	rwatson
2004-04-11 17:35:40 +00:00
marcel
6dbee1d482 Unbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/g 2004-04-11 17:15:36 +00:00
rwatson
f8b24f78ad In 4.x, if_ipending is used to track network interrupt state. In 5.x,
it is no longer used, so GC the ifnet.if_ipending field.
2004-04-11 16:35:53 +00:00
rsm
8c727ff7fc Stop xe claiming ownership of every card passed to xe_pccard_match.
Found by:	Pete Carss <itinerant at mac dot com>
Reviewed by:	imp (mentor)
Pointy hat to:	rsm
2004-04-11 16:34:29 +00:00
rwatson
64b26340c2 Compare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,
which was almost certainly a bug since polling support was introduced
in this driver.

Found during discussion with:	mlaier
2004-04-11 16:26:39 +00:00
ru
88016a0d08 Implemented per-interface polling(4) control. 2004-04-11 16:23:16 +00:00
marcel
3085115018 Include nehemiah.c only on i386, as is done for the non-modules
build.
2004-04-11 15:40:18 +00:00
ru
57c7179066 Implemented per-interface polling(4) control. 2004-04-11 15:35:49 +00:00
ru
2ffc7fc147 Implemented per-interface polling(4) control. 2004-04-11 15:18:09 +00:00
ru
7da0b60b17 Implemented per-interface polling(4) control. 2004-04-11 14:42:25 +00:00
hrs
05be2b63a6 New release note:
04:06.ipv6.
2004-04-11 14:19:36 +00:00
ru
ba67628e61 First driver with user-configurable polling(4). 2004-04-11 13:47:15 +00:00
ru
04fb5a0de8 Document that -m also causes the capability list to be displayed. 2004-04-11 13:44:57 +00:00
ru
dd9ed98446 Added the new interface capability option for drivers that implement
user-configurable polling(4) support.  Make ifconfig(8) aware of it.

Suggested by:	luigi
2004-04-11 13:36:52 +00:00
peadar
7ddbd99725 Don't let the NFS server module be unloaded as long as there are
nfsd processes running

Reviewed By:	iedowse
PR:		16299
2004-04-11 13:33:34 +00:00
peadar
9bb40b73ee Clean up properly when unloading NFS client module.
This includes a modified form of some code from Thomas Moestl (tmm@)
to properly clean up the UMA zone and the "nfsnodehashtbl" hash
table.

Reviewed By:	iedowse
PR:		16299
2004-04-11 13:30:20 +00:00
nyan
3341cc4adb Fix pc98 build. 2004-04-11 09:13:42 +00:00
marcus
a095bff878 Move en_CA from US_LINKS to GB_LINKS.
Submitted by:	adamw
Approved by:	ache
Committed by:	me since adamw should be studying for exams
2004-04-11 08:07:22 +00:00
imp
a85109257a Add system tunable to turn off power state changes. Default to off until
we get the resource allocation stuff hammered out.

Fix and off by one error that caused unnecessary filtering of valid
BARs for only 4 bytes than ICH3 and other PCI IDE controllers have.
Andrew Gallatin submitted this, although it doesn't solve the problems
ICH3 controllers have with the new code, it does restore the former
resource list on the probe line.
2004-04-11 07:02:49 +00:00
imp
3b454c223a Move advise from DEVICE_PROBE.9 about where to probe children. 2004-04-11 06:37:50 +00:00
alc
b3d75fb6f4 Remove a comment that refers to avail_start and avail_end as these
variables no longer exist.
2004-04-11 06:37:36 +00:00
imp
c52b25a0e5 Document more clearly that a probe routine:
Should have no side effects
	Must not hold resources when it returns
	May be called multiple times if it returns < 0.

Remove the bad advise that the probe routine should look for children
for devices that implement busses.  This is more properly reserved for
the attach routine.
2004-04-11 06:37:21 +00:00
alc
0f6d9cd13e Remove avail_end. It is not used. 2004-04-11 06:02:24 +00:00
tjr
e768e0d54f Document the meaning of the zero return value. 2004-04-11 05:19:19 +00:00
alc
39f4094512 Remove avail_end. It is not used. 2004-04-11 05:08:26 +00:00
alc
ec17c32ba1 - is_physical_memory()'s parameter, which is a physical address, should be
a vm_paddr_t not a vm_offset_t.
2004-04-11 04:26:58 +00:00
kensmith
4bf1bbd329 Fix kernel build instructions to be correct for 5.X.
PR:		docs/65397
Submitted by:	Russell Francis <rf358197 (at) ohio.edu>
2004-04-11 03:30:09 +00:00
alc
f93d7d4240 - pmap_kenter_temporary()'s first parameter, which is a physical address,
should be declared as vm_paddr_t not vm_offset_t.
2004-04-10 23:28:49 +00:00
alc
c380417937 - pmap_kenter_temporary() is unused by machine-independent code. Therefore,
move its declaration to the machine-dependent header file on those
   machines that use it.  In principle, only i386 should have it.
   Alpha and AMD64 should use their direct virtual-to-physical mapping.
 - Remove pmap_kenter_temporary() from ia64.  It is unused.  Approved
   by: marcel@
2004-04-10 22:41:46 +00:00
green
6ccd44aa20 Document devfs_set_rulesets a little. 2004-04-10 22:13:27 +00:00
hrs
b7645a3796 New release note:
VIA C3 Nehemiah's hardware RNG support,
	nge(4) VLAN support bugfix,
	rl(4) polling support bugfix,
	ste(4) and vr(4) polling support,
	twa driver,
	bsdlabel(8) -f option,
	bthidcontrol and bthidd for Bluetooth HID,
	doscmd removed,
	fdcontrol(8), fdformat(1), and fdread(1) now work on FreeBSD/pc98,
	find(1) -acl option,
	UTF-8 versions of the supported system locales,
	netstat(1) now displays the multicast group memberships,
	pgrep(1) and pkill(1),
	ps(1) supports more POSIX/SUSv3 compatible options,
	Heimdal Kerberos 0.6 -> 0.6.1,
	libpcap 0.7.1 -> 0.8.3,
	OpenSSL 0.9.7c -> 0.9.7d, and
	tcpdump 3.7.1 -> 3.8.3.

Update release note:
	Sort ctau(4) entry in the alphabetical order.
2004-04-10 20:44:11 +00:00
marcel
432ebac630 Unbreak alpha kernel build and unbreak any non-i386 runtime brokenness.
The VIA Nehemias is so obviously specific to i386 that it should not
be compiled on non-i386 platforms. The obviousness is in the fact that
all functions in nehemias.c are purely i386 inline assembly, guarded
by #ifdef __i386__
2004-04-10 19:43:15 +00:00
kan
9ec94342bd Fix module build during buildworld with MODULES_WITH_WORLD defined. 2004-04-10 19:41:15 +00:00
cognet
59e9d5b09d Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
people reported.

PR:		kern/62864
Tested by:	Putinas Piliponis <putinas.piliponis at icnspot.net>
2004-04-10 15:38:49 +00:00
davidxu
289170412b Fix a typo. I was locked out for two days from my machine. 2004-04-10 14:36:57 +00:00
mux
74cb325f5e Remove a comment that complains about the lack of %qd, to justify
truncating a rlim_t to a long.  We have %qd since some time now.
However, the correct format to use here is %jd and a cast to
intmax_t, so do this.
2004-04-10 11:08:16 +00:00
vkashyap
2446732eb0 Changed comments following changes to not bundle firmware by default.
Approved by: re
2004-04-10 02:41:22 +00:00
bde
5a496233ec Fixed unformatting of copyright clause 4 in previous commit. 2004-04-10 02:22:35 +00:00
scottl
d66e795a25 Don't include the firmware image by default as it adds 500k (uncompressed) to
the module.

Reviewed by:	vinod
2004-04-10 02:00:47 +00:00
tjr
17077e5ae6 Don't cast away const qualifiers.
Spotted by:	bde
2004-04-10 00:27:52 +00:00
emax
043ec21649 Start committing Bluetooth HID (Human Interface Device) support.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.
2004-04-10 00:18:00 +00:00
emax
96b75c2267 Use uint instead of u_int 2004-04-09 23:58:53 +00:00
emax
16d558884f Use uint instead of u_int 2004-04-09 23:26:16 +00:00
emax
3513d3a4bf Make sure Bluetooth stuff can be compiled on amd64
Submitted by:	ps
2004-04-09 23:01:42 +00:00
imp
fd167b36d8 Only print state change message for real state changes. When we set a
device in D0 to D0, that's a no-op, however the messages seem to be
confusing some people.  Eventually, these messages will be parked
behind a if (bootverbose).

# I don't think this will fix any real bugs...
2004-04-09 20:41:18 +00:00