Commit Graph

114328 Commits

Author SHA1 Message Date
imp
223ab51d57 pcvt doesn't exist on pc98, so don't build pcvt routines that have no
value.
2005-04-01 00:32:45 +00:00
imp
2512e77ee2 There's no acpi in pc98 machines, nor do we build it into the kernel.
Therefore, don't build the acpi userland binaries either.

OK'd by: nate
2005-04-01 00:30:42 +00:00
cperciva
c79e1b8857 Note the passing of Cameron Grant <cg@FreeBSD.org>.
Approved by:	quiet1
2005-03-31 23:15:14 +00:00
jhb
9a05f70ede Use kern_settimeofday() to avoid stackgap use. 2005-03-31 22:58:37 +00:00
jhb
f900e92372 - Use a custom version of copyinuio() to implement readv/writev using
kern_readv/writev.
- Use kern_settimeofday() and kern_adjtime() rather than stackgapping it.
2005-03-31 22:58:13 +00:00
jhb
e8e02eb33f - Use a custom version of copyinuio() to implement readv/writev using
kern_readv/writev.
- Use kern_sched_rr_get_interval() rather than the stackgap.
2005-03-31 22:57:21 +00:00
jhb
e0e3be6570 Use a custom version of copyinuio() to implement osf1_{read,write}v() via
kern_{read,write}v().
2005-03-31 22:56:14 +00:00
jhb
883b187193 Actually commit the code for kern_sched_get_rr_interval(). 2005-03-31 22:54:48 +00:00
peter
7f95039daf Since the question keeps coming up, explain why the -mno-sse etc switches
are there and that it does not have an effect on user applications.
2005-03-31 22:53:58 +00:00
jhb
09a74d3fc6 Implement kern_adjtime(), kern_readv(), kern_sched_rr_get_interval(),
kern_settimeofday(), and kern_writev() to allow for further stackgap
reduction in the compat ABIs.
2005-03-31 22:51:18 +00:00
jhb
8f93d74b91 Bring back the WITNESS_WARN() check to _STOPEVENT() as all the callers have
been fixed for quite a while now.
2005-03-31 22:50:14 +00:00
jhb
af75aae305 - Denote a few places where kobj class references are manipulated without
holding the appropriate lock.
- Add a comment explaining why we bump a driver's kobj class reference
  when loading a module.
2005-03-31 22:49:31 +00:00
jhb
7ec7d92eb1 Drop a bogus mp_fixme(). Adding a lock would do nothing to reduce userland
races regarding changing of jail-related sysctls.
2005-03-31 22:47:57 +00:00
jhb
8688ac5c0e - Fix some sign extension problems with implicit 32 to 64 bit conversions.
- Fix the mmap2() wrapper to not truncate high addresses.

Submitted by:	Christian Zander
2005-03-31 22:47:18 +00:00
sam
e3ecca1f78 plug resource leak
Submitted by:	mdodd
Noticed by:	Coverity Prevent analysis tool
2005-03-31 21:58:53 +00:00
sam
a618e011cd fix potential null ptr deref
Noticed by:	Coverity Prevent analysis tool
2005-03-31 21:55:09 +00:00
sam
2ddffc18b3 avoid null ptr deref
Noticed by:	Coverity Prevent analysis tool
2005-03-31 21:53:21 +00:00
sam
a66401afca avoid use after free
Submitted by:	gibbs
Reviewed by:	mdodd
Approved by:	Coverity Prevent analysis tool
2005-03-31 21:43:19 +00:00
sam
3980911ee4 avoid use after free
Submitted by:	gibbs
Reviewed by:	mdodd
Noticed by:	Coverity Prevent analysis tool
2005-03-31 21:42:49 +00:00
wpaul
dcd6a980fe Apparently I'm cursed. ndis_findwrap() should be searching ndis_functbl,
not ntoskrnl_functbl.
2005-03-31 21:20:19 +00:00
obrien
3ec4d182bf MFR5: rev 1.421.2.6: Enable support for 32-bit Linux binaries by default.
There are too many questions in freebsd-amd64@ about how to enable Linux
support that it seems a required piece of functionality.  Thus we should
just have it on by default.
2005-03-31 20:55:10 +00:00
brueffer
0af2e3cada Autogenerate device listings for arcmsr(4). 2005-03-31 20:52:27 +00:00
jhb
821608f7a6 Don't recursively panic when we call mi_switch() in a critical section,
even though calling mi_switch() after a panic is likely a bug anyway as
the recursive panic only serves to make things worse.
2005-03-31 20:36:44 +00:00
brueffer
4e01fb410f - new sentence, new line
- small language fix
2005-03-31 20:35:05 +00:00
scottl
3c6e880692 Glue the arcmsr driver into the tree. 2005-03-31 20:21:43 +00:00
scottl
0e8ba2effd Add a manual page for the arcmsr driver. 2005-03-31 19:44:15 +00:00
njl
f2e085ac95 Always free the returned env pointer even it doesn't indicate we're in
verbose mode.

Found by:	Coverity Prevent (via sam)
2005-03-31 19:07:26 +00:00
njl
682c3fae28 Add a check for cpufreq_unregister() being called with no cpufreq device
active.  Note that the logic indicates this should not be possible so
generate a warning if this ever happens.

Found by:	Coverity Prevent (via sam)
2005-03-31 18:56:54 +00:00
njl
a2bc1d6bba Additions to .PATH are cumulative so referencing $.PATH is not helpful.
Informed by:	ru
2005-03-31 18:51:06 +00:00
scottl
f39cafe0b9 Add the Areca SATA RAID driver (arcmsr). This supports the ARC-11xx and 12xx
series of controllers.  Areca provides a CLI and HTTP management tool for
FreeBSD/i386 and FreeBSD/amd64 on their website.  Many thanks to Areca for
their support of FreeBSD.  Thanks also to Mike Tansca and Sentex Communications
for donating hardware.

Obtained from: Erich Chen <erich at areca com tw>
2005-03-31 18:19:55 +00:00
scottl
a56524058e If resource allocation fails, we could wind up freeing the cdev without it
being allocated.  Add a simple check for this.

Submitted by: yongari
2005-03-31 17:16:40 +00:00
sam
79b6c66f56 reclaim mbufs in failure cases
Submitted by:	Tai-hwa Liang
2005-03-31 16:39:18 +00:00
wpaul
a90c5b901a Fix an amd64 issue I overlooked. When setting up a callout to
ndis_timercall() in NdisMInitializeTimer(), we can't use the raw
function pointer. This is because ntoskrnl_run_dpc() expects to
invoke a function with Microsoft calling conventions. On i386,
this works because ndis_timercall() is declared with the __stdcall
attribute, but this is a no-op on amd64. To do it correctly, we
have to generate a wrapper for ndis_timercall() and us the wrapper
instead of of the raw function pointer.

Fix this by adding ndis_timercall() to the funcptr table in subr_ndis.c,
and create ndis_findwrap() to extract the wrapped function from the
table in NdisMInitializeTimer() instead of just passing ndis_timercall()
to KeInitializeDpc() directly.
2005-03-31 16:38:48 +00:00
jhb
1453df7a99 - Move the doc project docs over to disc2 to free up some room for future
bloat on disc1.
- Output a message letting the user know that we are generating MD5 sums
  during the long pause after the last mkisofs invocation in the iso.1
  target.

MFC after:	3 days
2005-03-31 16:19:26 +00:00
bmah
f0b17a28ff Rewrite SA-05:01.telnet entry based on nectar's original commit
message, which is more accurate and less clunky than my version.
2005-03-31 16:02:12 +00:00
bmah
87b2fc409b New release notes: SA-05:01.telnet (+MFC), restore(8) can once again
read FreeBSD 1 dump tapes.

MFCs noted:  Configuration file reader fixes.

One more grammar change:  xargs(1) -I.
2005-03-31 15:54:33 +00:00
sos
64c093b18e Change the ata_* methods to use a channel device instead of a
controller device. This helps when there is no controller parent
to a channel (PPC port).
2005-03-31 15:05:40 +00:00
kensmith
9037f35a02 Remove the print/acroread package due to licensing concerns.
Requested by:	trevor (acroread maintainer)
Seconded by:	Mark Linimon, Joerg Wunsch
MFC after:	1 day
2005-03-31 13:52:12 +00:00
phk
15bd415478 Explicitly hold a reference to the cdev we have just cloned. This
closes the race where the cdev was reclaimed before it ever made it
back to devfs lookup.
2005-03-31 12:19:44 +00:00
harti
7f77c83326 Document the new -A flag for ignoring archive errors. 2005-03-31 11:40:53 +00:00
harti
7eaac50b97 Almost complete rewrite of the archive code (except for the Makefile parsing
part). Archive handling was broken at least since the move from BSD ar/ranlib
to GNU binutils because of the different archive format. This rewrite fixes
this by making make to carry around the defines for all formats (it supports)
so it can support all of them independent of the actually used one. The
supported formats are: traditional BSD (this seems to come from V7 at least,
short names only and __.SYMDEF), BSD4.4 (long names with #1/ and __.SYMDEF)
and SysV (extra name table and //). The only format not supported are broken
traditional archives where the member names are truncated to 15 characters.

Errors in the archive are not ignored anymore, but cause make to stop with
an error message. The command line option -A causes these errors to become
non-fatal. This is almost compatible with previous usage except for the
error message printed in any case.

Use a type-safe intrusive list for the archive cache.

Reviewed by:	Max Okumoto <okumoto@ucsd.edu> (without new error handling)
2005-03-31 11:35:56 +00:00
harti
96d088cb0f Move the MAX macro to a util.h so it becomes usable in other modules.
Suggested by:	Max Okumoto <okumoto@ucsd.edu>
2005-03-31 11:12:45 +00:00
phk
2b1a091d30 cdev (still) needs per instance uid/gid/mode
Add unlocked version of dev_ref()

Clean up various stuff in sys/conf.h
2005-03-31 10:29:57 +00:00
phk
be4c4a8288 Rename dev_ref() to dev_refl() 2005-03-31 06:51:54 +00:00
sos
2a911e58f6 Correct the PCI ID for the SiS 965, and add support for the SATA part
that was left our by accident.

Prodded by:	Patrik Backlund
2005-03-31 06:25:14 +00:00
hrs
1c45b999f5 MFC: re(4) ALTQ support and replace of some RFC derived manual pages. 2005-03-31 06:24:50 +00:00
njl
3b51f4d4c3 Remove check of numpst to allow more K8 variants to attach. The other
checks, including cpuid_is_k7(), will catch CPUs that really don't support
this method.

Submitted by:	Bruno Ducrot
Tested by:	Jari Kirma (kirma cs.hut.fi)
2005-03-31 06:11:04 +00:00
njl
2a6d7c4435 Add note about Powernow
Submitted by:	Bruno Ducrot
2005-03-31 06:05:16 +00:00
njl
16f3bd7e00 Add note about powerd(8)
Submitted by:	netchild
2005-03-31 06:02:44 +00:00
jeff
682d9e8fcd - Fix botched LK_NOWAIT removal. I mistakenly thought this compiled as
part of GENERIC.
2005-03-31 05:58:14 +00:00