Commit graph

101405 commits

Author SHA1 Message Date
Peter Edwards ae00154c4b 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
Peter Edwards 1630ff08a3 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
Yoshihiro Takahashi 55fda92f91 Fix pc98 build. 2004-04-11 09:13:42 +00:00
Joe Marcus Clarke 8589938ec4 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
Warner Losh e3d5128493 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
Warner Losh 565e9d9bc4 Move advise from DEVICE_PROBE.9 about where to probe children. 2004-04-11 06:37:50 +00:00
Alan Cox 4e67150a95 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
Warner Losh a545630488 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
Alan Cox 1f51408ade Remove avail_end. It is not used. 2004-04-11 06:02:24 +00:00
Tim J. Robbins 78c4a3f225 Document the meaning of the zero return value. 2004-04-11 05:19:19 +00:00
Alan Cox bf5a327d5e Remove avail_end. It is not used. 2004-04-11 05:08:26 +00:00
Alan Cox 2c38d78e41 - 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
Ken Smith 0fbd2da9c2 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
Alan Cox 0af0eeacb6 - 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
Alan Cox b14d6acced - 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
Brian Feldman 87bd2f457b Document devfs_set_rulesets a little. 2004-04-10 22:13:27 +00:00
Hiroki Sato 603177d659 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 Moolenaar 6292a18603 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
Alexander Kabaev f5de1edad3 Fix module build during buildworld with MODULES_WITH_WORLD defined. 2004-04-10 19:41:15 +00:00
Olivier Houchard b14ec32eb0 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
David Xu 6464650388 Fix a typo. I was locked out for two days from my machine. 2004-04-10 14:36:57 +00:00
Maxime Henrion 4ddd1e65d4 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
Vinod Kashyap b64d6f9ac2 Changed comments following changes to not bundle firmware by default.
Approved by: re
2004-04-10 02:41:22 +00:00
Bruce Evans 85f5fe4183 Fixed unformatting of copyright clause 4 in previous commit. 2004-04-10 02:22:35 +00:00
Scott Long 2f0fecd7ab 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
Tim J. Robbins fa02ee78c8 Don't cast away const qualifiers.
Spotted by:	bde
2004-04-10 00:27:52 +00:00
Maksim Yevmenkin 6490c2ffab 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
Maksim Yevmenkin 079a8a3e69 Use uint instead of u_int 2004-04-09 23:58:53 +00:00
Maksim Yevmenkin 2f122b6e8a Use uint instead of u_int 2004-04-09 23:26:16 +00:00
Maksim Yevmenkin 4ae439a316 Make sure Bluetooth stuff can be compiled on amd64
Submitted by:	ps
2004-04-09 23:01:42 +00:00
Warner Losh bbecd97c0b 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
Mark Murray d1006b25a9 The previous clause 3 commit was also
Approved by:	scottl
Thanks to:	scottl
2004-04-09 20:34:51 +00:00
Mark Murray 4c723140a4 Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp
2004-04-09 19:58:40 +00:00
Nate Lawson 64278df5e0 Add MODULE_DEPEND entries so some of these drivers can eventually be
loaded separately from ACPI (i.e., embedded use).
2004-04-09 18:14:32 +00:00
Scott Mitchell 57c5e42ae8 Band-aid fix to extract MAC address from some CEM2/CEM28 cards with broken
CIS.  Really needs a better interface to the CIS in pccard driver.

Reviewed by:	imp (mentor)
2004-04-09 17:34:54 +00:00
Maxime Henrion 1aefe0e32e Backout previous commit. It seems this comment applied to something
else than I thought, and thus really needs to go away.

Noticed by:	ru
2004-04-09 17:30:26 +00:00
Scott Mitchell 9d613ae626 Fix probe routine to use card IDs from pccarddevs for NEWCARD and OLDCARD.
Should now correctly probe and attach all supported cards in either mode.

Reviewed by:	imp (mentor)
2004-04-09 17:27:36 +00:00
Maxim Konovalov 14533a98b9 o Fix an incorrect parsing of 0.0.0.0/0 expression.
PR:		kern/64778
MFC after:	6 weeks
2004-04-09 17:26:01 +00:00
Scott Mitchell 24c8ae76c2 Add Xircom XEM5600 card (appears to be a renamed REM56).
Observe that Xircom CEM28 and CEM33 are known to work in Ethernet mode.

Reviewed by:	imp (mentor)
2004-04-09 17:15:18 +00:00
Scott Mitchell 5c4d21fc1d Sync to pccarddevs 1.83
Reviewed by:	imp (mentor)
2004-04-09 17:10:12 +00:00
Scott Mitchell caba814ad6 Add Xircom XEM5600 and known versions of CE2, CEM33 and CEM56.
Xircom had an unfortunate habit of re-using PCMCIA IDs for quite different
cards - the xe driver knows about this and uses the first byte of 'extra'
PCMCIA ID info to identify cards with ambiguous IDs.

Reviewed by:	imp (mentor)
2004-04-09 17:08:12 +00:00
Mark Murray 4ebf3fc96b I hate noticing bugs after committing. :-(
ALWAYS set up the CPU base identity string. THEN optionally
add features.
2004-04-09 17:00:03 +00:00
Maxim Konovalov efccc7dc25 o SIOCGIFCONF->getifaddrs(2) conversion.
PR:		bin/9379
Obtained from:	NetBSD
2004-04-09 16:59:05 +00:00
Mark Murray e89e6a3c11 Document the recent upgrade to the entropy device WRT hardware
generators.
2004-04-09 16:02:54 +00:00
Mark Murray 37c79b8006 Take into account hardware-supplied entropy. If the entropy source
is hardware, the Yarrow initialisations don't need to be done.
2004-04-09 15:56:16 +00:00
Mark Murray e7806b4c0e Reorganise the entropy device so that high-yield entropy sources
can more easily be used INSTEAD OF the hard-working Yarrow.
The only hardware source used at this point is the one inside
the VIA C3 Nehemiah (Stepping 3 and above) CPU. More sources will
be added in due course. Contributions welcome!
2004-04-09 15:47:10 +00:00
Warner Losh cd8b53ed2d Omnibus PCI commit:
o Save and restore bars for suspend/resume as well as for D3->D0
	  transitions.
	o preallocate resources that the PCI devices use to avoid resource
	  conflicts
	o lazy allocation of resources not allocated by the BIOS.
	o set unattached drivers to state D3.  Set power state to D0
	  before probe/attach.  Right now there's two special cases
	  for this (display and memory devices) that need work in other
	  areas of the tree.

Please report any bugs to me.
2004-04-09 15:44:34 +00:00
Peter Edwards 24554d00bc Plug minor memory leak of module_t structures when unloading a file
from the kernel.

Reviewed By: Doug Rabson (dfr@)
2004-04-09 15:27:38 +00:00
Mark Murray c97ed2df4e Add extra output to show when VIA C3 Nehemiah CPUs have hardware
Random Number Generator (RNG) and/or Advanced Cryptography Engine
(ACE).
2004-04-09 15:01:44 +00:00
Olivier Houchard d50c87decf Spell "switches" a more conventional way. 2004-04-09 14:31:29 +00:00